How to add the Enhanced E-commerce plugin if you have Analytics set up through GTM?
-
I'm having confusion about where I would add the the Enhanced Ecommerce line of code:
ga(‘require’, ‘ec’);
if I have Analytics implemented through Google Tag Manager?
I have read through several articles and still am not entirely sure.
-
If you are using a custom shopping cart then ask your developer, to add the GTM container code, immediately after the opening body tag , on all website pages or you have fixed header layout to all pages.
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
-
When I click an outgoing link from Analytics - why are they all broken?
On one of my websites, if I visit the Behavior > Site Content section of Anayltics any link I try to open is broken. Google Analytics is appending the domain before every URL causing it to open in a popup but as a broken link. Example: Trying to click a link to a page on the website at this URL: http://www.thisisanexample.com/test.html But in the Analytics popup browser this is what it tries to load: www.thisisanexample.comhttp://www.thisisanexample.com/test.html So I can't preview any of the content within Google Analytics. I feel like this is a settings issue somewhere... Any ideas?
Reporting & Analytics | | ShawnW0 -
How accurate is Google analytics at measuring traffic? (Free version)
Hi Guys. When we compare our actual sales to Google analytics conversions it can be way out. Sometimes as much as 50%. Is this the same for the data on traffic? And if so, does the data tend to be out by a similar amount over time? i.e) If we compare this year and last year it give us a good indicator of differences in traffic volume? (albeit not 100% accurate?) Thanks. Isaac.
Reporting & Analytics | | isaac6630 -
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 -
Pinterest\Instagram analytics available?
Is there a way to add Instagram and Pinterest analytics to Moz? Is this already available and I am just missing it? VERY interested in this... thank you!
Reporting & Analytics | | Isaac55891 -
Google Analytics shows wrong traffic source
I was reviewing out traffic sources on GA for this past week's traffic history, and noticed a couple of visits & conversions that GA cited as coming from campaigns from emails that were sent out in 2012 and early 2013. it seems odd that we would have traffic & conversions from these older campaigns - on a regular basis. it's not even from one campaign, but from multiple campaigns. is it possible that it is a cookie issue? - i wonder if these visits were really from the email campaigns - or if they were from organic searches or other sources. Thoughts? Thanks!
Reporting & Analytics | | S.S.N0 -
Google Analytics subdomain ecommerce tracking flatlines :-(
Buongiorno from 19 degrees C wetherby UK 🙂 This website http://www.philpotts.co.uk/ contains a shop sub domian @ http://shop.philpotts.co.uk/. I configured the site Ga analytics code to include the subdomain (see below code). I had to do this as i was getting refferal data from the actuall subdomain. But after following the instructions on p117 of cutroni's ga book things have gone wrong, mainly now eCommerce data has dissapeared 😞 So my question is please: "Why has installing the GA code above caused eCommerce tracking to suddenly go dead?" Grazie tanto,
Reporting & Analytics | | Nightwing
David0 -
Multipul Analytics codes usage
I need to launch 13 local websites and need to have two analytics codes on each site, one is unique for each site and the other is the same across all sites. any advice on how this is best done?
Reporting & Analytics | | imsmlouis0 -
Tracking pages in two separate analytics accounts
Hi All, I'm trying to track some pages on one website in two separate Google Analytics accounts. Has anybody done this before that could help with the tracking code? Thanks in advance, Elias
Reporting & Analytics | | A_Q0