www.webdeveloper.com
Results 1 to 4 of 4

Thread: SiteCatalyst Javascript Metrics question

Hybrid View

  1. #1
    Join Date
    Jan 2014
    Posts
    2

    SiteCatalyst Javascript Metrics question

    Have a script up that reloads/refreshes the page, however, it doesn't count the instance when we view the metrics and would like to know why. The following code below is whats being used. Am I missing something or adding something that shouldn't be there?

    <script language="JavaScript">

    s.pageName="Page Name"
    s.server="Server Name"
    s.channel="Channel"
    s.prop38="3rd Party";
    s.eVar21="3rd Party";
    s.hier1="Page 1 Page"
    s.hier2="1 Page"
    s.hier4="1 Page"
    s.eVar20="Name";
    /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
    var s_code=s.t();if(s_code)document.write(s_code)
    -->
    </script>
    <script language="JavaScript"><!--
    if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'!-'+'-')
    //--></script><!--/DO NOT REMOVE/-->
    <!-- End SiteCatalyst code version: H.1. -->

  2. #2
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,648
    what is t() in var s_code=s.t();?
    xxx: Guess Buddhist riddle: "What is the sound of one hand clapping?"
    yyy: facepalm

  3. #3
    Join Date
    Jan 2014
    Posts
    2
    Quote Originally Posted by Padonak View Post
    what is t() in var s_code=s.t();?
    The track method (s.t) is for tracking full "page views". This method affects the "pages" report and increments "page views" for many reports.

    The track link method (s.tl) is for tracking intra page actions, such as clicks on links, buttons or other actions that are not full page loads. This method does not increment the page views metric and will not record items to the "pages" report.

  4. #4
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,648
    in the code you provided this method is never defined and the s object also..
    xxx: Guess Buddhist riddle: "What is the sound of one hand clapping?"
    yyy: facepalm

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles