Magento 2
Magento 1

Magento 2 Google Tag Manager Pro Enhanced Ecommerce Tracking

£104.99 Excluding VAT

This Magento 2 extension allows you to install Google Tag Manager on your Magento 2 store which will help you integrate Enhanced Ecommerce, Google Remarketing, Facebook Pixel, Facebook Conversion and many more tracking with GTM.

* Required Fields


Google Tag Manager for Magento 2 which integrates with Adwords Conversion / Remarketing, Enhnaced Ecommerce, Facebook and many more trackings

This GTM extension allows you to integrate GTM on your Magento 2 website seamlessly

Here are the main features of this module-:

  • It creates datalayer for Universal Analytics Enhanced Ecommerce tracking
  • 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 AWIN tracking
  • It supports Amasty one page checkout, IWD one page checkout, MageStore one step checkout, MagePlaza, AW One Step Checkout and Magento Standard Checkout
  • It creates datalayer for all Facebook standard events including PageView, ViewContent, Search, AddToCart, AddToWishlist, InitiateCheckout, AddPaymentInfo, Purchase and CompleteRegistration (
  • 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 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(NEW April 2018!)
  • 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 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
  • This module can be completely disabled whenever required via system configuration in admin

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.0.x - 2.3.x including cloud edition

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

We provide 60 days free support and free upgrade from the date of purchase for any standard Magento site. Installation service is also available with a minimal charge of £50 with 6 months free support and free upgrade for any standard Magento Site. If you need any help with this extension or you want to enhance this extension to meet your business needs, please contact and we will get in touch with you. And if we like your idea we might do the solution at discounted rate or for free.

** 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.

Frequently Asked Questions

Q. How can I get license key for my development website?
A. If you want to get the license key for the developer website, please contact our team at along with order number and development site URL. The developer website can be on a separate Magento installation than your base domain for which the license was purchased
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. 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 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. 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. How can I manually uninstall your module?
A. Please follow the below steps -:

Step 1: Remove the module Scommerce_% from app/etc/config.php

Step 2: Drop module tables or columns from database, please check app/code/Scommerce/Module/Setup folder for more information

Step 3: Remove the folder app/code/Scommerce/%

Step 4: Remove module configuration settings from core_config_data table by running the following query
DELETE FROM core_config_data WHERE path LIKE 'scommerce%'
Step 5: Remove module from setup_module table by running the following query
DELETE FROM setup_module WHERE module LIKE 'Scommerce_%';
Q. Can I install or upgrade your Magento 2 packages using composer?
A. Yes you can by following the below steps -:

Step 1: Unzip our provided extension

Step 2: Create two separate zip files of the folders found in the following directory -:


which means you will ended up having two zip files "" and "{{extension_name}}.zip"

Step 3: Create packages/scommerce folder on your SSH server on the root of your Magento site

Step 4: Upload two zip files created in Step 2 "" and "{{extension_name}}.zip" to the packages/scommerce folder on your SSH server

Step 5: Update require section of your composer.json (sitting under root of your Magento site) with the following -:
"scommerce/{{extension_name}}": "^{{version_number}}", "scommerce/core": "^{{version_number}}"
You can check the version number and extension name from the composer.json under the following folder of the extension provided



Step 6: Update repositories section of your composer.json (sitting under root of your Magento site) with the following -:
{ "type": "artifact", "url": "packages/scommerce" }
Step 7: Run the following command on your ssh to install or update our package -:
composer require scommerce/extension_name
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. 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. Why are not all of my transactions tracked?
A. This could be because of a few reasons:
  1. The user who has made the transaction had his JavaScript or cookies turned off
  2. The user has left the page before the transaction has had a chance to be sent to GA
  3. There may be a JavaScript issue on the order confirmation page
  4. Order confirmation page does not get loaded with certain payment methods
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. 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. 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

Release Notes

Version 2.0.0 - Commiting initial versions

Version 2.0.1 - Fixed issues related to section ids, override customer-data.js

Version 2.0.2 - Further fixed issues related to section ids, override customer-data.js

Version 2.0.3 - Fixed issue related to customer-data.js

Version 2.0.4 - Fixed issue related jquerycookie declaration in gtm.phtml file

Version 2.0.5 - Changed module to with minify HTML

Version 2.0.6 - Added support for Dynamic Remarketing, Facebook and others. Also changed the code to support new Google Recommendation of moving GTM script to the head and noscript just after body start

Version 2.0.7 - Fixed issue related to brand dropdown. Also added missing variable in the documentation

Version 2.0.8 - Updated GoogleTagManagerPro module to support Magento marketplace standards

Version 2.0.9 - Fixed issues related to GTM pro extension when extension is not enabled

Version 2.0.10 - Added new configuration ajax add to basket enable or not to make sure if ajax add to basket is not enabled then our plugin should enable it on the website

Version 2.0.11 - Removed console.log from phtml files

Version 2.0.12 - Fixed issue related to adding product from wishlist to basket

Version 2.0.13 - Added feature to turn on dynamic remarketing for other sites using dynx_* variables

Version 2.0.14 - Fixed issue related to extra "\" in checkout_index_index.xml file with one of the block classes. Also added content_name in add to cart event of facebook tracking in facebook GTM container file

Version 2.0.15 - Fixed issue related to checkout steps. Also fixed single quote related issue on the transaction page

Version 2.0.16 - Removed overriding of the category listing class completely. Removed jquery_cookie override instead now using native Magento cookie. There is some refactoring around checkout steps to send checkout data to GA more efficiently. Also sending impression data on category pages only when display mode is not set to CMS block

Version 2.0.17 - Refactored code in the checkout area for sending checkout step information to Google

Version 2.0.18 - Fixed issue related to quoteData being undefined on onepage checkout

Version 2.0.19 - Added new feature to support internal promotions for Google enhanced ecommerce

Version 2.0.20 - Removed duplicate remarketing tag 'other' from the main pages. Also changed comments in system configuration for better description and for search pages added product category function

Version 2.0.21 - Removed layout declaration from layout.xml files as they where rendering unwanted or removed blocks in third party themes like ultimo

Version 2.0.22 - Added new feature to send product impression data on scroll event instead of load, this feature will be beneficial if you are showing loads of products on category or product listing page. Also made the extension compatible with GDPR compliance. Also fixed issue related to pagination and sorting on product listing pages including category and search result pages

Version 2.0.23 - Added escapeJsQuote for category name on success page.

Version 2.0.24 - Fixed issue related to 2.2.6 with Ajax add to basket and remove basket. Also fixed issue on the checkout as checkout steps were not getting tracked. Also modified FB json file to resolve duplicate FB pixel id issue

Product Reviews

Write a Review

Write your own review


You're reviewing: Magento 2 Google Tag Manager Pro Enhanced Ecommerce Tracking

  • © 2019 Scommerce Mage Ltd. All rights reserved. Your privacy and security are guaranteed. VAT registration number GB239 3674 77.
    Scommerce Mage Limited, Company Number 08765857, Registered in England and Wales.
    Registered Office: 39 Coresbrook Way, Knaphill, Surrey, GU21 2TR, United Kingdom.