Results 1 to 4 of 4

Something wrong with the Analytics code?

This is a discussion on Something wrong with the Analytics code? within the General Discussion forums, part of the LiveStats for Google Analytics category; I have enabled Analytics and all the extras like segmentation tracking and external links tracking, but my source looks like ...

  1. #1
    Member
    Real Name
    dingo
    Join Date
    Nov 2008
    Posts
    72
    Liked
    0 times

    Something wrong with the Analytics code?

    I have enabled Analytics and all the extras like segmentation tracking and external links tracking, but my source looks like this:

    <script type="text/javascript"><!--
    window.google_analytics_uacct = "UA-xxxxxx-2";
    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("UA-xxxxx-2");
    pageTracker._trackPageview();
    } catch(err) {}
    //-->
    </script>

    This looks like the normal Analytics code. Istent there missing something like telleing Analytics to track usergroup?
    Last edited by dingo; 08-18-2009 at 07:46 PM.

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    The usergroup segmentation occurs ONCE persession, when you're not cookied.

    Lgout, clear cookies, and then hit your site and view source and you should see "Guest" added in a __set_var(). Then, login, and view source and you should see "Member"

  3. #3
    Member
    Real Name
    dingo
    Join Date
    Nov 2008
    Posts
    72
    Liked
    0 times
    Ok, I see it.

    Is this recorded once per session, or only when the cookie expires and is reloaded.
    Last edited by dingo; 08-18-2009 at 09:55 PM.

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    GA cookies you too by domain. When you come back, if you are already tracked, it will simply continue that segment session.

Similar Threads

  1. About new Analytics code
    By bonjurkes in forum General Discussion
    Replies: 2
    Last Post: 01-23-2008, 07:00 PM
  2. Google Analytics code in the wrong position for external URLs
    By Simon Moon in forum General Discussion
    Replies: 1
    Last Post: 09-23-2007, 08:13 AM
  3. Analytics code in header necessary?
    By Chris-777 in forum General Discussion
    Replies: 2
    Last Post: 05-05-2007, 11:08 AM
  4. Analytics Code Question
    By Ic3m4n in forum General Discussion
    Replies: 2
    Last Post: 02-05-2007, 01:08 PM

Posting Permissions

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