Magento 2 GA4 Google Tag Manager (GTM) Enhanced Ecommerce Tracking

96% of 100
Compatible with Magento 2 community and enterprise 2.3.3 - 2.4.x including cloud edition

Magento 2 Google Tag Manager (GTM) GA4 Hyva and Breeze compatible extension helps you integrate Enhanced E-commerce, Google Remarketing, Google Analytics 4(GA4), Facebook Pixel, Facebook Conversion, Google Ads Enhanced Conversion and many more trackings with GTM.

  • Implements Google Enhanced E-commerce Tracking
  • Implements Google Ads Enhanced Conversion and AdWordsDynamic Remarketing Tracking
  • Support for Google Analytics 4 (NEW!)
  • Support for Microsoft Bing Ads Enhanced Conversion Tracking  (NEW!)
  • Implements Facebook Pixel, Facebook Conversion, Pinterest Tracking, Snapchat Pixel and many more tracking effortlessly.
  • Creates data layer for floodlight tracking/AWIN tracking
  • Allows you to implement cookie-based tracking
  • Tracks Backend/Admin Orders
  • Compatible with HYVA Theme(NEW!)
  • Supports HYVA Luma Checkout(NEW!)
  • Compatible with Breeze Theme(NEW!)
  • It fully supports Google Consent Mode V2 (NEW!)
  • It fully supports GTM server side tagging (NEW!)

Free Support

up to 60 days

Free Upgrades

up to 1 year

Fully open source


5 Great response!
We bought this extension with installation service and Scommerce Mage team installed this extension within 2 hours of purchasing. Checked FB and Google Analytics and everything is working as expected. Extremely pleased with the service. Great value for money, thanks guys, keep it up!
5 Worth the Price for the Instructions Alone
If you’re thinking of implementing Google Tag Manager, e-commerce tracking, Facebook pixel and Facebook conversion tracking this extension has the lot. I’m not kidding about the instructions either, they literally walk you through setting up everything including Facebook pixel and Google tag manager. Keep up the great work guys. Thanks Tracy
4.7 Excellent work!
Really happy with this extension we bought it for Enhanced Ecommerce tracking but these developers have provided data layers for all sort of trackings. We managed to implement other trackings like Marin Software and Facebook with no problem. Great work guys!
5 Quick to install and easy to set up
We would highly recommend this extension to anyone who is looking to implementing various tracking whether it is pixel or conversion tracking because this extension gives you various options. We have already used this for Facebook, Enhanced Ecommerce, Interstate Analytics, Marin Software and Google Dynamic Remarketing.
4 Good product
The integration was a bit tricky. One suggestion: You can use the feature of export/import GTM container and add the container as a json in your module , so creating the tags become easier for users.
4.7 Must have extension!
This extension is very useful especially if you want to integrate several trackings on your website. Scommerce team was helpful and documentation instructions were not that bad too. No doubt this should be a must have extension for Magento stores.
4.7 Great service!
Bought this extension with installation and SCommerce team just setup everything for us. We checked the data in Facebook Ad Manager and it has been working absolutely fine for our Dynamic Product Ads. We definitely recommend this extension to others. Thanks
5 Great plugin!
Wow, this definitely has everything we needed to set up our trackings. We managed to implement 6 different trackings and they work. Our SEO marketing guy said this is the best plugin which forced me to put this review so others can also get the same benefit we are getting! Well done SCommerce team for creating such a great plugin!!!
5 Great Plugin, Great Service
Support <1 hour, Great features. Just Good!
4.7 Tracks everything in GA
Finally everything gets tracked in GA :-), highly recommend product for sure, keep it up!
5 Works like a charm; Quick response from support team
Installed this module for an M2 upgrade. Gives us exactly what we need, specifically around GTM data layer. Needed to have a few dev/test domains added to the license post-purchase and the support team was *super* quick to respond.
5 Works great!
I used this extension for Facebook and Google Enhanced Ecommerce. By simply importing JSON files in GTM and installing extension on our website everything just worked perfectly. I don't normally write reviews but products like this definitely deserve one!
4.7 Knowledgable team
Bought this extension and I had no clue how GTM works but Scommerce team has helped me set up Facebook and Google Analytics. Highly recommend this to others!
4 Easy Installation & Good Support
We recently installed the module, and found it integrated incredibly easily. We had a minor issue with local currencies not converting in GA, but the SCommerce support was swift and helpful and the problem was fixed. Ecommerce tracking is now fully set up and it's very easy to view how the shopping funnel is working.
4.7 Top quality and friendly service
Scommerce provide a quality easy to manage module for GTM magento 2 and if implementing module on custom templates they are quick to help with support. Keep it up!
5 Powerful and does a good job
I used 1.9 version and bought this for V2. It is an Excellent Module, good documentation and JSON files to import straight into GTM. Most importantly - excellent after support for those glitches that occur. Thanks SCommerce.
5 Smooth upgrade from M1 to M2
We used this extension on our M1 website and now bought it for M2 (version 2.3.3) . It was a very smooth transition.
4.7 Criteo OneTag
We asked SCommerce team to install extension along with Criteo OneTag and it was installed within 2 hours. Well pleased with the fast response.
5 Professional, time-saving and reliable measurements
The integration of the GTM can be implemented very easily in Magento 1 and 2 with this module. Especially helpful are the import scripts that automatically create the triggers and tags in the GTM. Everything worked perfectly for us and as we wanted it to: turnover, product performance, buying behaviour, payment behaviour. Even the SKU for dynamic remarketing is easy to set up! I can only recommend it (for Magento 1 & 2) :-)
5 Works perfectly
Highly recommend using this extension, it saves hours of development time. There's excellent support if you need it too! Thank you.
4.7 GA4
We bought this extension to integrate with GA4. Extension comes with GA4 JSON file which we imported within GTM and added our measurement id. We can see data in GA4 straight away using debug view. Within 24 hours we can see conversion data as well. Definitely recommend this module to others!
5 Amazing support
Product is great as we can see data in UA and GA4 but well pleased with support team and their response time!
4.7 Well pleased with knowledge and support
SCommerce team is very responsive and quite knowledgable about GA4 subject. GA4 interface and reporting are quite new for us so they helped us creating some custom reports in GA4 and data is coming through absolutely fine. Thank you and would definitely recommend you guys to others!!!
5 A must-have extension for GA configuration via GTM in Magento
We've worked with hundreds of Magento stores over the years and with any serious eCommerce store, enhanced eCommerce for Google Analytics correctly integrated with Google Ads and implemented via Google Tag Manager is essential and this extension, just makes life a lot simpler providing you with all the GTM tags, triggers and variables making it a seamless process. Highly recommend considering this for any Magento website.
5 It works
This extension is a breeze to install. We were delighted with our purchase and the seamless integration of the ga4 json file into our GTM container. We could instantly see the data streaming into our GA4 analytic dashboard. We highly recommend anyone who wants to integrate their Magento store 2.4.6 with GA4.
5 Great customer support
Plugin works fine and the technical support was very efficient and quick. Thanks
5 excellent quality and great support
We're an agency and we've used this module for a number of clients. The quality is excellent and Scommerce's support is fast and responsive. I recommend it to everyone.
5 Works perfectly
Highly recommend using this extension. Technical support very efficient. Thanks!
Composer Package name:
Latest Version:

