20i Reseller Hosting

Analytics help please!

Discussion in 'Scripts and Coding' started by figleaf007, Feb 25, 2015.

Thread Status:
Not open for further replies.
  1. figleaf007 United Kingdom

    figleaf007 Active Member Exclusive Member

    Joined:
    Oct 2006
    Posts:
    985
    Likes Received:
    15
    Hi guys

    Wondering if anyone can spot something I can't.

    I'm doing some freelance work for an agency, and have identified an issue with one of their clients. Basically, our analytics for the site http://www.glasgow.aleacasinos.com/ contains pages from http://playboyclublondon.com/club/ ( is safe for work). It has playboyclublondon.com as a referral source, but when I go into Site Content-All Pages on the Glasgow Casino analytics, it is coming up with PlayboyLondon pages?

    The entities are related but the analytics tags on both sites are different, so I can't for the life of me workout why the Plaboy pages are appearing in the Glasgow analytics pages? If anyone has any thoughts, do let me know, it will make me a hero in this place and I'll paypal you a pint :D
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
    articles.co.uk
     
  3. Admin

    Admin Administrator Staff Member

    Joined:
    Jun 2004
    Posts:
    10,836
    Likes Received:
    314
    Try changing your GA code on the first site:

    Code:
      _gaq.push(['_setAccount', 'UA-11550127-1']);
      _gaq.push(['_trackPageview']);
      _gaq.push(['second._setAccount', 'UA-11550127-14']);
      _gaq.push(['second._trackPageview']);
    I assume the -14 is this site so make it resemble the working one below;


    Code:
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-11550127-13']);
      _gaq.push(['_setDomainName', 'playboyclublondon.com']);
      _gaq.push(['_trackPageview']);
    Hope it helps.

    Admin
     
Thread Status:
Not open for further replies.