Analytics
5.8K members online now
5.8K 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 not working on sessions

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi to everyone,
i'm new here. I've only one question:
I've followed the official analytics guide to implement multidomain tracking.
FIlters, referral, everything seems to work fine but if i go on analytics to see datas, sessions are still separated when i go from domainA.it to domainA.co.uk, to domainA.fr, etc...)

Is that normal, i think not!
That is my snippet code:
;(window.gaDevIds=window.gaDevIds||[]).push('d6YPbH');(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create','UA-XXXXXXXX-2','auto',{'allowLinker':true});

ga('require','linker');ga('linker:autoLink',['domainA.it','domainA.co.uk','domainA.de','domainA.es','domainA.pt']);

ga('require','ec');;

ga('send','pageview');

Thanks to everyone who will help! :-D

1 Expert replyverified_user

Re: Cross domain tracking not working on sessions

Rising Star
# 2
Rising Star
Hi Racing Box,

Have you configured the property settings to add the ignored referral?

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

Best,

Theo Bennett
Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn

Re: Cross domain tracking not working on sessions

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi Theo,
thanks for reply. Yes, now everything is working fine.
My only doubt is about the _ga get variable for SEO. I've configured
properly the canonical tag but i don't know if google view badly the url
with the parameter.
I've seen that on the page the parameters is added only onclick event
asynchronously, what do you think about?

Re: Cross domain tracking not working on sessions

Rising Star
# 4
Rising Star
Hi Racing Box C,

Good, glad it's working. I've never had any SEO issues from cross domain. I would not worry about it at all.

You should be all set. Smiley Happy

Best,

Theo Bennett
Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn