Home » Magento, Magento Extension14 November 2015

Google Tag Manager (GTM): Magento Extension [FREE]

Google Tag Manager (GTM) is a FREE Magento Extension that allows you to integrate Google Tag Manager to your site. This extension also provides ecommerce transaction tracking feature. You just need to enter your Tag Manager container id in the extension’s configuration settings.

This module is compatible with Magento version 1.5 and later (Magento 1.5, 1.6, 1.7, 1.8, 1.9).

Google Tag Manager allows you to quickly and easily update tags and code snippets on your website or mobile app, such as those intended for traffic analysis and marketing optimization. You can add and update AdWords, Google Analytics, Floodlight, and 3rd party or custom tags from the Google Tag Manager user interface instead of editing site code. This reduces errors, frees you from having to involve a web developer, and allows you to quickly deploy new features or content onto your site. More: https://support.google.com/tagmanager/answer/6102821?hl=en

Configuration Settings

You can manage the extension settings from System -> Configuration -> CHAPAGAIN EXTENSIONS -> Google Tag Manager.

configuration settings menu

configuration settings

This extension can be installed from Magento Marketplace:
Google Tag Manager (GTM)

Magento Extension

Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed
  • Great work Mukesh, I will check this out.

  • Valdir Moura

    I installed the extension in my e-commerce. Everything is OK. After a while the Google tag manager accused an error:

    tag must not be included in a

    What to do?

  • Could you please check if any other module is writing some code just after the tag? It says in the link below that “Google Tag Manager Tag should be placed immediately after the opening tag and not inside any other HTML element.” https://support.google.com/tagassistant/answer/3207128?hl=en#script_section

  • Valdir Moura

    I installed its complement to magento and he entered the “tagmanager” in this place and within the “section”. Google asks that this is not done so. That is, the “tagmanager” is not inserted into any other tag, and that is just after the opening of the “tag” .

  • Ed


    I don’t have any data layer on my thank you page. Do you know why ? How ever I have it on my product pages. Thx.

  • Puneet Tripathi

    I installed the extension in my magento website, also installed tag assistance on chrome to check. Now i am getting 3 messages on order success page

    Number field should not be quoted: ‘transactionTotal’ ?
    Number field should not be quoted: ‘transactionTax’
    Number field should not be quoted: ‘transactionShipping’

    Please help me.

  • Lucas Castells


    I have one question about it. Does it support adwords + facebook remarketing? I mean, will it display the product_id, value and pageType on every product page?


  • Martin Hopkins

    I am finding sales over 1000 are showing up incorrectly in GA. It seems that GA does not like commas in prices, e.g. 1,234 shows as 1.23. I modified Gtm.php and used number_format in place of formatTxt and that fixed the issue for me.

  • Thanks for your commend. The module is updated. The latest version of this module solves this issue.

  • Günter Hagedorn

    Sounds interesting. How is the data layer used?