Product description

Magento 2 Google Tag Manager Pro Google Analytics 4 (GA4) Tracking

Compatible with Magento 2 community and enterprise 2.3.3 - 2.4.x including cloud edition

Google Tag Manager (GTM) for Magento 2 integrates with Google Analytics 4 (GA4), Google Adwords, Conversion, Remarketing, Enhanced E-commerce, Facebook, and many more tracking. This GTM extension allows you to integrate GTM on your Magento 2 website seamlessly.

A FREE Google Tag Manager Account is required to use this extension.

Why we need Google Tag Manager Pro?

Google Tag Manager is a tag management system that allows you to quickly and easily update tags and code snippets on your website. With the help of our extension, you can add Enhanced E-commerce, Google Remarketing, Facebook Pixel, Facebook Conversion, Microsoft Bing Ads Enhanced Conversion and many more tracking effortlessly.

A tag is a snippet of code that sends information to a third party, such as Google. If you don't use a tag management solution such as Tag Manager, you need to add these snippets of code directly to files on your website. With Tag Manager, you no longer need to maintain each of these code snippets in your source files.

GTM pro helps you to track not only Enhanced E-commerce tracking but many others like Facebook, Google Analytics, Marin Software, Google Adwords and many more trackings via Google Tag Manager. We provide GTM friendly JSON files for Enhanced E-commerce, Dynamic Remarketing, and Facebook Audience / Conversion. You can simply login to your GTM account and import these files using admin -> import container option.

Google Analytics 4 Enabled - New Feature Added

Google Tag Manager pro enables you to implement Google analytics 4 an upgraded version of universal analytics on your store. You can directly import the tag manager configurations for GA4 using our JSON file provided with the extension. It is very easy to use and will enable google analytics 4 within minutes.

Enhanced Ecommerce Tracking

Enhanced Ecommerce Tracking

Enhanced Ecommerce Tracking helps you track all the events that occur upon browsing your store such as page views, products clicks, product impressions, checkout, purchases, refunds, etc. It sends this information to Google Analytics for detailed reports that can provide you in depth insights into customer behavior and product performance.

Google Adwords and Dynamic Remarketing Tracking

Google Adwords Dynamic Remarketing

Google Adwords help you display advertisements to your customers for increasing visitors and conversions. Dynamic Remarketing Tracking can enable you to show custom tailored ads to your customers who have either visited your store on web or mobile. Your ads can include both products and services. Having custom ads can bring back visitors and improve sales performance.

Google Analytics 4(GA4)

Google Analytics 4

Google Analytics 4 is the latest version of analytics released by Google. It integrates App+Web analytics together into one platform. The GA4 has a new improved and fluid user interface that lets you see all the insights into the data. It utilizes events to collect and measure the data into the analytics. GA4 is a much more improved version than its predecessors and provides much precise data analysis with in-depth integration. Learn more about Google Analytics 4 .

Facebook Pixel Conversion Tracking

Facebook pixel

Facebook Pixel tracks actions taken by customers while browsing your store and sends a report. It can help you determine whether the product was purchased by viewing a Facebook Ad or not. If a Customer comes to your store from your Facebook Ad then you can reach out to that customer again using Custom Audience. The higher the number of conversions, the more efficient the Facebook pixel will be. It tracks conversions and delivers Ads accordingly.

Pinterest Tracking

