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

Infinite sub domain tracking issue

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I wonder if you can help. I'm helping a company that sells a SaaS product to clients. When a client signs up they are given a unique sub domain under the companies main domain. I've looked at their analytics and they seem to get this message allot

 

The default URL https://website.com, for property UA-XXXXXXXX-3 has no tracking code for this property, although it does have tracking codes for other properties:

    UA-XXXXXXXX-1

If your Tracking ID and your Default URL setting are out of sync, you don't get valid data in your Analytics account for the Default URL.

Either update the tracking code to use the Tracking ID for property App - Production, or open the Property Settings to update the Default URL for property App - Production to be https://website.com.

Google Tag Assistant Recordings can help you ensure that your default URL is tagged for the correct properties.

 

Looking at their analytics setup the following structure/profiles are in place:

 

UA-XXXXXXXX-1 - Marketing - https://www.website.com

UA-XXXXXXXX-3 - App - https://website.com   (eg: companyA.website.com, companyZ.website.com etc)

UA-XXXXXXXX-4 - Blog - https://blog.website.com

I saw this article on cross domain tracking but I'm not sure it applies to this situation. It also would be impossible to manage as the sub domain list grows all the time. 

 

Is the solution to merge the marketing and app profiles and then filter them accordingly? I would really like your help.

 

Cheers

 

Mark

 

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Mark D
February 2016

Re: Infinite sub domain tracking issue

Top Contributor
# 2
Top Contributor
Hi Mark,

Yes, I'd merge all accesses of all domains into one Analytics (web) property with cross-domain tracking (easiest with Google Tag Manager [1]) and set up separate views if requested.

Christoph

[1] https://support.google.com/tagmanager/answer/6106951?hl=en

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Mark D
February 2016

Re: Infinite sub domain tracking issue

Top Contributor
# 2
Top Contributor
Hi Mark,

Yes, I'd merge all accesses of all domains into one Analytics (web) property with cross-domain tracking (easiest with Google Tag Manager [1]) and set up separate views if requested.

Christoph

[1] https://support.google.com/tagmanager/answer/6106951?hl=en

Re: Infinite sub domain tracking issue

Participant ✭ ✭ ☆
# 3
Participant ✭ ✭ ☆
If you are using Universal Analytics syntax there is no need to implement cross-domain tracking with subdomains, because cookie can be easily shared between them.
The only thing you have to care about is to set cookie domain to auto.
ga('create', 'UA-XXXXXXX-Y', 'auto');

Re: Infinite sub domain tracking issue

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
Hi Tomasz_C,

With your solution would the issue remain? UA-XXXXXXXX-1 and UA-XXXXXXXX-3 have default URL's that are essentially looking at the same URL

Re: Infinite sub domain tracking issue

Participant ✭ ✭ ☆
# 5
Participant ✭ ✭ ☆
I think you can safely ignore this message in you situation.
Or, if you want, you can use just one property on all websites, and create a view filter to separate them.

Re: Infinite sub domain tracking issue

Top Contributor
# 6
Top Contributor
Yes, Thomasz is right - for your setup with subdomains only you don't need cross-domain tracking. Would recommend one property and GTM nevertheless.

Re: Infinite sub domain tracking issue

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭
I agree, both answers are correct. I just have to find a way of getting them to integrate GTM into their code now