Enchance Ecommerce Tag Fired on every page i visit why?
-
Hello Experts,
I have added given below code (A) on my website and given below (B) setting in GTM. Now whenever i visit the site then two tags fired that is google analytic and enchance ecommerce. GA tag fired that is fine but why enhance ecommerce tag fired even if i visit any page? I think enhane ecommerce tag should be fired when i click on addtocart right?A)```
dataLayer.push({ 'event':'addToCart', 'ecommerce':{ 'currencyCode':'EUR', 'add':{ // 'add' actionFieldObject measures. 'products':[{ // adding a product to a shopping cart. 'name':'Triblend Android T-Shirt', 'id':'12345', 'price':'15.25', 'brand':'Google', 'category':'Apparel', 'variant':'Gray', 'quantity':1 }] } } });Track type : Event Event Category: `Ecommerce` Event Action: `Add to Cart` Enable Enhanced Ecommerce Features: `true` Use Data Layer: `true` Basic Settings - Document Path: `{{url path}}` Firing Rule: `{{event}}` equals `addToCart``Thanks!`
-
Hello BK...
I see your question has been answered here on the Google Product Forums. I hope you have a solution that will work for you now, as the code needs to be customized for your unique situation.
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
-
How to do Google Multivariate Testing via Google Tag Manager with Universal Analytic?
Hello All, How to do Google Multivariate Testing via Google Tag Manager with Universal Analytic? Thanks!
Reporting & Analytics | | dsouzac0 -
Should I use sessions or unique visitors to work out my ecommerce conversion rate?
Hi all First question here but I've been lingering in the shadows for a while. As part of my companies digital marketing plan for the next financial year we are looking at benchmarking against certain KPIs. At the moment I simply report our conversion rate as Google Analytics displays it. I was incorrectly under the impression that it was reported as unique visits / total orders but I've now realised it's sessions / total orders. At my company we have quite a few repeat purchasers. So, is it best that we stick to the sessions / total orders conversion rate? My understanding is multiple sessions from the same visitor would all count towards this conversion rate and because we have repeat purchasers these wouldn't be captured under the unique visits / total orders method? It's almost as if every session we would have to consider that we have an opportunity to convert. The flip side of this is that on some of our higher margin products customers may visit multiple times before making a purchase. I should probably add that I'll be benchmarking data based on averages from the 1st April - 31st of March which is a financial year in the UK. The other KPI we will be benchmarking against is visitors. Should we change this to sessions if we will be benchmarking conversion rate using the sessions formula? This could help with continuity and could also help to reveal whether our planned content marketing efforts are engaging users. I hope this makes sense and thanks for reading and offering advice in advance. Joe
Reporting & Analytics | | joe-ainswoth1 -
Tracking Organic Traffic and Conversions from multiple TLDs with Google Tag Manager
Hello Guys, I want to track traffic / conversions from different domains (basically same brand - but a lot of different TLD's). The "problem" is that the main conversion which I want to track always happens on the .com TLD and all other TLD's link to there. The problem is, that now the traffic always counts as Referral Traffic, even after setting up cross domain tracking over the google tag manager... So example: Sessions begins on example.co.uk/landing-page11 after User searched on it on google. He decides to buy the product and therefore moves to example.com for the checkout process. No I will have the conversion in my google analytics under referral with example.co.uk. --> but I want to have it under organic, and not under referral. How I can manage this? Thanks for you Help!
Reporting & Analytics | | _Heiko_0 -
Google Analytics Set-Up for site with both http & https pages
We have a client that migrated to https last September. The site uses canonicals pointing to the https version. The client IT team is reluctant to put 301 redirects from the non-secure to the secure and we are not sure why they object. We ran a screaming frog report and it is showing both URLs for the same page (http and https). The non-secure version has a canonical pointing to the secure version. For every secure page there is a non-secure version in ScreamingFrog so Google must be ignoring the canonical and still indexing the page however, when we run a site: we see that most URLs are the secure version. At that time we did not change the Google Analytics setup option to use: "https" instead of "http" BUT GA appears to be recording data correctly. Yesterday we set up a new profile and selected "https" but our question is: Does the GAnalytics http/https version make a difference if so, what difference is it?
Reporting & Analytics | | RosemaryB1 -
Does Installing Google Tag Manager Compromise Server Security?
Greetings MOZ community!!! Both my hosting company and developer have told me that in order to install Google Tag Manager it is necessary to disable the rule securing against malicious i-frame attacks in Mod Security and that this would leave the site (we operate on a virtual private server and out hosting company is InMotion Hosting) extremely vulnerable to attack. I can't believe that Google would write code that could allow potential security issues? Is this true? Does anyone know of a way to install GTM while maintaining site security? What functionality will we lose if we choose to stick with the old version of Google Analytics rather than upgrade? Thanks everyone!!!
Reporting & Analytics | | Kingalan1
Alan0 -
Ecommerce Revenue Data is not Similar to Admin Panel Sales Data
I am webmaster of E commerce website. And, We're selling online home decor products to USA! Today, I was checking my website Admin Panel sales section. I have found big variation in E commerce Revenue data on Google Analytics and Admin Panel Sales Data. I am looking forward forward for quick discussion or suggestion on it. If anybody require further information to know more about issue so please let me know!
Reporting & Analytics | | CommercePundit0 -
Google Tag Assistant for Chrome
I'm using the Google Tag Assistant for Chrome, and I noticed something really weird. No matter what pages I look at, the same two GA tags show up. It's weird. You can see the tag that is "working", and then there are two repeats. For example, when I look at this page, I see the GA tag that is working and then all the remarketing tags. Then I see UA-36732895-1 repeated twice. Anyone have any idea what this is? Thanks!
Reporting & Analytics | | PGD20110 -
My rankings report dates from 10 june. How is that possible since it is supposed to happen every week ?
My last rankings report dates from 10 june. How is that possible since it is supposed to happen every week ?
Reporting & Analytics | | suntrails0