Analytics
1.7K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

Blog and Website under the same domain. How to track referrals?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi, 

 

our UK website uses the domain www.domain.co.uk . There's another website under the domain www.domain.de and there's also the Blog which is blog.domain.co.uk. So these are 3 different properties with different tracking codes 

 

My problem is that atm I can see traffic from the www.domain.de website under the referrals report but I can't see any traffic from the blog. 

I've noticed that the domain www.domain.co.uk is in the referral exclusion list. Do you think that this is causing all this? 

 

Thanks, 

1 Expert replyverified_user

Re: Blog and Website under the same domain. How to track referrals?

Top Contributor
# 2
Top Contributor
Hi Evi,

if there is domain.co.uk in referral exclusion list then all that traffic is effectively reported as direct traffic. So yes that may very well be the reason you do not see the referral.

Kind regards,
Zorin
Web analyst @ escapestudio.net

Re: Blog and Website under the same domain. How to track referrals?

[ Edited ]
Participant ✭ ✭ ✭
# 3
Participant ✭ ✭ ✭

Hi Evi,

 

You should not add your blog domain (domain.co.uk) to your referral exclusion list if you would like to see it as a referral.

 

Extra tip:


If you would like to track users across domains, you should set up cross-domain tracking.
It's a pretty advanced feature in Google Analytics but it's very useful because you don't lose the valuable campaign information if you use it.

Here you can find the step-by-step instructions how to set this up: https://support.google.com/analytics/answer/1034342?hl=en

If you're using GTM, you can find the instructions here: https://support.google.com/tagmanager/answer/6106951

If you're not a technical person, you should send the instructions to your developers. I am sure, they can help you out. Smiley Happy

Hope this helps.
Taavi

Re: Blog and Website under the same domain. How to track referrals?

Top Contributor
# 4
Top Contributor
Hi Taavi and Evi - please note that x domain tracking will only have any effect if all the sites are tracked inside one single Google Analytics property.

Kind regards,
Zorin
Web analyst @ escapestudio.net

Re: Blog and Website under the same domain. How to track referrals?

Participant ✭ ✭ ✭
# 5
Participant ✭ ✭ ✭
Great advice Zorin. It's always worth mentioning. Smiley Happy

Taavi

Re: Blog and Website under the same domain. How to track referrals?

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
Hi zorin,

thanks for you help. I have one more question, if I remove the domain.co.uk from the exclusion list then will this affect any other traffic data?

Re: Blog and Website under the same domain. How to track referrals?

Top Contributor
# 7
Top Contributor
Hi,

You should not remove it as it may cause issues with self referrals.

Kind regards,
Zorin
Web analyst @ escapestudio.net

Re: Blog and Website under the same domain. How to track referrals?

Visitor ✭ ✭ ✭
# 8
Visitor ✭ ✭ ✭
So how im i supposed to track blog traffic?

Re: Blog and Website under the same domain. How to track referrals?

Top Contributor
# 9
Top Contributor
The easiest way in these setups would be to add UTM tracking parameters to links going from blog <> site which are on the same domain. This is not a good practice if you track all sites inside one single property but in your case it is valid so proceed with adding these to links:
links from blog to main site: http://domain.co.uk/?utm_source=blog.domain.co.uk&utm_medium=internal
links from main site to blog: http://blog.domain.co.uk/?utm_source=domain.co.uk&utm_medium=internal

You can then edict the default channel grouping in both views for both properties so you would in fact create one additional channel group which you would call Internal.

Kind regards,
Zorin
Web analyst @ escapestudio.net

Re: Blog and Website under the same domain. How to track referrals?

[ Edited ]
Participant ✭ ✭ ✭
# 10
Participant ✭ ✭ ✭

Hi Evi,

 

Zorin is right, but I would like to mention one more thing that you should consider. Smiley Happy

 

Bear in mind that if you add UTM tracking parameters to links going from blog <> site then you'll lose valuable campaign information.

 

Let me explain:

If someone comes to your blog (blog.domain.co.uk) thru Facebook and then goes to www.domain.de by clicking the link where the UTM parameters are attached to the end of a URL and then buy from you (convert), you'll not see that he/she has come from Facebook. You'll see that he/she has come from blog.domain.co.uk.

 

If this campaign information is important, you should consider implementing cross-domain tracking and use the same Google Analytics tracking code on every website and track all the visitors within one single property.

 

Here are the instructions how to set this up (you probably need to talk to your developers):

1) https://support.google.com/analytics/answer/1034342?hl=en
2) https://support.google.com/tagmanager/answer/6106951

 

Hope this helps.
Taavi