This can be a tough question. At least It has been for me before doing some research and testing several things.
In our agency we are used to work with international sites dealing with more than one domain. In some cases, we want to keep the data of 2 or more domains in one single report, cross tracking sites.
So to explain how to do it, I will assume that you want to cross-domain and subdomain track (e.g. have a visitor appear as a single visit and share cookie information across all sites.
Before you implement cross domain tracking, you should configure your Google Analytics property to ignore the destination domains as self-referrals through the admin section of the web interface.
Google Analytics recognises the URL you use to set up a new property in your account and automatically excludes this domain from your referral traffic, so you won’t see self-referrals in your Analytics reports.
However, you need to add the cross tracked domain to the exclusion list.
Here is how to do it:
Lets assume the web property is initially created for domain.com. You need to cross track to domain.it.
Follow these steps:
1. Navigate to a property. If you’re not in the settings screen, click Admin.
2. Click Tracking Info then Referral Exclusion List.
3. Enter domain.com and domain.it.
4. Click Apply to save.
Once you have this, you will need to work on your tracking code.
For your tracking code, do the following, using the cross domain auto link method:
If you need to subdomain and cross-domain track between all domains/subdomains on domain.com & sub.domain.com place the following tracking code before the closing tag
swapping out the UA# with your own from your account:
On domain.it (the other domain):
Place the following tracking code before the closing tag swapping out the UA# with your own from your account:
The next step is to work on our filter settings in Google Analytics. Continue reading “How to track multiple domains with Google Universal Analytics?” »