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 -
% Change - Google analytics - how to calculate?
Hi All,
Reporting & Analytics | | JohnPalmer
I have two dates with two different numbers I want to calculate the "% Change" like google analytics, The numbers of June 2015 - 127,931 sessions
The numbers of June 2014 - 90914 sessions please tell me what is the %Change. Best. J0 -
Splitting Google analytics data
Hi Everyone I'm not sure if this can be done but thought i would ask anyway. One of our clients has a website which is a 3 tiered website, basically this means different access levels for different users depending on their ip address. The split is as follows (business 1, business 2 and the general public all see different things and areas within the website) Now what we are wanting to do is essentially split our analytics data for each of the 3 different users on the site, Can this be done through Google analytics? Thanks in advance. ps If im not clear enough let me know and ill try clear it up
Reporting & Analytics | | TheZenAgency0 -
How do you setup a test analytics account?
I have created a test view but that is not helping with skewed data. Do you all just create a total separate profile with a different GA account for a non-indexed domain? How can I test tag manager and other things without messing with our data? I have our IP filtered out so it doesn't show up in reports but other event tags from outsiders will.
Reporting & Analytics | | Sika220 -
Newsletter Campaign Need HELP to Create a Custom Report in Google Analytics
I have this newsletter send using Mailchimp. This campaign is link to G.A. How can I create custom report for me online store about this campaign? For example: I have 2 Goals Completion Location setup in G.A. they are: /checkout.php and /finishorder.php Is there a way to find out how many visitors from my campaign reach the /finishorder.php vs. /checkout.php Reason, about 50% are reaching /finishorder.php Maybe I need to creat a "How to redeem you coupon code" video to included in the newsletter to HELP customers complet there order process. Thank you, BigBlaze
Reporting & Analytics | | BigBlaze2050 -
Transferring of analytic data
Hey SEOMoz community, Question, we just purchased a business and while we didn't keep their website content we acquired their URLs and will be rebuilding the site. We've asked for and been denied any historical analytic data e.g. they wont transfer admin rights over to us. Is there anyway to access historical data without being made an admin? or do we start from ground zero. One of the reasons we're being given for not being allowed access is that "Google analytics and the associated keywords are the vendor's intellectual property" - given that we brought the brand doesn't that IP transfer over to us anyways? Thanks, PC
Reporting & Analytics | | PC-QSG
(Long time forum stalker, first time poster)0 -
Switching Google Analytics from Urchin to GA
I want to finally make the switch from Urchin to GA in Analytics, but the Google support page is no longer working (I realize I'm late to this so they likely took it down/moved it to where I can't find it). I've been searching on Google but can't find a straightforward guide to changing that won't disrupt my data. Anyone have a link to a working guide, or can you provide some guidance?
Reporting & Analytics | | Axios_Systems0 -
Filter out IP address of Site Search analytics
Hi Mozzers, I have a filter that excludes all internal traffic from my sites. But this does not seem to work on site search > Search Terms See here:- http://productforums.google.com/forum/#!searchin/analytics/filter$20site$20search/analytics/pO18L31hEO4/tJ3lKVNT3YYJ Any ideas? Or is it a bug, etc Thanks S
Reporting & Analytics | | Metropolis0