Cross Domain Tracking for multiple sub-domains with multi-lingual and culture versions
-
Hi,
I have a question regarding cross-domain tracking that I haven't seen answered completely elsewhere.
A client has a main domain, we'll say www.example.com and 4 or 5 sub-domains e.g. shop.example.com, support.example.com, account.example.com and service.example.com. The different sub-domains are managed by different third parties, with just www.example.com and account.example.com under our control.
To add a further dimension, these sites all have multi-lingual versions as folders and in some cases multi-cultural versions e.g. www.example.com/de/ for Germany and www.example.com/ch-de/ for German-speaking Swiss.
Not every language/culture has an equivalent site in place for each of the sub-domains e.g. the UK support site serves Denmark and Swiss-German users will use the German site:
www.example.com/dk/ links to support.example.com/uk/ for support-based content
www.example.com/ch-de/ links to support.example.com/de/At present, they use different analytics tracking codes and accounts. Moving forward, they would like to consolidate the data together to be able to see the collective and separate performances. They would also like to be able to see goal completions from referrals when someone clicks from the main domain to the sub-domain or across sub-domains or potentially across language and culture too.
I have several questions I would really appreciate some guidance on:
- What will be the best way to configure Google Analytics to achieve this?
- Will we need to decorate the HTML links in between each of the sites?
- Will we need to use a new Google Analytics property?
It may not be easy to answer this based on the information above, so I'm happy to provide additional information if required.
Thanks in advance for your help.
-
Many thanks, I will have a little look at the link you sent.
-
Hi!
I saw you asked - without success - this question also in Google Forums and Stack Exchange.
Sincerely, my first answer should be that should exist only one GA tracking code enabled for tracking subdomains, and that all the parties working with the client will need to have access to the same Analytics profile.
That would be the best for the client too, because so it will have just one GA profile, even if under it different views (one for subdomain and, eventually, one for each one of their multilingual/country facet).
This post explains quite well how to do that.
If you are wondering how and who should do it, then, we are entering more in a organization issue more than implementation one.
Logic says that - once the client has been informed about the importance of creating a consistent view of the analytics data from you - it should be the client telling to all the providers to coordinate between themselves for optimizing the GA implementation. If the order comes from the Client, and not being you asking the other providers to use just one GA code for subdomains, nobody could say no.
I'm sorry, but I cannot offer you a better answer than this one.
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
-
Cross-domain / subdomain tracking in GA?
Hi there, My client has a site website.com and a booking engine, booking.website.com They are currently tracking the main site and the booking subdomain as two separate properties in the same GA account. The issue is we can't see where users are originating on the subdomain property; it's all being counted as referral. My understanding is we need to set up subdomain tracking using Google Tag Manager in order for GA to pass the user data between the two subdomains. This is fine, except for this one line I am reading on Google's guide to cross-domain tracking: Subdomains If you have updated your tracking code to analytics.js, then no additional configuration is required to track subdomains. You can use cross domain tracking to collect data from a primary domain, like www.example.com, and a subdomain, like www.subdomain.example.com, in a single Analytics account property. That last line makes it sound like we should be using cross-domain tracking for this purpose. Are we correct in setting up subdomain tracking and NOT cross-domain tracking to be able to track users across subdomains on the same domain?
Reporting & Analytics | | FPD_NYC0 -
GA: How do I preserve custom dimension across domain and subdomain?
Using custom dimensions our site tracks logged-in vs not logged-in users on our shop site (shop.example.com). A user can only login on the shop.example.com. The problem is when the logged in user visits our the main domain (example.com), we lose the custom dimension and the user becomes anonymous. At this point, if the user goes back to shop.example.com, the logged-in custom dimension comes back. How do I preserve the logged-in user dimension across the main domain? Example of snippet:
Reporting & Analytics | | Evan340 -
Where should I insert the code when I track an event on GA?
hi mozzers, I am trying to setup my first event to count the numbers of downloads of an infographic(pdf file) we just created on GA and after some research I figured that I should add this piece of code (below) but where exactly? <colgroup><col width="386"></colgroup>
Reporting & Analytics | | Ideas-Money-Art
| _gaq.push(['_trackevent', 'PDF', 'Download', 'name of file']); | Should I put it just in between _gaq.push(['_setDomainName', 'coit.com']); and _gaq.push(['_trackPageview']); ? Please provide details because I ve never done this before Thanks 🙂0 -
Moz Rank & Trust | Page vs Sub vs Root
Hey guys, Just need some help deciphering my OSE link metrics for my site theskimonster.com . Page MozRank: 5.51 (highest among my competitors) Page MozTrust: 5.74 (#2 among my competitors) Subdomain MozRank: 4.19 (#4 among my competitors) Subdomain MozTrust: 4.63 (#2 among my competitors) Root Domain MozRank: 3.89 (#5 or last place among competitors) Root Domain MozRank: 4.1 (#5 or last place among competitors) What does this mean? What am I doing right, what do I need to do?
Reporting & Analytics | | Theskimonster1 -
Subdomain GA Tracking??
Hi Mozzers I am tracking a web property www.example.com and we are launching a subdomain.example.com. Should the subdomain tracked on GA by creating a new profile or should it be on its own with a new GA property ID? Thanks for explaining how to do that setup 🙂 Ty
Reporting & Analytics | | Ideas-Money-Art0 -
Tracking pdf downloads
hello, I have a site with 100's of pdf's for download and I would like to track how many people are downloading these, does anyone have a simple solution for this? Is there anyway I can do this in Google Analytics using one piece of code, thanks...
Reporting & Analytics | | Socialdude0 -
Google: show all images indexed on a domain
Is there a way to display all images that google has indexed on a domain / subdomain? I'm basically looking for something like a site:-command for google image search.
Reporting & Analytics | | jmueller0 -
Will having a subdomain cause referral traffic from the domain name?
Hi! One of our clients has a site with the store on a subdomain: store.example.com. When we've set up goals for order confirmation pages, we often see most of the sources attributed to example.com. Is this because of the subdomain issue? How would we correct it so that we would see as the referring source for the goal the site that sent to the root domain originally, and not the site that sent to the subdomain? Thanks!
Reporting & Analytics | | debi_zyx0