Analytics
3.1K members online now
3.1K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

What are Best Practices for Reporting on Subdomains?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Good day. I'm setting up a large site, and they have two important subdomains to track: blog.site.org and campaign.site.org

 

I don't want to lose reporting on how the subdomains interact with the main domain.org, so am using one tracking code.

 

My question is how do I set up a report or view in GA that lets me look at each of the subdomains as if they were their own property?

 

Thank you.

Re: What are Best Practices for Reporting on Subdomains?

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭
Hi,

GA has a good feature for cross domain tracking.

steps: https://support.google.com/analytics/answer/1034342?hl=en

Best Regards,
GA Guru.

'Star' or 'Accept as Solution' if it helped.

Re: What are Best Practices for Reporting on Subdomains?

Follower ✭ ✭ ✭
# 3
Follower ✭ ✭ ✭

Hi Doug,

 

you have 2 choice. You can analyze your traffic in one google account, one property and one/few views OR one google account and few properties and different view for other properties. Look at this:

https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite

https://support.google.com/analytics/answer/6205202?hl=en&ref_topic=2772342

 

Take care,

Sebastian

Re: What are Best Practices for Reporting on Subdomains?

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
Thank you. The second link seems to be right, as it's for the most recent code snippet, I believe. Once I link domains, it appears all domain traffic will be counted as one. Is there a way to create different views for each property within that single account? So I can look at my Blog, my Campaign and my Domain as three different properties, but also see the overall affect to the Domain?

Re: What are Best Practices for Reporting on Subdomains?

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
By the way Sebastian, I just read in one of the pages in that thread you sent that if you're using Analytics.js you don't need to modify tracking code for subdomains (you used to have to) like my request: blog.domain.org, campaign.domain.org, etc. You DO need to modify Analytics.js if you are using a different domain in the mix: differentdomain.com.

But nowhere do I see where I can configure views for my subdomains as different properties. And nowhere do I see mentioned (though I am assuming) that I place the same code on my top-level domain as my subdomains.

Re: What are Best Practices for Reporting on Subdomains?

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
Hey there Sebastian, thanks for the useful links. I think I've been able to figure out that subdomains are already tracked with the new analytics.js, and there are code modifications I can make to it to autolink different domains. I am going to get Tag Manager and try and figure it all out.

My question now, maybe more basic, is should I just use the same UA-XXXX snippet from my old install on my new one so I keep historicals, filters and all that? I assume that will work just fine. Thanks!

Re: What are Best Practices for Reporting on Subdomains?

A T
Participant ✭ ✭ ✭
# 7
A T
Participant ✭ ✭ ✭
Hi,

Using the same GA property UA-XXXXXXX will help in keeping the old reprots intact.

Best Regards,
GA Guru.

'Star' or 'Accept as Solution' if it helped.

Re: What are Best Practices for Reporting on Subdomains?

Follower ✭ ✭ ✭
# 8
Follower ✭ ✭ ✭

Doug,

 

if you can set filters for view with different subdomains you need to reed this: https://support.google.com/analytics/answer/1034823?hl=en&ref_topic=1032939

 

Yes, use the same Tracking Code for old and new install, you could see historical data in one view. Remember about annotations and see how your traffic change after changes.

 

SH