Magento Google Tag Manager with Enhanced Ecommerce Tracking

£84.99 Excluding VAT

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

* Required Fields

Backend Demo Url
Frontend Demo Url

Magento GTM extension for major trackings including Adwords Remarketing, Enhanced Ecommerce, Facebook Pixel including Dynamic Product Ads and many more tracking

This module allows you to integrate Google Tag Manager on your Magento webstore with minimal effort

Here are the main features of this module-:

  • It allows you to integrate with Google Adwords Dynamic Remarketing tracking
  • It supports Google Adwords Dynamic Remarketing and capture data on home, product, category, search, checkout and order confirmation page using GTM data layer
  • It allows you to integrate with Facebook Audience Pixel tracking including dynamic product ads
  • It allows you to integrate with Facebook Conversation Pixel tracking
  • It allows you to integrate with Facebook Dynamic Remarketing and capture data for ViewContent, Search, AddToCart, InitiateCheckout, AddPaymentInfo, Purchase ( using GTM data layer
  • It allows you to integrate with Marin tracking
  • It allows you to integrate with AWIN tracking
  • It allows you to integrate with Google Optimize and add page-hiding coding snippet
  • It allows you to integrate with Interstate Analytics tracking
  • It allows you to integrate with Perfect Audience tracking
  • It allows you to integrate with Custom HTML tag tracking with data layers
  • It allows you to integrate with many other pixel and conversation pixel trackings
  • It works with sub-domains and multi-domain websites **
  • It allows you to integrate Enhanced Ecommerce tracking (
  • It allows you to setup cross device linking via remarketing or enhanced ecommerce using Magento user id or customer email address
  • 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 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 supports internal promotions and measure both impression and clicks of the site promotions, such as banners displayed on the specific pages or site wide offer for free shipping.
  • It captures refunds against the original transaction
  • It fully supports GDPR compliance with our GDPR extension or any other third party GDPR extension (NEW!)
  • It creates data layer after successful submission of contact us or registration form
  • It creates data layer after successful submission of contact us or registration form
  • It creates data layer with user information when logged in. For example email address for interstate analytics
  • It supports IWD one page checkout, MageStore one step checkout, Firecheckout, GoMage, Mage Solution, MageStore, Anattadesign Awesome checkout, AW One Step Checkout and Magento Standard Checkout
  • 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
  • This module can be completely disabled whenever required via system configuration in admin

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

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 community: 1.4.x - 1.9.x and enterprise: 1.8.x - 1.14.x

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. Can I send offline or phone order transaction to Google which I create uisng Magento admin?

A.Yes, you just need to enable Send Phone or Admin Orders setting in the system configuration of our module.

Q. Some of the tags are not getting triggered when I am on debug mode in GTM

A.There could be few reasons -:

  1. You haven't enabled dyamic remarketing tags / facebook tracking / enhanced ecommerce in Magento admin configuration. They should all be enabled for tracking to work properly.
  2. Check our user guide to make sure your tags, triggers and variables are set up correctly as depicted in our user guide. Please note: variable in GTM are case sensitive.

Q. Why do I get "Invalid or missing account ID" error in Google Tag Assistance?

A. Either you have put the wrong GTM code or you have GTM code with 7 or more digit number. Click here for more information

Q. Chrome Google Tag Assistance reporting that tag manager should not be in a div tag, how should I solve this?

<script> tag must not be included in a <div>

A. Please make sure your page column files /app/design/frontend/custom_theme/default/template/page/*column-*.phtml have before_body_end just before body closing tag, like shown below -:

<?php echo $this->getChildHtml('before_body_end') ?>

Q. Does the plugin add the appropriate dataLayer needed to capture a transaction on the confirmation page to pass to GA or does the dataLayer need to be manually added to the site

A.Everything will work fine if you follow the user guide exactly. Please ensure "enabled enhanced ecommerce features" is set to yes in GTM. This is achieved in your GTM environment.

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. Are additional tags needed to capture your base ecommerce tracking?

A. No additional tags are needed for ecommerce tracking to work.

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

Q. Can I implement cross-device linking using unique user id?

A. It creates data layer with user id and email address once customer is logged in which can be used to set up cross device linking by using google_user_id in remarketing or by sending to GA using Fields to Set option in GTM as part of page view

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 the system configuration of our module

Release Notes

Version 0.0.1 - New GTM pro module with Enhanced ecommerce and dynamic remarketing tracking

Version 0.0.2 - Updated user guide and moved js folder outside app directory

Version 0.0.3 - Fix to send prices for related and upsell products as they were coming zero

Version 0.0.4 - added support for IWD and Firecheckout, along with logged in user information on every page

Version 0.0.5 - added GoMage, Mage Solution, MageStore one page checkouts

Version 0.0.6 - added facebook custom html code in the set up guide to help copy paste the code

Version 0.0.7 - added additional data layer to support Criteo OneTag

Version 0.0.8 - Changed the code to meet Google guidelines and recommendation

Version 0.0.9 - fixed issues related to GTM pro extension when extension is not enabled

Version 0.0.10 - fixed pagination and sorting issue on category page

Version 0.0.11 - added new data layers for contact us form submission and registration completion

Version 0.0.12 - Added new feature to send phone orders to GA. Also checked whether module is enabled or not in observer functions

Version 0.0.13 - Added support for AW One Step Checkout

Version 0.0.14 - Fixed some issues related to phone orders and also fixed some notices in system.log related to brand information

Version 0.0.15 - Changed the way js files being included in the module to achieve magento best practices

Version 0.0.16 - Fixed issue related to GTM eventCallBack and Firefox private mode on category and product pages

Version 0.0.17 - Added internal promotion support to the extension for measuring both impressions and clicks on site promotion via banners. Also changed the code to use external jquery instead of local jquery

Version 0.0.18 - Removed to the use of jquery.cookie instead using core/session to rely more on server side instead of client side.

Version 0.0.19 - Fixed issue related to admin orders when placing order in multistore.

Version 0.0.20 - Fixed issue related to data layer is undefined error once logged in when dynamic remarkting tag is not enabled in admin. Also added GTM import container files for GA, FB and Dynamic Remarketing.

Version 0.0.21 - Problem with clicking on the product links from category pages because e.preventDefault wasn't working with different version of jquery so it has been replaced with e.preventDefault(e). Also fixed issue related to FB add to cart event in the GTM container file

Version 0.0.22 - Added support for AW one step checkout and Anattadesign Awesome checkout. Also refactored code to send checkout steps to GA

Version 0.0.23 - Added support for GDPR compliance, once customer has given the consent on using third party cookies for PII then you can turn your GTM tracking on but if they decline then it will be off and won't send data to GTM. For cookie consent and data anonymisation you can use our GDPR extension

Version 0.0.24 - Fixed jsUpsellProductUrls is not defined error on product page

Version 0.0.25 - Sending the exact category name of the product to Google using the exact category path used by the customer when they are browsing through the website either using category, search, releated or upsell products. Also fixed issue related to sending upsell and related product impressions to GA

Version 0.0.26 - Added page-hiding snippet code for google optimize

  1. Top notch support!
    Review by Adrian Mehew

    These guys know GTM ins and out, we were having problem setting up facebook and google remarketing in GTM for weeks and even our SEO company couldn't resolve it but after giving them access everything started working within couple of hours, very pleased with their knowledge and support, well done SCommerce team!

    (Posted on 15/10/2018)

  2. Excellent support!
    Review by Guy-Jacques

    Very good extension and great customer support. Prompt response from the support team. Well done guys!

    (Posted on 11/09/2018)

  3. GTM Expert
    Review by Clay J

    Extremely happy with the extension but most impressed with their GTM knowledge. They know their stuff for sure! Well done SCommerce team for helping us setting up our trackings seemlessly!

    (Posted on 01/04/2018)

  4. GDPR and GTM
    Review by Matt Warter

    We have had a lot of trackings on our website but because of GDPR we decided to get all our trackings in GTM so we approached Scommerce and they confirmed all our trackings can be achieved using their plugin. We bought this extension and with the help of Scommerce team we have managed to migrate all our trackings to GTM. Ofcourse we had to buy installation service from these guys but the service was great.

    From Happy Customer

    (Posted on 25/03/2018)

  5. Easy to install, works straight out of the box.
    Review by Martin

    Easy to install, works straight out of the box. Links your tag manager & analytics data with your AdWords account by adding the data layer to Magento store to show conversion data in AdWords. Great plugin.

    (Posted on 21/03/2018)

  6. Amazing module
    Review by Chas Alexander

    we can now track everything from mail clicks to facebook - setup was reasonably easy as well. Brilliant thank you

    (Posted on 24/11/2017)

  7. Saves Time & Effort
    Review by Justin Taylor

    This plugin is just what you need to add GTM to a Magento site with ease. All of the Tag Manager config instructions are there and perfect. Plus, big thanks to Shivani who went above and beyond to help with something well beyond the scope of the plugin itself.

    (Posted on 10/11/2017)

  8. GTM Expert
    Review by Alex G

    Really happy with the service these guys know their stuff. We bought extension with installation, bit pricey but I would say it is worth every penny because of their knowledge about GTM. Well done guys and keep up the good work. Thanks for all your help.

    (Posted on 15/06/2017)

  9. Works!
    Review by Gill Epps

    This extension works as expected, we had some teething problems but SCommerce team fixed it straight away. Really impressed with their step by step documention for GTM, well done guys! Keep it up

    (Posted on 08/03/2017)

  10. Great Product
    Review by

    If you are looking for a Magento solution that takes fully integrates with Google Tag Manager, this is it!
    The integration was seamless, and extremely easy to setup and use. We had some custom requests, and the Scommerce team completed them extremely fast.
    I definitely recommend this extension for any Magento e-commerce Store.

    (Posted on 01/06/2016)




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

How do you rate this product? *

 1 star2 stars3 stars4 stars5 stars
  • You may also like

    © 2018 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.