The extension implements Pinterest tracking via GTM. It is used to improve campaigns and gain more conversions. You will be able to track some key Pinterest events as soon as you import the JSON file provided with the extension. The events track several actions performed by users on your store such as Page visits, viewing a specific category, searches, products added to cart, purchases, etc. We support the following events under Pinterest tracking:-

  • Page Visit
  • View Category
  • Add to Basket
  • Checkout
  • Search

Pinterest tracking

Supported Tracking’s & Tags

  • Universal Analytics
  • Google Analytics(GA4)
  • Google Ads Conversion Tracking
  • Google Ads Remarketing
  • Facebook Audience
  • Facebook Pixel Tracking
  • Floodlight Counter
  • Floodlight Sales
  • Conversion Linker
  • Google Optimize
  • Google Surveys
  • Custom HTML Tag
  • Custom Image Tag
  • AB Tasty Generic Tag
  • Adometry
  • AdRoll Smart Pixel
  • Audience Center 360
  • AWIN Conversion
  • AWIN Journey
  • Bizrate Insights Buyer Survey Solution
  • Bizrate Insights Site Abandonment Survey Solution
  • ClickTale Standard Tracking
  • comScore Unified Digital Measurement
  • Crazy Egg
  • Criteo OneTag
  • DistroScale Tag
  • Dstillery Universal Pixel
  • Eulerian Analytics
  • FoxMetrics
  • Google Ads Calls From Website Conversion
  • Cloud Retail
  • Google Flights Conversion Tracking
  • Google Flights Price Accuracy
  • Classic Google Analytics
  • Google Trusted Stores
  • Hotjar Tracking Code
  • Infinity Call Tracking Tag
  • K50 Tracking Tag
  • LeadLab
  • Linkedin Insight
  • Lytics JS Tag
  • Marin Software
  • Mediaplex-IFRAME MCT Tag
  • Mediaplex-Standard IMG ROI Tag
  • Bing Ads Universal Event Tracking
  • Mouseflow
  • AdAdvisor
  • DCR Static
  • Nudge Content Analytics
  • Oktopost Tracking Code
  • Optimise Conversion Tag
  • Message Mate
  • Perfect Audience Pixel
  • Personali Canvas
  • Pinterest Tag
  • Placed Inc
  • Pulse Insights Voice of Customer Platform
  • Quantcast Advertise
  • Quantcast Measure
  • Quora Pixel
  • SaleCycle Tag
  • SaleCycle Pixel Tag
  • SearchForce Tracking for Conversion Page
  • SearchForce Tracking for Landing Page
  • SearchForce Redirection Tracking
  • Shareholic
  • Survicate Widget
  • Tapad Conversion Pixel
  • Tradedoubler Lead Conversion
  • Tradedoubler Sale Conversion
  • Turn Conversion Tracking
  • Turn Data Collection
  • Twitter Universal Website Tag
  • Upsellit Confirmation Tag
  • Upsellit Global Footer Tag
  • Ve Interactive Javascript
  • Ve Interactive Pixel
  • VisualDNA Conversion Tag
  • Xtremepush – web Push & Onsite Engagement
  • Recommendations AI

