![Eichhorn148](https://vmapp.org/images/player/000default.jpg)
: Self-referrals on cross-domain analytics I have a hotel site which links out to Synxis for our booking engine and then once the booking is complete, passes the user back to our hotel domain
I have a hotel site which links out to Synxis for our booking engine and then once the booking is complete, passes the user back to our hotel domain to continue browsing. I have got ecommerce data reporting correctly and have followed the instructions on the Analytics dev site to implement cross domain tracking. For some reason, I am still getting my primary domain showing as our primary referrer.
The code on each site is:
<script>
(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', '{google-analytics-code}', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['synxis.com'], false, true);
ga('send', 'pageview');
</script>
Obviously in the code on Synxis I have the autolinker set to the hotel domain.
In analytics, I have set the referrer exclusion list to include hotel.com and synxis.com. From the docs I gather this should cover the actual subdomains the users visit (i.e. hotel.com and gc.synxis.com).
For some reason, when I debug the analytics, it looks like when I leave the primary domain, my hotel site is listed as the referrer (when I go back from Synxis to the hotel the referrer field does not show in the console). It seems to be decorating the links as it should and there is no missing analytics code on any pages (the CMS ensures this). Our domain is http and the Synxis portal is https (not sure if this makes a difference).
Any ideas?
More posts by @Eichhorn148
1 Comments
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.