Cross Domain Tracking in GA (without cross domain links)
-
Hi everyone,
Been doing some research about cross-domain tracking in Google Analytics (preferably Universal Analytics where documentation is a bit spare). All of the tutorials focus on the auto-linking and ensuring links to the other site are taken care of.
I'm considering a site that may not cross-link like that at all (or it may, but won't be the main avenue). A good example is:
www.gap.com
www.bananarepublic.com
www.oldnavy.comNow, they do link to the other brands in their navigation but let's pretend that they don't necessarily do that. Gap Corporate may want to roll up all these domains into a single reporting profile because customers can clearly visit any of those sites on their own and buy. It would be nice to know that Visitor X bought 2 items from gap.com and 3 from oldnavy.com... and of course, here were their campaigns, etc. From what I am reading, I am not sure this is really possible. It seems that the cross-domain code is really only best for when my main site links to another domain for checkout or something. But in my example, we are definitely not in control of that kind of behavior.
Thoughts? Perhaps I need to recommend they go with subdomains only which Universal GA seems to handle quite fine out of the box. Thank you!
-
Google Analytics uses first party cookies to track visitors which means a small text file is stored on your computer associated to the domain of your site. This files stores a unique visitor ID and for security reason is only accessible by the associated domain.
If you want to track another domain, without double counting visitors that go to both, you must use the link code you've seen in GA documentation. What the code does is copy the visitor ID from one cookie under one domain to a cookie under the linked to domain.
Sorry if that was a bit technical but the upshot is: use subdomains, live with double counting or use a web analytics tool that also uses third party cookies as well as first party, such as Webtrends.
-
Just thought I'd follow up after doing a lot more research. It's now my understanding that cross-domain GA will only work if you are moving from one domain to another via onsite links or form posts. It won't do any good if the user visits Domain 1 and Domain 2 independently (they won't look like the same visitor in this case).
If such a thing is required, it seems that sub-domain usage is the only way to account for both types of behaviors (cross domain links and random cross-domain visits).
-
Thanks John - the gap for me in the documentaion has to do with this:
It discusses traffic moving from A.com to B.com, in either direction (via links). Does this also work if there are never any links between the sites. How would the cookie pass and true up? This parent company has two business lines and wants things to role up if say the user visits Site A on his own accord and buys something. Then a few days later, goes to site B and does the same. Thanks!
-
I can't speak for Universal GA, but in standard Google Analytics you can use one tracking script across multiple domains with no problem (Google documentation on that). You can then set up a GA profiles for each of the three domains in your example, and a profile to aggregate them, so you can track how each site is doing on its own, and how all three are doing in aggregate. You can do this with both subdomains or top-level domains.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Two Tracking for Banners - Internal Promotion & Event Tracking -Any Impact on Analytic Figure or Bounce Rate?
Hi All, I have implemented Internal Promotion - https://developers.google.com/tag-manager/enhanced-ecommerce#promo-clicks for my ecommerce site on homepage banners. Along with this I did event tracking for Banner click. So any negative impact of bounce rate or other reports? Thanks
Reporting & Analytics | | Arnold30 -
When migrating to https should you unlink the verified http version from my GA account?
Hi We had a new site design at the end of April and at the same time changed to https. Over the last 6 months, according to our analytics account the traffic has dramatically dropped especially from mobile. We were at 3607 new visitors from mobile in April and now 32! in September. Technically (other than page speed and some meta issues that I'm aware of) there doesn't initially appear to be anything wrong. I have just been into search console and notice that the old http site still has the GA code on it, could it be that this is why the data is showing such a massive drop? Should we have taken that off when we migrated the site? The same analytics account is also on the new site. Thanks in advance Janine
Reporting & Analytics | | Janine10 -
How long before links are found in analytics?
I'm new to website building and have recently set up some links by submitting my website in directories and have also got some people in the same industry to link to my website. But they aren't being found in moz analytics. Does it take time or should they be getting found?
Reporting & Analytics | | PaddyCoop0 -
Suspect Links from Yeusaigon.net Causing Server Errors
Good morning, Webmaster Tools is reporting an increase in server errors on our site due to some very suspect links from Yeusaigon.net. After taking a quick look, it appears they are some form of search engine attempting to link to our images by using incomplete URLs. For example: http://yeusaigon.net/search/images.php?q=htc%20one%20max%20phone%20cases&page=1044 Is linking to: http://www.mobilemadhouse.co.uk/caseflex-htc-one-max-real-leather-flip... As this URL is incomplete, it's throwing up a server error. There are currently 139 instances of there errors from the same domain, and is increasing by around 5-10 per day. The domain, however, is linking to some of our pages/images correctly, but I fear Google may look at these as spammy links - they certainly look that way! So, what can we do? I can't find any contact details on Yeusaigon website so I have disavowed the entire domain. Is this the right thing to do? How do I stop the ever-increasing number of sever errors due to incorrect URLs? Cheers, Lewis
Reporting & Analytics | | PeaSoupDigital0 -
Link Research Tools
Is anyone else here a user of Link Research Tools? I recently completed a Link Detox for my sites. However, it is saying that links from high quality press release sites are deadly and should be removed. They are also saying the same about the links from the Yellow Pages. Obviously I know these tools are automated, but does anyone know why they are showing these links as 'deadly' and should be removed? I have tried contacting LRT about this issue but am yet to receive a reply.
Reporting & Analytics | | AAttias0 -
My Domain Authority Dropped Dramatically..Can Someone Tell Me Why??
Over the last month or so my Domain Authority, my MozRank and MozTrust have all dropped off considerably. I haven't been doing anything different. So I don't know where to turn or what to do to get it back to where it was. The effects are horrible on my SEO. Can anyone out there tell me what it is I can do to why they dropped? Or more importantly, how can I improve it?
Reporting & Analytics | | Caseman0 -
How to track what people type on my text boxes on Google Analytics?
Hi there! In our website, we have a few text boxes that users need to use to complete the goal. The boxes aren't search boxes, but it's still important to us to track what people type on it. I'm looking for a way to track the data through the "event" feature in Google Analytics, but it seems that this tracker can only calculate clicks, or video views etc. Does anyone knows how to track do it?
Reporting & Analytics | | ivan.precisodisso0 -
Problem when searching for "link:www.mysite.com" vs "link: www.mysite.com"
Why does a search for "link:www.mysite.com" show no results, but when there is a space before www.mysite.com it shows results? The same happens for "link:www.mysite.com" (nothing shows up), but when I search for "link:www.mysite.com/index.php" it returns results. Is there a problem I am missing? Thanks so much!
Reporting & Analytics | | EmilyP0