Here are the main features of this module-:

  • It creates datalayer for Universal Analytics Enhanced Ecommerce tracking
  • It creates datalayer for Google analytics 4 Ecommerce tracking (NEW!)
  • It creates datalayer for Google Adwords Dynamic Remarketing tracking for Retails sites
  • It creates datalayer for Google Adwords Dynamic Remarketing tracking for Other sites with dynx_ variables
  • IIt creates datalayer for Facebook audience pixel tracking including dynamic product ads
  • It creates datalayer for Facebook conversation pixel tracking
  • It creates datalayer for Floodlight tracking
  • It creates datalayer for Conversation Linker
  • It creates datalayer for AWIN tracking
  • The extension implements Google Adwords Conversion Tracking
  • The extension implements Google Ads Enhanced Conversion Tracking(NEW!)
  • It creates datalayer for all Facebook standard events including PageView, ViewContent, Search, AddToCart, AddToWishlist, InitiateCheckout, AddPaymentInfo, Purchase and CompleteRegistration (
  • It implements Pinterest tracking with several events. (NEW!)
  • It implements Microsoft Bing Ads Enhanced Conversion Tracking  (NEW!)
  • It implements Snapchat Pixel Tracking (NEW!)
  • It fully supports HYVA Luma Checkout (NEW!)
  • It gives you the ability to enable or disable the Universal Analytics data layer
  • It gives you the ability to enable or disable the Google Analytics 4 data layer
  • It adds enhanced conversion PII data as either a Javascript variable or data layer push which is configurable from settings.(NEW!)
  • Separate Universal Analytics(UA) and Google Analytics 4(GA4) data layers for smoother and accurate tracking. 
  • Allows you to implement cookie based tracking. Define cookies from the configuration. (NEW!)
  • It creates datalayer for Marin tracking
  • It creates datalayer for Interstate Analytics tracking
  • It creates datalayer for Perfect Audience tracking
  • It creates datalayer for DoubleClick Floodlight Counter
  • It creates datalayer for DoubleClick Floodlight Sales
  • It creates datalayer for Google Optimize
  • It creates datalayer for Criteo OneTag
  • It creates datalayer for Google Surveys Website Satisfaction
  • It creates datalayer for Pinterest tracking to track page view, add to cart and checkout events
  • It creates datalayer for many other pixel and conversation pixel tracking
  • It works with sub-domains and multi-domain websites **
  • It comes with an e-commerce tracking and send all the item level information to Google
  • It supports Enhanced Ecommerce Shopping Behaviour Report using data layer
  • It supports Enhanced Ecommerce Checkout Behaviour Report which measures Magento checkout steps using data layer
  • It supports Enhanced Ecommerce Product List Performance Report using data layer
  • It supports Enhanced Ecommerce Product Performance Report using data layer
  • It supports Enhanced Ecommerce Sales Performance Report using data layer
  • It fully supports internal promotion data with promotional view and promotional click
  • It captures product Impressions, add to cart & product clicks events on category page
  • It captures product Impressions, add to cart & product clicks events on product page
  • It captures product Impressions, add to cart & product clicks events on advanced search and search result pages
  • It captures product Impressions, add to cart & product clicks events on related products
  • It captures product Impressions, add to cart & product clicks events on cross-sell products
  • It captures product Impressions, add to cart & product clicks events on up-sell products
  • It allows you to send product impressions to Google on scroll event instead of sending huge of amount data in one go especially when you have loads of products on your category page(NEW June 2018!)
  • It fully supports GDPR requirement related to third party cookies. You can either use our GDPR extension or third party extension to fully compliant with GDPR requirements
  • It captures refunds against the original transaction
  • It tracks Backend/Admin Orders
  • It measures complete checkout process including billing, shipping, shipping method, payment method and order review steps
  • It measures checkout steps with user selected option For example, shipping method selected as 'next day delivery' or payment method as 'PayPal' will be shown in the events
  • It capture promotion data with each transaction including promotion or coupon code
  • It measures transactions with specified local currency
  • It supports Google Adwords Dynamic Remarketing and capture data on home, product, category, search, checkout and order confirmation page using data layer
  • You can assign a primary category to a product and only send that to the analytics (NEW!)
  • Option "Send Parent Category" available in the configuration If set to “Yes” then send only the Parent category path to the analytics. If set to “No” only category name will be sent (NEW!)
  • Option "Always Send Parent SKU" available in the configuration to send only the parent SKU when set to “Yes” instead of child SKU (NEW!)
  • It fully supports Google Consent Mode V2 (NEW!)
  • Option in the configuration to send or not send the VAT with order total to analytics
  • All the configurations are included in JSON files with this extension to save you the hassle of setup. You can directly import them and start tracking
  • This module can be completely disabled whenever required via system configuration in admin

Main features of GA4-:

  • Use the Google Analytics 4 events to measure all actions on your website get an in-depth insight
  • Google Analytics 4 will provide you artificial intelligence driven insights into the data
  • Much improved analytics interface to get a better understanding of your audience
  • Send much more precise and granular data to GA4 such as item lists for the selected product

How to Import Universal Analytics JSON File for Google Tag Manager Pro?

We have implemented this module on our demo website for you to have a look, please email us your gmail ID and we are more than happy to share our test GTM and Google Analytics account with you.

Compatible with Magento 2 community and enterprise 2.3.3 - 2.4.x including cloud edition

Same version of Magento 1 module can be bought using the following link

We offer 60 days of free support and 12 months of free upgrade for any standard Magento site when you buy this extension. You can also get our installation service for a small fee. If you want more benefits, you can purchase our 12 months of free premium support and free lifetime upgrade package. Please contact us if you need any assistance or customization for this extension. We will reply to you within 48 hours. We may also offer you a special deal or a free solution if we like your idea.

** Please refer to our FAQ or T&C section for running our extensions on multiple domains or sub-domains

Please note: If you buy our installation service with this module then we are only going to setup only one tracking in your GTM account and for any other tracking you need to buy additional installation service.


Q. How can I manually uninstall your module?
A. Please follow the below steps -:

Step 1: Navigate to our store and login to your account. Then go to the My Account Section, on the left menu click on Composer Instructions.
My account section
Step 2: Next, run the config commands shown on the top of the page then click on the extension that you want to install. A composer require command will be revealed in the dropdown menu. Run the command then clear caches to complete the installation. Composer instructions
Q. Do you support SPA (Single Page Application) / PWA (Progressive Web Application) / AMP ?
A. Unfortunately, we don’t support SPA or PWA or AMP but we may be supporting them in future depending upon the demand.

Q. How can I get license key for my development website?
A. Please login to your account and Go to My account section > From the left menu select Generate Dev License key > Enter the Dev site url and select the extension from the dropdown and click on generate to get the license key
Q. Can I test the extension before buying?
A. Unfortunately we can't provide you extension for testing purposes but we have demo available for most of our extensions and happy to provide full refund if the extension doesn't work
Q. Can I request for customisation on your extensions?
A. Yes we do provide all sort of customisation for our clients at the reasonable rates. And if we believe the customisation will help our product then we also provide great discount on the customisation
Q. I have two live domains, do I need a separate license key for each live domain?
A. Yes you need to buy a separate license key for each live domain ( or sub-domain ( or subfolder ( If you are buying licenses for more than four live sites in one transaction then we can offer you 30% discount on total amount
Q. How can I upgrade my extension to the latest version?
A. If your extension is within the free upgrade period (12 months from purchased date) then simply email us with your order number and our team will send you the latest version of the extension but if it is outside free upgrade period then you need to buy an upgrade using the following link

Once you received the latest version of our extension then we would highly recommend to delete all the files and folder of our extension from your website first before uploading the latest version because we might have removed existing files and keeping existing files could cause problems on your website.
Q. Does my license get expired after certain period?
A. No, your license is not going to get expired but we would highly recommend upgrading to get all the latest fixes (including security fixes if any), improvements and new features. In the upgrade, we also ensure it is compatible with the latest version of Magento and when you upgrade you will have a smooth transition.
Q.Where can I download the extension files?
A. Please login into your account on our website and go to the download link under my account section to download the extension package.
Q.Can you provide a key that works for our development (NOT PRODUCTION) environment which will work on a dynamic URL, for example, and
A. Unfortunately it is not possible to generate license keys based on the dynamic URLs. License keys need to be generated per domain or subdomain whether it is production or non-production.
Q. What does Google Tag Manager do?
A. Google Tag Manager is a free tool that allows you manage and deploy tracking codes on your website without having to modify the code. It allows your technical people to focus on other challenging tasks instead of coding each individual marketing tag on your website.
With Google Tag Manager you can implement Enhanced Ecommerce, Google Ad Conversion, Google Ad Remarketing, Floodlight Counter, Floodlight Sales, Conversion Linker, Google Optimize, Google Survey Website Satisfcation, AB TASTY Generic Tag,Adometry, AdRoll Smart Pixel, Audience Center 360, AWIN Conversion, AWIN Journey, Bizrate Insights Buyer Survey Solution,Bizrate Insights Site Abandonment Survey Solution, ClickTale Standard Tracking,comScore Unified Digital Measurement,Crazy Egg,Criteo OneTag,DistroScale Tag,Dstillery Universal Pixel,Eulerian Analytics,Google Trusted Stores,Hotjar Tracking Code,Infinity Call Tracking Tag, Intent Media - Search Compare Ads,K50 tracking tag,LeadLab, LinkedIn Insight, Lytics JS Tag,Marin Software, Mediaplex - IFRAME MCT Tag, Mediaplex - Standard IMG ROI Tag, Bing Ads Universal Event Tracking, Mouseflow, AdAdvisor, DCR Static Lite, Nudge Content Analytics, Oktopost Tracking Code,Optimise Conversion Tag,Message Mate,Perfect Audience Pixel, Personali Canvas,Placed,Pulse Insights Voice of Customer Platform,Quantcast Measure,SaleCycle JavaScript Tag,SaleCycle Pixel Tag,SearchForce JavaScript Tracking for Conversion Page, SearchForce JavaScript Tracking for Landing Page, SearchForce Redirection Tracking, Shareaholic, Survicate Widget, Tradedoubler Lead Conversion, Tradedoubler Sale Conversion,Turn Conversion Tracking,Turn Data Collection,Twitter Universal Website Tag, Upsellit Confirmation Tag, Upsellit Global Footer Tag, Ve Interactive JavaScript,Ve Interactive Pixel,VisualDNA Conversion Tag, Xtremepush - Web Push & Onsite Engagement, Yieldify and many more. It also keeps all the tracking in one location for you to easily maintain (add / update / remove)
Q. How do you setup trackings in GTM?
A. You can import JSON container files within GTM (admin -> import container). The JSON container files are provided along with your extension. Please follow set up guide for further information
Q. I have setup remarketing in GTM using your setup guide but I don't see conversion in GA or Google AdWords account?
A. To record conversions in AdWords or Analytics against your campaigns you will need to use the conversion pixel in GTM. Although the remarketing pixel does mention "conversion ID," it does not record conversions.
Q. How can I test whether all my tags are getting fired?
A. You can login to your GTM account and click on preview button on the top right corner of the screen. Once preview mode is on you can go on to your website and you will start seeing instant result on tags based on the events associated with them. For more information, please visit the following link -:
Q. Does this extension create all tags, triggers and variables in GTM automatically?
A. The extension provides JSON files which you can simply import in GTM to set up tracking under GTM using ADMIN -> CONTAINER -> IMPORT CONTAINER option. It comes with three JSON files Enhanced Ecommerce, Facebook Pixel and Google Remarketing. Once imported please change the variable section to add GA, FB and Dynamic Remarketing Conversion ID
Q. We have setup everything correct, but GA tracking is not appearing on the site?
A. Please check the variable i.e. GA ID and make sure it has correct GA account ID specified and also make it remains as "Constant" variable.
Q. Why Google Analytics has some missing transactions?
A. Missing transactions could be for a number of reasons -:
  • The user who has made the transaction had his or her JavaScript or cookies turned off
  • The user is using an ad blocker or any other privacy related browser extension
  • The user has left the page before the transaction has had chance to send to Google Analytics
  • There might be a JavaScript issue on the order confirmation page
  • Your payment gateway provider has their own order confirmation page so customer never come back to Magento order confirmation page.
  • Order confirmation page doesn't get loaded with certain payment methods.
Q. Can I track promotions? For instance, see which banner from our home page has the best results, or if a banner on the left column is being clicked. How is it presented on the GA?
A. Yes our module does track promotions. It captures order coupon code and also tracks any banner on your website by tagging it with the following attributes -:
  1. data-promotion
  2. data-id
  3. data-name
  4. data-creative
  5. data-position
Here is the example of tagging your banners in Magento Admin (Pages or CMS Block)
<a data-promotion="true" data-id="homepage_1" data-name="Women Home Page Promotion" data-creative="homepage_banner_1" data-position="1" href="">
<img src="" alt="Style solutions - covet-worthy styles in travel-friendly fabrics - Click to Shop Woman"/>
You can see the data in Google Analytics under Ecommerce -> Marketing -> Internal Promotion.

Q. What is the difference between the Enhanced Ecommerce tracking extension and also the Enhanced Ecommerce with Google Tag Manager tracking extension?

A. GTM pro helps you track not only Enhanced Ecommerce tracking but many others like Facebook, Google Analytics, Marin Software, Google Adwords and many more trackings via Google Tag Manager. Our Enhanced Ecommerce module is completely focused on Google enhanced ecommerce on so you would have more features in that module in comparison to our GTM pro module. For example:- It comes with an option to link two google analytics accounts which is not part of GTM pro.

Q. Is the GA code inside the GTM module itself?
A. We have dataLayers for GTM so you should be able to implement most of the trackings using GTM only.
Q. Does this module support GTM consent mode?
A. Yes it fully supports GTM consent mode especially if you are using our GDPR / Cookie popup extension. You can also checkout our blog page for more information 
Q. Does this module support GTM server side tagging using GTM server container?
A. Yes it fully supports GTM server side tagging. You can also checkout our blog page for more information 
Q. How can I install the module on Hyva Theme?
A. Run the composer config commands found in the My Accounts>Composer Instructions section then run the below given require command to install the module:-
composer require hyva-themes/magento2-scommerce-googletagmanagerpro
Q. How can I install the module on Breeze Theme?
A. Run the composer config commands found in the My Accounts>Composer Instructions section then run the below given require command to install the module:-
composer require scommerce/breeze-googletagmanagerpro
Q. Why do I see page not found or 404 error with gtm.js?
A. This happens because either your GTM Account ID is invalid or you haven't published your container in Google Tag Manager
Q. On category page, when I check id or brand fields in the data layer, they show blank, not sure why?
A. Go to Admin -> Stores-> Attributes -> Product . Now search for sku or brand attribute, once found click on the attribute to edit and make sure "Used in Product Listing" is set to yes.
Q. For GDPR compliance, I am asking my customers to accept whether they are happy for us to use third party cookies for sending personal identified information (PII) or not. Can I integrate this extension so that I can turn on or off sending data to GTM based on customer preference?
A. Yes, if you are using our GDPR extension then you just need to set Enable GDPR cookie check setting to "YES" in the system configuration of our module but if you are using some other third party GDPR extension then you need to ask extension developer to confirm the name of the cookie which you can enter in the GDPR Cookie Key settings in the system configuration of our module as follows:-
gtm gdpr settings
Once you have these settings then please follow the below steps in GTM :-
  1. Step 1 - Create a new variable named "acceptance_cookie", variable type should be 1st-Party cookie and give the name of the cookie as "Your_cookie_name"
  2. Step 2 - Create a new trigger named "Acceptance Cookie", trigger type could be anything like GTM.DOM, Pageview, Custom Event etc. and based on the trigger type choose some custom events or some pageview and add the following condition

    - From first dropdown - select variable name created in Step 1 i.e. "acceptance_cookie"
    - From second dropdown - select equals
    - Third Input box - put value 1

  3. Step 3 - Associate the trigger created in Step 2 ie.. "Acceptance Cookie" with any existing tag and that tag will ony fire when customer accepts the cookie on your website
Q. Can I setup Google Analytics 4 with this extension?
A. Yes our extension supports google analytics 4. You can use it to setup the latest google analytics 4 within minutes.
Q. Can we use universal analytics and Google analytics 4 together?
A. Yes, you can. Our extension will help run GA4 alongside universal analytics.
Q. How can I track GA4 promotions on my Magento 2 store?
A. In order to add and track promotions, you will need to add a piece of code snippet in the anchor tag. In the code snippet, you can include several data that you want to send to GA4 for example, data-id, data-position, data-creative, data-name, etc. Please refer to the example below:-
In this example we have added this code snippet to the anchor tab:-
data-id="yogapromo" data-position="1" data-creative="Creative - Sales on yoga" data-name="Name - Sales on yoga equipments" data-promotion="1"
Q. I can not see the value of page type, id, and value. How can I resolve this issue?
A. you need to change the value of the respective variables depending upon the whether you have Enable tracking for other sites enabled or disabled. If it is set to "yes" then change the variable values as dynx_(name) for example the total variable name looks like "google_tag_params.ecomm_totalvalue" you have to change it to "google_tag_params.dynx_totalvalue". Similarly, change all three variable names and you will be able to see the correct values coming through. Also, if you have this configuration set to "no" then change back the values of the variables to the previous one i.e ecomm_(name). gtm value not coming faq
Q. I have GTM trackings setup from your extension. The Facebook Initiate Checkout Event is firing on both the Checkout and cart page. How can I fix this to only fire on the checkout page?
A. You need to change the CheckoutInitiate trigger in GTM and change the condition from "contains" to "ends with" as shown in the screenshot below. This will trigger Facebook Initiate on the checkout page only. Alternatively, you can change to use "checkout/cart/" to Facebook Initiate on cart page only.gtm facebook initiate
Q. How do I implement cross domain tracking on my store ?
    • Go to Google Tag Manager container.
    • Edit the Universal Analytics tag
    • More Settings>Field to set> add “allowLinker” “True”
cross domain tracking
    • Scroll down to find Cross Domain Tracking> Auto Link Domains add both domains comma separated.
cross domain tracking
  • Save and publish the container.
Q. Is your extension supports Automatic 8KB payload limit mitigation
A. Yes it does support Automatic 8KB payload limit mitigation.

Send Product Impression on Scroll configuration in admin allows you to send product impression data on scroll instead of all in one go.

Q. I can't see any data in "Ecommerce Purchases" report under "Monetization". Is there a way to fix it?
A. This issue is faced by some people after latest updates in GA4 especially who have used filters before in this report . The Ecommerce Purchases report under 'Monetization' is not populated. If the "Ecommerce Purchases" report deosen't have any data and there's a warning showing up then you will have delete this report and create a new one as mentioned in this guide:-
Q. How can I check Transactions using Transaction ID in GA4
A. Transaction ID is available in the dimensions in the custom reports. Normal reports do not have transaction ID. To create a custom report go to GA4 property>Explore>Blank Add dimensions and metrics with inputs such as Transaction Data, date etc. Populate the rows and columns with these inputs and you will have a custom report as shown in the image below:-

Q. Does our module support cross browser tracking?
A. When it comes to cross-domain tracking, it's entirely managed by Google. The key is to ensure proper configuration within your GA4 property. Make sure all relevant domains are listed under the "Domains" section in your GA4 settings. For a step-by-step guide, you may find this video helpful: Cross Domain Tracking

If you've followed these steps diligently and encounter any challenges, we recommend checking the Troubleshooting section in the following link:
Q. Does this module support Google Consent mode v2?
A.Yes, our module supports Google consent mode v2, we just request you to purchase Magento 2 GDPR Compliance: Anonymisation of order data (Magento 2 GDPR) and complete the setup using our guide -
Q. Does this module support Microsoft UET Tracking?
A. Yes, the module supports Microsoft UET/Bing Ads tracking with various custom events such as view item, add product to cart, remove product from cart, begin checkout, add shipping info, add payment info, purchase. A JSON import file with all the relevant tags, triggers and variables are included with the module.
Q. Does the module Collect PII data which can be used for Enhanced Conversion?
A. Yes, the module collects PII data but you have make sure that the following configuration is enabled Admin-System-Configuration-Scommerce Configuration-Tracking Base-Enable Enhanced Conversion. The PII data gets pushed as a data layer or a Javascript variable which is again configurable by setting Admin-System-Configuration-Scommerce Configuration-Tracking Base-Send Conversion Data using data layer to "Yes". When set to "No" the Javascript variable gets pushed.
Q. Do I need to reimport JSON files after module version upgrade?
A.Yes, you need to reimport JSON files provided with the module into your GTM container after every module version upgrade as we change these files from time to time as per the updates/changes in our data layers. This is essential to ensure the correct functionality of all the tags in the gtm container.

Change Log

Version 3.0.28
2024-06-20 06:08:00
This release includes several enhancements and fixes that improve integration with Google Tag Manager and ensure smoother operation with Magento 2.4.7 and beyond.
What's New:
- Snapchat Integration: Added a Snapchat JSON file for easy import into your GTM container, streamlining the setup process.
- Facebook Pixel Update: Updated the Facebook JSON file to utilise Facebook Pixel tags, replacing the CUSTOM HTML tag to prevent CSP errors in Magento 2.4.7+.
- Order Item Array: Included an order item array under the conversion PII event for more detailed tracking.
- Event Indexing: Added an 'index' parameter to all events to maintain consistency across data tracking.
- Remove from Cart Event: Resolved an issue where the "remove_from_cart" event was triggered twice within the HYVA theme.
- PII Data Handling: Fixed the exposure of PII data as a global JavaScript variable which can be used in GTM along with purchase event if needed
- Wishlist Event: Addressed a bug where the wishlist event was not functioning as expected on Magento 2.4.7 and PHP 8.2.
- Add to Cart Event: Corrected the add to cart event to ensure compatibility with custom options.
Version 3.0.27
2024-06-07 09:19:13
Successfully addressed and rectified all Content Security Policy (CSP) inline script issues, ensuring full compatibility with Magento version 2.4.7
Version 3.0.26
2024-05-08 09:20:44
The following changes have been made -:
- Addressed an issue where the use of jQuery might interfere with the consent data. We've changed the code to use native JavaScript function instead to ensure compatibility.
- Enhanced consistency in item price and total value across all the events. This update ensures accurate reporting regardless of the 'include VAT' configuration option.
- Further refined the price data to maintain consistency when the 'send base data' configuration is turned on or off. Previously, even when set to 'NO', base currency data was erroneously sent in certain events. This has now been corrected.
Version 3.0.25
2024-03-27 11:35:16
The following changes have been made -:
- Enhanced data layers by incorporating currency and value metrics for various events, aligning with GA4's best practices.
- Streamlined event tracking by combining refund and partial refund into a unified event.
- Corrected the payment_info event to accurately reflect payment type details instead of shipping information.
- Introduced a JSON configuration file to facilitate Microsoft Bing Enhanced Conversion Tracking, featuring multiple custom events.
- Integrated a JSON file to bolster Google Ads Enhanced Conversion Tracking through the data layer. Introduced a configurable option that, when enabled, transmits data via the data layer; if disabled, it defaults to sending data as a JavaScript variable.
Version 3.0.24
2024-03-25 07:46:07
Resolved a minor issue on success page when consent was getting sent prior to conversion PII event related to Google Ads Enhanced Conversion Tracking
Version 3.0.23
2024-03-21 16:35:47
We have improved processing of currency and price data in all events to have consistency. Minor bugfixes of view_item_list event for Upsell and Related products. Added new configuration that allows to send Google Ads Enhanced conversion PII data in data layer format which can easily be integrated in Google Ads Conversation Tracking Tag in GTM
Version 3.0.22
2024-03-05 16:51:08
Added a new feature that connects our GDPR and GTM extensions with Google's Consent Mode v2 (CMv2), a feature that lets you adjust Google tags based on user consent. If you use our GDPR extension, you can activate this feature by enabling consent mode in our GTM tracking base and mapping the cookies.
Version 3.0.21
2024-01-29 10:36:29
Updated installation scripts and code quality for Magento Marketplace. We replaced the installation scripts with db_schema.xml to comply with Magento standards. We also applied code sniffer fixes to improve the code quality and readability. Also fixed the issue that prevented the tag from showing the correct item ids and total value in the data layer, based on the products displayed on the home, other and search result pages. This enhances the accuracy and effectiveness of the remarketing campaigns.
Version 3.0.20
2023-12-06 11:20:31
Fixed Invalid form key message when adding product to cart and Fixed a minor bug on cart / basket page related to category split on Hyva theme
Version 3.0.19
2023-12-04 14:20:35
Resolved an issue that caused incorrect product prices to be sent to Google Analytics 4 (GA4) for related, upsell, and cross-sell products as part of view_item_list event. The product prices are now correctly sent according to the extension configuration, either including or excluding VAT.
Version 3.0.18
2023-08-03 09:50:48
- New configuration option to enable or disable sending refund event on order cancellation. This can be useful for tracking the refund rate and revenue loss due to cancellations.
- JSON files updated to use GA4 datalayer by default instead of UA datalayer.
- Fixed issue related to sending product price including or excluding tax based on the configuration. This will ensure that the product price is consistent and accurate across different events and reports.
- Fixed quantity value to whole number for Wishlist event as it was causing issue.
- Separated parent and child categories for admin purchase and refund events. This will allow Google to receive the item_category and item_category2 fields separately for each product. For example, item_category will have Women and item_category2 will have Jacket instead of item_category having Women -> Jacket.
- Fixed issue related to credit memos were only getting sent when send admin order configuration was set to YES. This will ensure that the credit memo events are sent regardless of the send admin order configuration.
Version 3.0.17
2023-05-26 09:37:24
Improved Ajax Wishlist interaction
Version 3.0.16
2023-05-12 15:24:23
Fixed bug related to configurable product with customizable options
Version 3.0.15
2023-04-26 06:43:10
Added Breeze Compatiblity and fixed import files for Adwords Dynamic Remarketing, Facebook and Pinterest
Version 3.0.14
2023-04-06 14:16:52
added hashed data to enhanced conversion
Version 3.0.13
2023-03-15 18:48:22
- Fixed issue related to minify of HTML and JS which was showing toLowerCase error with PageType in console.
- Also added Pinterest JSON file compatible with GA4 and fixed existing Pinterest JSON file for PageVisit event to call only on product page.
Version 3.0.12
2023-02-10 09:11:06
Additional Enhancements and fixed data layer code for a few events.
Version 3.0.11
2022-12-19 06:57:43
Added support of ajax wishlist extensions
Version 3.0.10
2022-12-15 10:58:06
Removed dependency with add to cart mixin in tracking base
Version 3.0.9
2022-12-09 14:35:53
Fixed category representation for Google Analytics 4 data format
Version 3.0.8
2022-11-11 11:57:38
Updated Enhanced Conversion GTM JSON file
Version 3.0.7
2022-11-09 08:45:47
Fixed data layer for view_cart event and also fixed few issues related to Magento 2.4.5 and PHP 8.1
Version 3.0.6
2022-10-19 08:00:09
- Fixed issue related to list name in UA and GA4 especially when list scrolling is turned on.
- Also trimmed extra spaces from product name.
- Also done fixes related to GDPR and force decline configuration to not send data to GA unless consent has been given by customer.
Version 3.0.5
2022-10-03 11:45:39
Improved interaction with module GDPR/CookiePopup
Version 3.0.4
2022-09-22 11:06:49
Added feature to enable enhanced conversion tracking for Google Adwords to target actual customers.
Version 3.0.3
2022-09-21 16:02:28
Fixed issue related to multi shipping checkout
Version 3.0.2
2022-09-16 12:37:52
Added separate data layers for Universal Analytics(UA) and Google Analytics 4(GA4) to get more accurate reporting based on Google recommendation.
Version 3.0.1
2022-06-02 12:27:03
Fixed minor issue related to thousand separator with prices.
Version 3.0.0
2022-05-16 11:04:58
- Refactored code by separating core Google Analytic logic to separate "tracking base" module.
- Also introduced flexible checkout steps configuration where custom selector IDs can be added to send checkout steps to Google Analytics. This might help with different third party checkouts.
Version 2.0.42
2022-04-21 10:08:38
Made it compatible with Magento 2.4.4. Added multi-checkout support and fixed minor issues related to PayPal button on PDP
Show More
Show Less

Reviews 28

Write Your Own Review
Write a Review
You may also like