Google Tag Manager for cross-domain tracking
-
Anybody experience with setting up Google Tag Manager to contain the Analytics script including cross domain tracking?
We have a marketingwebsite .com / .com.br and an application running in a subdomain, but have always had some difficulties in getting the cross domain tracking working.
Would be great to be able to exchange some experience with fellow Mozzers.
-
Hey Joris I appreciate it. I will email you in your private mailbox now.
All best,
Tom
-
Hey Tom,
feel free to reach out with any question you might have about the Brazilian site.
I'd love to share some of the insights we gathered the past couple of years when we entered that market.
No compensation needed
-
Hi Joris,
I am happy to hear that the Lunametrics URL was helpful.
http://www.lunametrics.com/blog/2015/06/16/cross-domain-tracking-with-google-tag-manager/
I am currently rebuilding a website that targets Brazil.
If you have any hard data or would be kind enough to share a summary of what you believe happened I would be very grateful.
- I do believe Google gives more to when a site is hosted (IP and because latency matters)
- I agreed that in a perfect world a .com.br is going to work as well as having a /pt-br/ or /br/
- I just have trouble believing backlinks I'm going to as authoritative. On a separate domain
- I will compensate you for any data
I will private messages that's alright?
Thanks,
Tom
-
Hi Thomas,
thanks again. I've setup a test here with some domains I have and all worked perfectly after following the tutorial from Lunametrics.
Re your answer above, I agree that it's a good way to keep all your content under one TLD but there are some cases in which this strategy doesn't work that good. We're active in Brazil for example, and we noticed an increased conversion rate for our TLD .com.br compared to the .com/pt where we were sending traffic before.
-
Hi Joris,
I was just going to stay that from all the testing I've done and by using DeepCrawl what is said below is true.
This is from http://www.semrush.com/blog/7-common-hreflang-mistakes-and-how-to-fix-them/
"Believing That hreflang Annotations Will Consolidate Link Authority
This is another common misconception that can trip up even advanced SEO experts. There have been articles published that seem to show that, once hreflang is correctly implemented across multiple top-level domains or sub-domains, the most authoritative domain gains in link authority. This has not been verified with other international SEO experts, and I have no evidence to believe this is the case either.
The best way to build link authority and consolidate it across your geo-targeted web pages is to keep your content all on one domain. Use a generic, top-level domain such as a .com, and use the sub-folder method to create your country- or language-targeted content. Here is a snapshot of a conversation I had with Gianluca Fiorelli and Martin Kura about this subject:"
This is a great tool as well if you're running check on your config http://hreflang.ninja
-
Thanks Thomas,
some really good resources there. That should help me set it up!
What has the hreflang configuration to do with cross domain tracking?
-
Your site is configured to hreflang?
Here are some excellent references that will basically be exactly what I would've said.
Cross domain tracking in Google Tag Manager
http://www.lunametrics.com/blog/2015/06/16/cross-domain-tracking-with-google-tag-manager/
https://www.optimizesmart.com/cross-domain-tracking-in-google-tag-manager/
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
-
We setup a new Google Analytics account for the new domain but the old one is still there
Hi, Our company has changed their domain almost a year ago and after the migration, they created a new Google Analytics account rather than changing the address on the existing GA account. Now I can still see that Google indexing the old domain. Just wanted to ask if we can still tell Google that we've changed the domain on the old one? Or, should we just go ahead and use the new one and delete the old one? Very confusing, but our traffic is constantly dropping although we rank for on the first page for tracked keywords, just want to understand if there is a connection between the organic traffic droppings and not telling Google we've changed the domain. Thanks! NJt7vbJ
Reporting & Analytics | | Lucidica0 -
Track PDF's in Google Analytics
Hi Mozzers, Is it possible to track PDF's via Google Analytics/Google tag manager? I'm not only looking for PDF downloads but for the actual activity when someone opens an interactive PDF document. So would it be possible to have onclick events on buttons in the PDF etc... Many thanks!
Reporting & Analytics | | WeAreDigital_BE
Sander0 -
Universal Analytics Ecommerce Tracking in Magento
We have a problem similar to this: http://stackoverflow.com/questions/22229312/universal-analytics-could-not-track-transaction-in-magento On a client's website. I need an absolute knock-out EXPERT at solving this to give us a quote on doing something like this. It's very urgent but it is paid. Basically the site used the old tracking code, worked, then client said they wanted new data so we upgraded to Universal. Now everything works but Ecommerce tracking. Desperately need help! Thanks all!
Reporting & Analytics | | MattAntonino0 -
Will my Google sub domain filter work
Bon Pormeriggio from cloudy hot sticky & Humid Wetherby UK 😉 I have three sub domains which are reporting all the same stat traffic. Phase 1 is complete in that sub domain tracking has been configured in the analytics code for: http://en.lewispr.be/
Reporting & Analytics | | Nightwing
http://fr.lewispr.be/
http://nl.lewispr.be/ But now i want to get traffic just from http://www.en.lewispr.be/ (Previously all three subdomains reported exactly the dame data). But its this stage I just want to double check. Ive set up a filter correcly as illustrated here:
http://i216.photobucket.com/albums/cc53/zymurgy_bucket/check-en-sub-domain-tracking_zps1b24f8af.jpg Will what ive done give me just traffic arriving at http://www.en.lewispr.be/ and not continue the problem of all three sub domains reporting exactly the same traffic?
Grazie tanto,
David0 -
Traffic Discrepancy between google and moz
I checked my traffic data this morning for this past week and there seems to be what I hope is a huge mistake. https://www.diigo.com/item/image/3vpdp/mckp My traffic seems to have dropped from 176 organic visits to 0 visits. There is no indication of this at all in Google analytics. What's going on?
Reporting & Analytics | | EcomLkwd0 -
Google Analytics Site Search to new sub-domain
Hi Mozzers, I'm setting up Google's Site Search on a website. However this isn't for search terms, this will be for people filling in a form and using the POST action to land on a results page. This is similar to what is outlined at http://support.google.com/analytics/bin/answer.py?hl=en&answer=1012264 ('<a class="zippy zippy-collapse">Setting Up Site Search for POST-Based Search Engines').</a> However my approach is different as my results appear on a sub-domain of the top level domain. Eg.. user is on www.domain.com/page.php user fills in form submits user gets taken to results.domain.com/results.php The issue is with the suggested code provided by Google as copied below.. Firstly, I don't use query strings on my results page so I would have to create an artificial page which shouldn't be a problem. But what I don't know is how the tracking will work across a sub-domain without the _gaq.push(['_setDomainName', '.domain.com']); code. Can this be added in? Can I also add Custom Variables? Does anyone have experience of using Site Search across a sub-domain perhaps to track quote form values? Many thanks!
Reporting & Analytics | | panini0 -
500 errors and impact on google rankings
Since the launch of our newly designed website about 6 months ago, we are experiencing a high number of 500 server errors (>2000). Attempts to resolve these errors have been unsuccessful to date. We have just started to notice a consistent and sustained drop in rankings despite our hard sought efforts to correct. Two questions... can very high levels of 500 errors adversely effect our google rankings? And, if this is the case, what type of specialist (what are they called) has expertise to investigate and fix this issue. I should also mention that the sitemap also goes down on a regular basis, which some have stated is due to the size of the site (>500 pages). Don't know if they're part of the same problem? Thanks.
Reporting & Analytics | | ahw0 -
Omniture vs Google Analytics
What's your opinion on analytics tools? Specifically Omniture vs Google Analytics. Is Omniture really that much more powerful than GA? Have you used GA Premium, the enterprise package? My main question - Can GA (free or premium) do everything that Omniture can? If GA Premium and Omniture were the same price, which would you choose? Is one harder to implement, pull reports, tweak, ect? Thanks in advance.
Reporting & Analytics | | akim260