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
-
Tracking time spent on a section of a website in Google Analytics
Hi, I've been asked by a client to track time spent or number of pages visited on a specific section of their website using Google Analytics but can't see how to do this. For example, they have a "golf" section within their site and want to measure how many people either visit 5 page or more within the golf section or spend at least 6 minutes browsing the various golf section pages. Can anyone advise how if this can be done, and if so, how I go about it. Thanks
Reporting & Analytics | | geckonm0 -
How many ways to use Event in Google Tag Manager for Event Tracking?
Hello Experts, How many ways to use Event in Google Tag Manager for Event Tracking? As per me there are 5 ways given below are they correct? 2nd thing if yes can you please please tell me procedure of using all or which is the best one to use? HTML 5 Data Attributes Classic Google Analytics Example: _gaq.push(['_trackPageview', '/downloads/pdfs/corporateBrief.pdf']);
Reporting & Analytics | | bkmitesh
3) Universal Analytics Example: ga(‘send’, ‘pageview’, ‘page path’); query string? or is it possible without any coding on website we can configure id's in google tag manager? Thanks! BK Mitesh0 -
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 -
Google Analytics complexe solution?
Hello, We have Google Analytics on our website and we have started to track the conversions.
Reporting & Analytics | | lunacloud
Basically we have a goal with 3 steps: Account Details (Personal Information) Confirmation (Mobile Confirmation Code) Email ( confirmation link) On the last step (Destination Goal) we send an email to the customer with the account confirmation link, the tracking works perfectly. Our problem is with the Goal Completions on "Traffic Sources" >> "AdWords" >> "Campaigns", Analytics doesn't add the conversions. This problem is related to the email confirmation? There is any solution to overcome this problem? Thank you! yzujFZU.png f4fay1G.png0 -
Magento and Analytics - Unique purchases tracking
Hi guys, My ecommerce site is on Magento and in order to integrate it with Google Analytics, I enter my GA account number on the Account Number field in the backend. What surprises me is that some purchases are not tracked at all. So for the month of may GA shows X unique purchases when Magento shows x+5. Can this occur because the customer leaves the site before the confirmation page is shown? Thanks. Regards
Reporting & Analytics | | footd0 -
Google Analytics Content Experiments
Has anyone else found that Google Analytics Content Experiments seems to quite quickly favor the best performing variant in an experiment, and then show that variant many times more often than other/s - not split the traffic evenly? What is Google's thinking behind 'optimizing' during an experiment? It seems odd to me.
Reporting & Analytics | | David_ODonnell0 -
Google Analytics Title tag vs landing page visitors numbers
Hi folks, Just wondering if anyone has any ideas as to why im getting different results in Google analytics. I'm using the Content Efficiency Analysis Report from http://www.kaushik.net which is absolutely awesome. When I search via my title tag I get 920 Unique Visitors over the month but when I search via the landing page URL with the same title tag I get 28. Any ideas to why their should be such a difference. I've also noticed that on that page i'm also getting a Rel Cononical TRUE using a site crawl. Any ideas are much appreciated
Reporting & Analytics | | acs1110 -
Do links with tracking codes pass PageRank?
I have a client that has acquired a link from an influential partner but the partner has set the link up to have clicks tracked within their analytics. Do links like this pass PageRank: Anchor Text
Reporting & Analytics | | SearchEngineRescue0