How to track domain along with number of sub domain ?

Discussion in 'Google Analytics' started by Balaji Naidu, Dec 28, 2010.

  1. #1
    I have one unique domain with 32 sub domain. Here I want to create one master profile in which I can track the user activity within entire website and create one sub profile for each individual sub domain where I can track user activity on that particular sub domain. Up to this step it is very much clear but I was confused whether I have to create a different profile for each sub domain i.e. the analytics might get varied in case of different profile or I have to add the sub domain to main profile by creating duplicate profile to the same i.e. In this case the analytics may be the same for all.
     
    Balaji Naidu, Dec 28, 2010 IP
  2. wanyu5206

    wanyu5206 Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    track domain along with number of sub domain ?It still needs time
     
    wanyu5206, Jan 4, 2011 IP
  3. brijeshtiwari1984

    brijeshtiwari1984 Member

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    Looking for same..
     
    brijeshtiwari1984, Jan 19, 2011 IP
  4. calvin4u

    calvin4u Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Try this code:

    var siteTracker = _gat._getTracker("UA-xxxxxxx-1");
    siteTracker._setDomainName(".site.com");
    siteTracker._trackPageview();

    Then setup multiple profiles of the same UA-number
    1. will have no filters (aggregated profile - all visits)
    others will have an Include filter one profile for each subdomain

    Custom filter > Include > Filter Field: Hostname > Filter Pattern: your subdomain like this "^subdomain1\.site\.com$"

    Then you will have the needed settings.

    About the sum of visits - maybe there is a certain amount of people visiting more subdomains during one visit.
     
    calvin4u, Jan 21, 2011 IP