Tag Manager & Universal Analytics Code - Do you need both?
-
Hi Mozzers
I've created a container for a domain in Google Tag Manager. Within that container I've created a tag for universal analytics with track type "Page view" and the firing rule "all pages".
Can I then replace the Universal Analytics code with the tag manager code? Would it still track all the normal data in Google Analytics?
There are no events setup up yet so that's not a concern but there are goals setup tracking which are triggered by a page view. Would they be affected?
Thanks
Anthony
-
Yeh that's the same tag I create
-
I'm not sure I just know from experience. The first tag I create when I make a container for a new site:
Name: Page Views
Tag Type: Universal AnalyticsThen i set the tracking id there.
It gets the all pages firing rule and then since I use WP for a platform I also create blocking rules to eliminate admin and login views./e I should be more clear and say that it does not replace but the two tags will both be present it's just that the tag manager code snippet you maybe pasted right over the old analytics one now inserts any required analytics code for you.
-
Thanks Mark - appreciate that answer.
The firing rules are set to all pages.
I'm amazed that I couldn't find this simple answer in the Google documentation. Unless I've missed it and you can direct me to where it says tag manager code replaces the universal analytics code?
-
Yes you can remove the original Ga code in exchange for the tag manager container code and it will handle the rest.
Your goals will not be affected as long as you have your firing rules correct in tag manager.
Highly recommend the Chrome Extension Google Tag Assistant to make sure you get things the way you would like.
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
-
I am confuse with google analytic custom and segment report
Hi All, In google analytic when I create custom report for my ecommerce site then figures go mad. I really not able to judge peformance of device, browser and it's version, conversion, ecommerce conversion rate etc. same way if I add secondary dimension in report then also figures are not accurate. Again when I create different segment like desktop, mobile, tablet then in tablet segment mobile devices comes and in mobile device tablet appear why segment also not accurate? Is it because I am using free version? Also do we have alternative of google analytic which give same report like google analytic either device, browser, os, segment, enhance ecommerce etc? Thanks!
Reporting & Analytics | | dhisman0 -
Enable Ecommerce Tracking with Google Tag Manager
Hello all, I am having an issue with tracking the sales on a webshop, and I would like to know how I can enable the ecommerce tracking with Google Tag Manager? Right now I am tracking the pageviews fine, firing a Universal Analytics tag. How can I achieve this? Thank you.
Reporting & Analytics | | renehansen0 -
Difference between Enhance Ecommerce & Event Tracking ?
Hello guys, Difference between Enhance Ecommerce & Event Tracking ? If i implement Enhance Ecommerce then no need to configure event tracking? Thanks!
Reporting & Analytics | | bkmitesh1 -
Will benchmarking only be available in universal analytics or all analytics?
With the announcement of benchmarking in Google Analytics I was wondering if I would have to upgrade to universal analytics or will it be available to everyone?
Reporting & Analytics | | EcommerceSite0 -
How do I cancel a scheduled Dashboard report in Google Analytics?
I created a few Dashboards in Google Analytics and scheduled them to be emailed for the next 6 months. Now I want to cancel those scheduled emails and am not finding those Dashboard reports/emails anywhere so I can cancel them. Do you know how to stop these emails from being sent?
Reporting & Analytics | | cindyt-170380 -
Google analytics vs Webmaster tools data
Hi Which is more accurate WT or GA data ? Since GA reporting a KW (thats very recently fallen from page 1 to 3 hence looking into data to find the cause) in the Organic part of Search tab as having generated just 1 visitor over a month (hence presuming fall could be due to low visits from a page 1 result) whilst under Search Engine Optimisation tab (data sourced from WT i think) its reporting 5 click thrus from 150 impressions over same period resulting in a quite good 3.33% CTR (hence wouldn't expect to be the cause of a fall) and what i would have thought GA would report as 5 visits instead of the 1 they do report !? The reason im looking for answer in the data is because no on-page has changed and still scoring a grade A and off page metrics have all improved across the board (apart from small drop in majseo's Trust Flow) such as increased links, RD, Citation Flow, Ref Subnets etc etc etc Cheers Dan
Reporting & Analytics | | Dan-Lawrence0 -
Client has two default analytics accounts
A client has provided me with their analytics access but i notice that there are two default accounts on their account. They have two UA numbers. The first UA number is in their company name and the other UA number is in another company name with my clients website underneath. Their UA number in their company name is not showing any results however the other company UA number is showing results. Does anyone know why they will have two accounts and if this will cause a problem when trying to link their seo moz campaign to their analytics to track their keywords?
Reporting & Analytics | | Shelly760 -
How to compare Goals in Analytics
I setup LivePerson web chat on my site. In doing so I integrated it with Google Analytics as a conversion goal so I can track the visitors that engaged in chat. I want to see the affect these chats have on my other conversion goal, a completed lead. How do I figure out the conversion % of new leads for people who have enaged in web chat vs. those who haven't?
Reporting & Analytics | | TheDude0