From MozillaWiki
< IT
Jump to: navigation, search
  • add s_code.js to the document root. Typically at /js/s_code.js.
  • In <head> or the top of <body> append:
<script type="text/javascript">var s_account="PROFILENAME";</script>
<script type="text/javascript" src="/js/s_code.js"></script>
  • substitute PROFILENAME for the omniture profile name you are given. It's best to put this in a config file and dynamically fill it.
  • Right before </body> add:
	<script type="text/javascript">// <![CDATA[
		var s_code=s.t();if(s_code)document.write(s_code);
	// ]]></script>
	<!-- end SiteCatalyst code version: H.14 -->