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
-
GA Landing Page Inaccuracies
I had seen a thread on this a while back but no solution posted. There was a link posted to someone else explaining the issue but I got a 404 when clicking. Have a client that does mostly PPC and they are getting their conversion page showing up as landing page from paid many times. This is definitely not a sitelink, etc. The only way you get to this page is if you filled out the form. There are a few other pages showing up as landing pages that don't make sense too. Can this be attributed to someone being "inactive" for 30 minutes and then coming back and performing an action on this page (leaving)? If so, does this double count the conversion if a page visit here is a conversion? Just trying to make sense of the landing page report showing so many instances of our conversion page. Thanks in advance!
Reporting & Analytics | | jeremyskillings0 -
How do I find links on my site
I'm looking to find a certain type of link on my site. A link that we're directing out of the site. We have a lot of subdomains though and I was wondering if there was a way to find all the links on each subdomain without screaming frog them all?
Reporting & Analytics | | mattdinbrooklyn0 -
Difference between External Followed Links and Total External Links?
Hello, could someone please elaborate on what is meant by "External Followed Links" vs. "Total External Links"? Does "External Followed Links" mean the number of links that are generating traffic to the site? Or is there some other way to conceptualize it? Any help would be appreciated! Thank you in advance.
Reporting & Analytics | | lincolndigitalgroup1 -
GA mediums
I know this may be an easy question, but I keep seeing mediums titled SEM and (not set) in my GA. I can't seem to find the Google definition. Does anyone know what this means?
Reporting & Analytics | | KJ-Rodgers0 -
Keyword tracking using Advanced Segment
I would like to see visits for only and only the following 2 keywords using advanced segment in GA. logo design india and logodesign Here's how i set up the Advancned Segment - Keyword > Matches Regular Expression > logo design india|logodesign The problem is that advanced segment report is also displaying visits for keyword thelogodesigns. Have i set it up correctly ?
Reporting & Analytics | | seoug_20050 -
How to track clicks and "impressions" on a certain botton on my website.
I would like to track the amount of impressions on all pages in a "sub category" doman.com/subcategory/all-impressions-to-these-pages and clicks to a certain button for a contact form. I know that I can add snipets to my analytics code but I'm not sure how to and witch snipet to include. Is it possible?
Reporting & Analytics | | SuperlativB0 -
Tracking 301'd Domains
'ello SEOMozers 🙂 I've been implementing some awesomely search engine friendly 301'd domains for clients and they work great but I seem to have missed the point where I track said domains in some fashion and come here to ask the question --> how are you all tracking refers from 301'd domains that are pointed to your main hubs? Currently our practice in-house is to alias them in our servers then use .htaccess rules to 301 them to the 1 domain to-rule-them-all but Google Analytics doesn't recognize them as different domains with that plan of action and there goes my refer tracking. Is there a super-star way to use the Google URL Builder and combine that with the above plan of action or a better plan? Has anyone else implemented something else more awesome-er that could help a girl out? Much thanks and Happy Thursday!
Reporting & Analytics | | treefrogseo0 -
Google analytics tracking
Is their a built-in or easy way to track the amount of times an exit link is clicked on a page and show that with other links of the page. For instance: I had a page with several external ad links on it and I want to track how many each got and rank them in google analytics
Reporting & Analytics | | insitegoogle0