|Configuring sub-domain tracking reports||enigny||2/19/11 5:38 PM|
Hi All: I've read a number of posts, but I'm still not sure how many filters I need to properly track a subdomain.
I have my main profile that has no filters. I'm using the async code with "_setDomainName" = ".mydomain.com".
so, lets say I want a new report just for "blog.mydomain.com"
1) I create a new profile using the existing account.
2) I call the profile "blog" and set the website URL to "http://blog.mydomain.com"
3) In that profile, I set up a custom advanced filter:
Filter name: blog filter
Filter type: Custom
Field A -> Extract A Hostname (.*)Field B -> Extract B Request URI (.*)
Output To -> Constuctor Request URI /$A1$B1
4) In that profile I set up a second custom filter:
Filter Field: Hostname
Case Sensitive: no
Is that correct? Does the order of the filters matter in this case?
|Re: Configuring sub-domain tracking reports||Benjamin L.||2/20/11 1:38 AM|
Yes your setup seems correct and I didn't have any problem for the moment with filters order.
|Re: Configuring sub-domain tracking reports||enigny||2/20/11 7:23 AM|
Thanks for the confirmation!
|Re: Configuring sub-domain tracking reports||Bronwyn V||2/20/11 6:59 PM|
If you have subdomain tracking setup via the analytics code an you only want to track the blog traffic. you only need to do the following
3) Action: Include
The following is for a different purpose -
The following goes onto a duplicate profile of the main reporting profile:
1) Create a new profile using the existing account.
2) Call the profile "ALL" and set the website URL to "http://mydomain.com"
3) In that profile, set up a custom advanced filter:
Filter name: ALL filter
Linked article and vid explains what the different profile and filters are for
|Re: Configuring sub-domain tracking reports||le.gentleman||3/13/11 11:52 AM|
I am confused now. I do have setup GA for my website and everything is tracked correctly. Now, I added the subdomain forum.something.com (which is the only subdomain I have right now)
1) I click "+ Add new profile" and choose "Add a Profile for an existing domain"
2) Under Select domain, I can only choose. http://something.com
3)Profile Name: Forum
4)Time zone country or territory: United States
5) Time zone: GMT -5:00
6) I click continue
Then I choose:
Filter name: Forum
Filter type: Custom
Filter Field Hostname
Filter Pattern forum\.something\.com
What is the advantage of the advanced filter option compared to this?
|Re: Configuring sub-domain tracking reports||Bronwyn V||3/13/11 2:10 PM|
The advanced filter doesnt just track the subdomain traffic.. it pulls all the traffic from the domain and subdomain(s) into a single reporting profile and appends the hostname (domain name) to the request url, so that you are able to tell visits apart on the domain and subdomains..
for example.. a lot of ppl with a domain and subdomain... will have domain.com/index.html and subdomain.domain.com/index.html and so on with various pages on the various domains with the same request uri
where the above filter isnt used.. all visits to a page called index.html will be attributed to just index.html... there is no way to see what domain the particular index.html is in relation to
|Re: Configuring sub-domain tracking reports||le.gentleman||3/13/11 7:22 PM|
I understand, thanks. I did exactly as you said and created an ALL profile as well as an ALL Filter.