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
-
Links not pointing to my website?
Aloha everyone! I've asked questions to the Moz community before and have always been happy to see how responsive and helpful the community is as a SEO learning new comer! Many thanks in advance for any ideas or insights to solving this problem. So here is my question, I own a wedding photography business here on Kauai and am looking to rank for a few things, Kauai wedding photographer, Kauai Wedding videographer, and Kauai family photographer. That aside I've been pouring more time into getting back links from people I've shot with here on Kauai (local business's websites etc) and have had links dropped in on their sites to, in theory, bump my rankings up from back linking my website. Here's my website http://www.balihaiphoto.com/ Here's a few sites but are not showing up as backlinks/pushing my site higher on SEO results (screen shot as well) http://www.haleleakeiki.org/ (bottom of page footer linking to BaliHaiPhoto.com) and another site here http://www.wishingwellshaveice.com/ with the same thing, footer link pointing to my website. Both sites have been indexed and the shave ice one gets a good amount of traffic, does anyone know why this isn't showing as a back link or if its passing on any link juice my way? Should I do something diffrent here? Let me know what you guys think! Aloha from Kauai, Jon Gibb qsDOM
Reporting & Analytics | | Trey30 -
Can you track two Google Analytics Accounts on one site?
If you have a site that had an old analytics account and then implemented a new one is it possible to run tracking code that records to both accounts without causing your site or data issues? We are doing this so we don't loose data at any point - ideally it wouldn't have been split between the two but making one redundant isn't an option. Ideally we would have merged the data from both accounts and had one - however the research we have done points to this not being a possibility - unless one of you guys knows different? It would be great if anyone has experience on any this.. Thanks
Reporting & Analytics | | ChrisAllbones0 -
Tracking repeat buyers Universal Analytics
Hi there, I want to track the repeat buyers on my ecommerce. In order to do that, I am going to create a custom dimension on Analytics. The custom dimension will be called "repeat_buyers" with scope user because I want to track the user over time. Is my assumption correct? How would you you set it up? When I have this dimension, I would just apply the default metric transaction on my reports. I don't have experiencie on custom dimensions so I might be totally wrong. Can you please help? Thanks and regards
Reporting & Analytics | | footd0 -
Google Analytics Goals - Different Domain
Hi, We currently need to setup a goal that involves a different domain. Any guidance would be greatly appreciated. more info: the checkout process is redirected to a secure.domain Just let me know if I can provide any additional info that may helpful.
Reporting & Analytics | | opusvo0 -
Event Tracking Not Working
Hey there. Could use some help in figuring on why the event tracking code on this site http://www.baltimoreareahondadealers.com is not working. There is code on all external domain links but none seem to be firing. Inspect all the map links to view code ie. Search New Honda Inventory What am I missing? Thanks so much. -Caryn
Reporting & Analytics | | Caryn0 -
Un-link Google Analytics
I have set the wrong account/password details for one of my campaigns. How do I 'step back' and choose the correct settings please? Thanks Ian
Reporting & Analytics | | driansmith0 -
Track image searches on google analytics
How can i track image searches on google analytics? To filter the refferers by image.google or /imgres does not work in new google analytics (and brings an impossibly small number on old GA). also, this would not cover local google image refferers, that don't come from image.google.com. anyone knows how to find image search sources? i haven't found anything helpful in google's documentation or forums. thanks!
Reporting & Analytics | | zeepartner0 -
Too Many On-Page Links
I'm getting the warning of "Too many on-page links". I have a number of affiliate marketing sites, all Wordpress, all with sidebars. In the header navigation bar is a link that offers "reviews" and links to each product/brand. This is not a drop down link but leads to a page with product links. Also, in the sidebar I have links that also lead to the products/brands. Redundant yes, but in the beginning this seemed to be a good practice in site design. It would be easy to simply remove the widget that contains the link process in the sidebar. The problem may simply be that the sidebar is the same for every page in the site(s). Is this hurting total SEO as my sites are all over 95-percent indexed. One site in particular does very well in traffic and sales so is removing these links potentially going to improve my SEO and ultimately by success? Thanks, Don
Reporting & Analytics | | JavaManOne0