AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2.4K members online now
2.4K 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

Cross Domain Tracking - outdated documentation?

Follower ✭ ✭ ☆
# 1
Follower ✭ ✭ ☆

Howdy,

 

Background

Trying to setup cross-domain tracking for a new sub domain we will have. 

 

It seems to be working...yet we haven't done Step 2. or 3. listed in this support doc from Google - https://support.google.com/analytics/answer/1034342

 

I haven't found any other articles online telling you to do those steps. We've done the same as outlined here http://www.lunametrics.com/blog/2016/08/11/subdomain-tracking-google-analytics/

 

Simply using the same tracking ID code snippet, and adding the sub domain to the Referral Exclusion List. 

 

Question:

Am I missing something here??  Will something not work if we don't do those steps? e.g. User tracking (vs. session)  Is that support doc outdated? 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Sam G
April 2017

Re: Cross Domain Tracking - outdated documentation?

Participant ✭ ✭ ✭
# 2
Participant ✭ ✭ ✭

Hi Sam,

 

You don't need to implement cross-domain tracking in order track users across subdomains.

If you'd like to track users across subdomains the only thing you should make sure is that you've set cookieDomain: auto and you're using exactly the same UA code on both subdomains.

If you're using Google Analytics code on your website, cookieDomain will be set 'auto' by default. If you're running GTM on your site, you'll need to make changes in your tags:

Screen Shot 2016-11-27 at 05.52.51.png


Make sure you've added your domain to the referral exclusion list as well (no need to add a subdomain, it will be included automatically).

Hope this helps.

Cheers,

Taavi

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Sam G
April 2017

Re: Cross Domain Tracking - outdated documentation?

Participant ✭ ✭ ✭
# 2
Participant ✭ ✭ ✭

Hi Sam,

 

You don't need to implement cross-domain tracking in order track users across subdomains.

If you'd like to track users across subdomains the only thing you should make sure is that you've set cookieDomain: auto and you're using exactly the same UA code on both subdomains.

If you're using Google Analytics code on your website, cookieDomain will be set 'auto' by default. If you're running GTM on your site, you'll need to make changes in your tags:

Screen Shot 2016-11-27 at 05.52.51.png


Make sure you've added your domain to the referral exclusion list as well (no need to add a subdomain, it will be included automatically).

Hope this helps.

Cheers,

Taavi