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
-
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 -
Redirecting one domain to another using utm tags
I have two live websites, which have both been live for over 10 years, so we have plenty of backlinks to both...domain1.com & domain2.com. Domain 1 and all urls is being merged into domain2.com. So 301 redirects will be setup for every page of the site....domain1.com/abc-1234/ to > domain2.com/abc-1234/ In Google analytics for domain2.com we want to be able to see which visits we have received as a result of a redirect from domain1.com. It is possible to see these visits that come in via organic, referrals and social etc, as those will come to us with the referral as domain1.com. However, with direct traffic, i.e. if someone types domain1.com into their search bar, these visits will be assigned as direct and we are not able to tell in GA if those users have typed in domain2.com, or domain1.com to get to our webpage. There are some suggestions in forums of adding utm_source tracking to all redirects (and add canonicals to those urls pointing to the non utm_source version), but my concern is that Google is going to have to go through one extra step to reach the page on the redirected domain. So without the utm source code Google will follow this route
Reporting & Analytics | | Sayers
domain1.com/123/ to domain2.com/123/ With the utm source code Google will follow this route
domain.com/123/ to domain2.com/123/?utm_source... then see's canonical, so moves to domain2.com/123/ So essentially I am giving Google one extra step to follow before it gets to the equivalent page on the new site. Is this an issue, and/or are there any other ways to track this redirection without adding extra parameters to the url?0 -
Looking for Third Party Tool Like Google Tag Manager
Hi All, Like google tag manager is there any tool or software or service available who can track my visitors each actions, events, clicks, after click what they do? But at same time like google tag manager it not slow down my site speed? I can say I am looking for tool which can main track different - different click on my pages. Any other suggestion pls share. Thanks!
Reporting & Analytics | | pragnesh96390 -
Can you track two Google Analytics Accounts on one site?
If you have a site that had an old analytics account and then implemented a new one is it possible to run tracking code that records to both accounts without causing your site or data issues? We are doing this so we don't loose data at any point - ideally it wouldn't have been split between the two but making one redundant isn't an option. Ideally we would have merged the data from both accounts and had one - however the research we have done points to this not being a possibility - unless one of you guys knows different? It would be great if anyone has experience on any this.. Thanks
Reporting & Analytics | | ChrisAllbones0 -
Is It Possible to have Cross Domain Tracking on Two Different Accounts?
Good afternoon to all, I have this kind of dilemma regarding setting up tracking code on two different accounts, namely bioglass.com with GA Code UA-12345678-1 where all the product information has been listed and shopbioglass.com with GA Code UA-87654321-1 where the prices are located and transaction takes place. Both of them are connected since if you click the buy button on bioglass.com for a specific product, it will automatically redirect to shopbioglass.com where the prices and transactions comes into place. Dilemma: I want to check how many conversion took place from bioglass.com to shopbioglass.com. I know they have different GA Code but is it possible for me to have a cross domain tracking for this?? What are the possible remedies if not? Thanks to all 🙂
Reporting & Analytics | | TWSOM0 -
Google Web Master Tools show that my site has been crawled, but search results show old title tags, ect.
Does the index report reflect what will be displayed on Google results? Google seems to be indexing my site every Sunday...
Reporting & Analytics | | 928shopper0 -
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 -
Universal Analytics & Google Tag Manager - Track URLs that include hashes
Does anyone have any experience tracking URLs that include hashes (#) using Universal Analytics and Google Tag Manager? Can it be done using GTM's container for UA, using the "more settings" options? Or building another tag to work with the GTM UA container? The fallback I'm considering is implementing the UA code in GTM for every page as Custom HTML with the "ga('send', 'pageview', location.pathname + location.search + location.hash);" solution, rather than GTM's specialized UA tag. I'm not yet sure what problems may arise from that, if any. Thanks in advance.
Reporting & Analytics | | 352inc0