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
-
Vanity URL vs domain URL
Hi guys, Our CEO is having an interview with a known broadcaster on radio. During the interview he will mention a specific URL www.example.com/marketingcampaign that we want track on Google Analytics, therefore behaving like a vanity URL redirecting to the actual URL www.example.com/resources/primary-keyword-2018. Would this work the same way a vanity URL in terms of tracking or not such as following guideline here ? I am asking because vanity URLs are supposed to be completely different domain name that gets purchased and in our case it is the same domain name just with a different URI. thanks guys!
Reporting & Analytics | | Taysir0 -
Understanding Average Position in Google Anaylitics
Hello here, I have a question about the Queries report under "Search Engine Optimization" in Google Analytics: is the "Average Position" information a reliable one? I have a lot of queries that appear, from that report, to average first position, but when I verify that on Google by connecting anonymously, I can't even find my result on the first page! To me, that information is worthless and makes me think all the rest of that report is unreliable. If anyone can help me to understand it, I'd really appreciate it. Thank you in advance for any thoughts.
Reporting & Analytics | | fablau0 -
Google Analytics - Average Position
Hi Just trying to get some clarity on Google Analytics Average Positions in "Aquistions/Search Engine Optimisation". For a very competitive keyword Google Analytics is saying i am on average position of 6. Is this Page 6? I am assuming position six would be 1.6?
Reporting & Analytics | | Cocoonfxmedia0 -
ECommerce Tracking Code Installation
Hi All, Kindly explain how to implement eCommerce tracking code on the website.I am aware how to enable and generate eCommerce tracking code in Google Analytics but have confusion from website end.Also, where i read the steps, everywhere i read the below code: <script< span="">type="text/javascript"> var _gaq = _gaq ||[]; _gaq.push(['_setAccount','UA-XXXXX-X']); _gaq.push(['_trackPageview']); _gaq.push(['_addTrans', '1234', // transaction ID - required 'Acme Clothing', // affiliation or store name '11.99', // total - required '1.29', // tax '5', // shipping 'San Jose', // city 'California', // state or province 'USA' // country ]); // add item might be called for every item in the shopping cart // where your ecommerce engine loops through each item in the cart and // prints out _addItem for each _gaq.push(['_addItem', '1234', // transaction ID - required 'DD44', // SKU/code - required 'T-Shirt', // product name 'Green Medium', // category or variation '11.99', // unit price - required '1' // quantity - required ]); _gaq.push(['_trackTrans']);//submits transaction to the Analytics servers (function(){ var ga = document.createElement('script'); ga.type ='text/javascript'; ga.async =true; ga.src =('https:'== document.location.protocol ?'https://ssl':'http://www')+'.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); ----------------------------------------</script<> In the above code specific transaction id, SKU/code are mentioned. What will be the modifications in the above code if i have to track all products present on my eCommerce website??
Reporting & Analytics | | RuchiPardal1 -
Cant find eCommerce in Google Analytics
Ciao from Wetherby UK, Ok ive done this a zilion times but since Google analytics upgraded I cant find how to upgarde the tracking code to ecoomerce tracking. Before i would just tick a box and Boomshanka the code would change. Whats got me worried the tracking codes has not modified to ecoomerce is because it looks like this: Heres the tracking dashboard with no sign of ecomm tracking customisations:
Reporting & Analytics | | Nightwing
http://i216.photobucket.com/albums/cc53/zymurgy_bucket/wheres-ecom-tracking_zps0ef4b8c6.jpg And i cant see any means to modify it for ecoomerce tracking 😞 Any insights welcome!
Grazie tanto,
David0 -
Domain authority si down. What to do?
My domain oasisoftheseasallureoftheseas.com is down from 23 to 17. What to do? Thank you!
Reporting & Analytics | | NadiaFL0 -
Advanced segements Google Analytics
Hi guys, I was to hasty last time marking the given question as answered. So i would like to ask another question on the subject. My original question was how to get a pdf report of 10 specific keywords with information about visits,pages per view. avg, visit time, new visitors and bounce rate. The answer was to create an advanced segment with "or operators" and adding all keywords on an exact match basis. I did this but it still gives me a list of more then 500 keywords in traffic sources organic view. Next to that i get different visitor numbers for some keywords where it says 40 at the normal segments (all visits) but gives me 0 when i turn on the advanced segment. I've been clicking and changing things for a long time until i got almost dizzy. Could someone plz help?
Reporting & Analytics | | 5MMedia0 -
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