The s.t() Function - Page Tracking

The s.t() function is what compiles all the variables defined on that page into an image request and sends it to our servers.

Properties of the Function

  • Removing the s.t() call prevents any data from reaching Analytics. Multiple s.t() calls fires multiple image requests (doubling the reported traffic on your site).
  • If you wish to fire more than one image request on a single page load, using the s.tl() function is recommended.
  • Triggering this function always increases pageviewsand always include the s.pageName variable.

Implementation

Upon generating code within the code manager, you are given the following at the bottom of the page code:

var s_code=s.t();if(s_code)document.write(s_code)//--></script>
<script language="JavaScript" type="text/javascript"><!--if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')//--></script>
<noscript><img src="http://yournameserver.112.2o7.net/b/ss/yourreportsuiteid/1/H.23.6--NS/0" height="1" width="1" border="0" alt="" /></noscript>

Each line of code has a specific purpose:

var s_code=s.t();if(s_code)document.write(s_code)//-->
This line of code is what actually fires the Javascript function. The s_code variable and it's accompanying document.write method is for browsers that don't support image objects (Netscape browsers prior to version 3 and Internet Explorer prior to version 4; estimated less than .5% of all internet users).
<script language="JavaScript" type="text/javascript"><!--if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')//--></script>
<noscript><img 
src="http://yournameserver.112.2o7.net/b/ss/yourreportsuiteid/1/H.23.6--NS/0" height="1" width="1" border="0" alt="" />

For any additional questions about the s.t() function, contact your organization's Account Manager. They can arrange a meeting with an Adobe Implementation Consultant, who can provide assistance.