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
-
Google analytics suddenly stopped tracking all my landing pages
Hey guys. I love the new update of GA. Looks so clean. So, of course, I was excited to see how my landing pages were doing. I went to behavior, all content, all pages. And I noticed it's only showing me 19 pages out of the 93 I have indexed. And none of the top ones at all! Can't find them anywhere in GA! Anyone seen this before? Thank you so much
Reporting & Analytics | | Meier0 -
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,
Reporting & Analytics | | WeAreDigital_BE
Sander0 -
Analytics: How to see how many uniques viewed over X amount of pages in period
Hey guys, anyone any idea how to do the following in google analytics? I need a little help, I am looking at my traffic for a given month, I can see how many unique users visit over X amount of times, but can instead of visits, can I see how many unique users I had that looked at X amount of pages or more? Appreciate all help!! 🙂
Reporting & Analytics | | MirandaP0 -
Posting on blog comments with anchor text on high ranked pages effective?
So i've identified some blogs which have a fairly high ranking and lots of traffic. They also allow anchor text in the name field. Does it make sense for me to comment on these blogs, or does google treat these with less authority that true page links? Any advice is greatly appreciated! TIA
Reporting & Analytics | | symbolphoto0 -
What's the difference between landing pages and entrance pages on Google Analytics?
I'm confused about the difference between entrance pages and landing pages on Google Analytics. If I compare our search traffic to entrance pages with search traffic to landing pages it seems very similar -- but not identical. But this is probably because all of our GA analytics is sampled (we're a huge site). Can anyone help?
Reporting & Analytics | | CecilyP0 -
Why does this domain never pass 150 organic visits from Google?
Hello, The domain http://bit.ly/fwTEsT has been out there for one year, it has about half million indexed pages. We made a lot of changes that could affect SEO and I don't know if Google likes it but the one thing it's sure is that in one whole year the organic visits from Google never got pass 150 visits per day. We've got about 2000 PPC visits but organic don't go up. I'd like to know what our main errors would be so we can focus more on fixing them. Thank you, Alexandru.
Reporting & Analytics | | elwebmaster0 -
Do links tagged with Analytics UTM parameters has the same significance as once without any parameters?
If we add UTM parameters to inbound links, for tracking specific referral behavior, will those link have the same SEO significance as links without parameters?
Reporting & Analytics | | Usearch0 -
GA Tracking Code for Ecommerce cross-domain tracking
I need help. Scenario: Microsite: www.example.com Prospect clickc "buy" button and is taken to 3rd party ecommerce cart (e.g. shop.domain.com) Questions: Will the Google Analytics Code sample below allow us to track what we need? We need to exact syntax code for the micro site. What is the specific code that needs to be added on the 3rd party shopping cart pages.
Reporting & Analytics | | 190west0