Two GTM tags
-
Hi guys,
I need some help on the following:
My client has different websites worldwide all with country extensions and on overall .com domain. These websites (and GTM accounts) are all managed by local agencies. We would like to implement a cross domain tracking GA account in order to see some overall trends and numbers. We don't want to implement our codes in the existing containers as they are in many cases managed by local agencies. Is it really negative to implement two GTM containers on one website?
Any other ideas?
Thanks,
Sander -
No - I think you'll want 2 different UA codes AND 2 different data layers. You'll also want to test the hell out of that implementation and make sure it's working well.
Sorry for the confusion.
-
Thank you Kane! Very helpful!
So what you are saying is that it is completely safe when we are using two different GA codes? Or should I still rename the data layer in this case?
Sander
-
According to a few other sources online, having two GMT containers on the page may cause triggers to fire twice. It appears the fix is to rename your data layers on at least one of those containers, but other pages recommend only using one. So, your cross site container probably needs some more customization, and then close monitoring to make sure stuff is working correctly.
- http://webmasters.stackexchange.com/questions/50289/2-google-tag-manager-containers-double-triggers
- http://stackoverflow.com/questions/21465360/two-different-google-tag-manager-accounts-in-same-domain
Additionally it's worth mentioning that if both GTM tags each have GA tags in them, that is fine if the UA codes are different - full details can be found here: https://support.google.com/analytics/answer/1032400?hl=en. What you don't want is two GA tags with the same UA code.
Is it safe to say that your client has admin access to all of these random GTM containers? If it were me, I'd prefer to own those containers and give each agency access to the appropriate one.
-
Thank you Martijn, very valuable! Any other opinions?
-
Hi Sander,
I'd say no, it's not really bad. It will have a small impact on the load time of your site probably but besides that it will enable you to do most of the things via a tag manager which will provide you with more flexibility.
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
-
Track buttons in Google Tag Manager
Hi! First question: I am wondering if it's possible to track two buttons with the same code in Google Tag Manager without changing the code? There are different page URL's.. Second one: My tags are displayed in Google Analytics as 'events'. When I put the events in 'goals', the number of times it fired differs from my events. Someone who can help me with this issue?
Reporting & Analytics | | conversal0 -
Tracking Pop Up Form Submission Events with GTM
Hello, I'm currently tracking contact form submissions any time a user clicks 'Submit' on a pop-up form. Once the form is submitted, the URL of the page remains the same (there is no /thank-you page or such like), hence needing to fire the Event based on a click. Problem is, even if the form is not actually submitted and a user just clicks the Submit button without filling in the fields, the Event will still fire. I know there is a way to ensure the Event ONLY fires when the form is actually submitted for real, but I don't know how to implement that in GTM. Any help most appreciated 🙂 Cheers, Gill.
Reporting & Analytics | | Cannetastic0 -
Variables in Google Tag Manager
Last week I got a great answer here on how to implement GTM and cross domain tracking, now that we have that in place I'm looking for some more advice 😉 I'm wondering that if we push variabels into the data-layer of GTM, can we actually use those variables in reports as well? Do they get recorded in Google Analytics? I'd like to use some data that we push to the data layer for segmentation purposes. Anybody an idea how to achieve this?
Reporting & Analytics | | jorisbrabants0 -
Google Tag Assistant showing Error
Hello, I am using google tag assistant extension in chrome and it is giving me one error for google tag manager at my checkout step 1 and error is -
Reporting & Analytics | | devdan0 -
Universal Analytics Tracking code for Measuring Addition/Removal from Cart via GTM
Hello Experts, Can you please tell me Universal Analytics Tracking code for Measuring Addition/Removal from Cart via GTM? Any one tell me process and code? Thanks!
Reporting & Analytics | | bkmitesh0 -
Creating Meta Tags for a Web Hosting company
My client has recently had his site rewritten by a company which supplies a website/hosting/seo service. The client still wants to use me for establishing his site locally and for SEM. My problem is that the code is not accessible to me. They have set up GA tracking which feeds into the reports dashboard. There is no way of actually access the raw data. When I asked for access to the GA account I got this message from bOline solutions: "Your SEO consultant will need to create a new GA account and then add the meta tag to the reports tab of your site" Because I am still very much learning GA I do not know what meta tag they are referring too. I'm therefore stuck as to how to create it. I've started learning about "Google Tag Manager" and am working through "Digital Analytics Fundementals", I've a feeling this is just a question of terminology - can anyone more experience in the subject help me?
Reporting & Analytics | | catherine-2793880 -
Client has two Wordpress Folders
My client has 2 WP folders (one is the main site, and one was for an added blog, don't ask me why they did it that way). They sent me the login for Google Analytics, and the first thing I see is 2 profiles, one for the main site, and one for the blog. Doesn't the code in the head of the main page cover ALL the subdirectories too? I could see this if it were a subdomain, but not in a subdirectory. Thanks in advance.
Reporting & Analytics | | kbloemendaal0