Results 1 to 5 of 5

Two Analytics code entries in my view source?

This is a discussion on Two Analytics code entries in my view source? within the Analysis: Traffic & SERPS forums, part of the vBulletin SEO Discussion category; hey, when I view source, I see my analytics code entered twice. Which one is vbseos and or which one ...

  1. #1
    Member
    Real Name
    Richie
    Join Date
    Jan 2009
    Posts
    67
    Liked
    0 times

    Two Analytics code entries in my view source?

    hey, when I view source, I see my analytics code entered twice. Which one is vbseos and or which one should I keep?

    Code:
    <script type="text/javascript"><!--
    window.google_analytics_uacct = "???????";
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    //-->
    </script>
    <script type="text/javascript"><!--
    try {
    var pageTracker = _gat._getTracker("???????");
    pageTracker._trackPageview();
    } catch(err) {}
    //-->
    </script>

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    that is only 1 entry.

    do you have another one?

  3. #3
    Member
    Real Name
    Richie
    Join Date
    Jan 2009
    Posts
    67
    Liked
    0 times
    Is it? I have replaced the two places where my code was with ?????? and I thought that they are two different instances of it. Also, there are two separate scripts?

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    yes, its one instance. They use 2 scripts... one for variable set up, and one for tracking the page hits, views, etv.

  5. #5
    Member
    Real Name
    Richie
    Join Date
    Jan 2009
    Posts
    67
    Liked
    0 times
    Oh right, cheers.

    also, if you have 2 mins
    Critique: PaintBaller.ie

Similar Threads

  1. full source code after paying ?
    By Walim in forum General Discussion
    Replies: 2
    Last Post: 11-06-2005, 11:00 AM

Posting Permissions

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