Google Tag Manager

Compatible with Magento latest version community edition
Magento 2.4.x
SKU: module-gtm
Edition
  • Community
$199.00
  • Full Google Tag Manager (GTM) integration for Magento 2

  • Structured GA4 eCommerce dataLayer events (view_item, add_to_cart, purchase, etc.)

  • Accurate revenue, tax, shipping & coupon tracking

  • Supports Google Ads conversion tracking & remarketing

  • Clean, Magento-native implementation (no core overrides)

  • Hyvä & Luma compatible

!

The Problem

  • Store owners struggle to track customer actions accurately
  • Manual tracking code setup is time-consuming and error-prone
  • Missing ecommerce events leads to poor marketing decisions
  • Managing multiple analytics and ad tags becomes complicated

The Solution

Toweringmedia Google Tag Manager Extension connects Magento 2 with GTM for accurate ecommerce tracking, easier tag management, and smarter data-driven marketing.

How It works

1
Configure
Add your Google Tag Manager container ID in Magento admin and enable the extension with preferred tracking settings.
2
Track Events
Automatically send ecommerce data such as product views, add to cart, checkout steps, and purchases to GTM.
3
Optimize Growth
Use accurate data in Google Analytics and ad platforms to improve campaigns, conversions, and store performance.

See It In Action

Google Tag Manager for Magento 2

Unlock powerful tracking and marketing automation with a clean, reliable Google Tag Manager integration built specifically for Magento 2.

This extension provides a fully structured dataLayer that powers GA4, Google Ads, remarketing, and third-party analytics tools — without modifying Magento core files.


Why This Extension?

Many GTM implementations in Magento are incomplete, inconsistent, or unreliable. Revenue mismatches, missing events, and incorrect product data can break your reporting and advertising performance.

This extension ensures:

  • Accurate eCommerce tracking

  • Proper event sequencing

  • Clean JSON dataLayer output

  • No duplicate purchase events

  • Reliable transaction values

Built for merchants who depend on data accuracy.


Included eCommerce Events

The extension automatically pushes structured GA4-compatible events including:

  • view_item

  • view_item_list

  • select_item

  • add_to_cart

  • remove_from_cart

  • begin_checkout

  • purchase

Each event includes:

  • Product ID / SKU

  • Name

  • Category

  • Price

  • Quantity

  • Coupon (if applied)

  • Tax & shipping (for purchase)

  • Transaction ID


Revenue Accuracy

The purchase event includes:

  • Grand total

  • Tax amount

  • Shipping amount

  • Applied coupon code

  • Currency

  • Order ID

No more revenue mismatches between Magento and GA4.


Built for Performance

  • No blocking scripts

  • No unnecessary observers

  • Optimized event dispatch

  • Lightweight output

  • Cache-friendly implementation

Works seamlessly with:

  • Full Page Cache

  • Varnish

  • LiteSpeed

  • Hyvä Theme

  • Luma Theme


Google Ads & Remarketing Ready

Because the extension pushes a complete structured dataLayer, you can:

  • Configure Google Ads conversion tracking

  • Build dynamic remarketing audiences

  • Track ROAS accurately

  • Use Enhanced Conversions

  • Deploy Meta / TikTok / LinkedIn pixels via GTM

All without editing theme files.


Clean Magento Architecture

  • No core file modifications

  • Magento event/observer based

  • Version-safe implementation

  • Easy to upgrade

  • Compatible with Magento 2.4.x


Simple Setup

  1. Install extension

  2. Enter your GTM Container ID (GTM-XXXXXX)

  3. Publish your container

  4. Done

Tracking begins immediately.


Who Is This For?

  • Magento merchants running Google Ads

  • Agencies managing paid traffic

  • Stores migrating to GA4

  • Businesses that require accurate conversion tracking

  • Developers who want a clean GTM foundation

  • Full Google Tag Manager (GTM) integration for Magento 2

  • Structured GA4 eCommerce dataLayer events (view_item, add_to_cart, purchase, etc.)

  • Accurate revenue, tax, shipping & coupon tracking

  • Supports Google Ads conversion tracking & remarketing

  • Clean, Magento-native implementation (no core overrides)

  • Hyvä & Luma compatible

📘 Documentation

Get started quickly with our detailed user guide. The documentation covers everything from installation to GTM container setup, ecommerce tracking, and advanced configuration.

  • Step-by-step installation instructions
  • Google Tag Manager container configuration
  • Enhanced ecommerce event tracking setup
  • Google Analytics and Ads integration guidance
  • Testing and troubleshooting best practices

💬 Support

Need help? Our Magento experts are here to assist you with setup, configuration, and tracking troubleshooting.

  • Quick and reliable email support
  • Help with installation and GTM setup
  • Troubleshooting tracking and event issues
  • Guidance for Analytics and Ads integrations
  • Regular updates and compatibility support

The extension connects your Magento 2 store with Google Tag Manager, allowing you to manage tracking tags and capture ecommerce events without manual code edits.

Common events such as product views, add to cart, remove from cart, checkout steps, purchases, and customer interactions can be tracked depending on your setup.

Basic familiarity with Google Tag Manager is helpful, but the extension simplifies setup by automatically sending Magento ecommerce data to your GTM container.

Yes, accurate tracking data helps optimize Google Ads, Analytics reports, remarketing campaigns, and overall conversion performance.

  • Magento Version: Compatible with Magento 2.4.x (Open Source & Adobe Commerce)
  • PHP Version: PHP 7.4, 8.1, 8.2, 8.3 compatible
  • Framework: Built using Magento 2 native architecture (no core overrides)
  • Installation Type: Composer / Manual installation supported
  • Module Dependency: No additional dependencies required
  • Integration Type: Google Tag Manager Container Integration
  • Tracking Support: Enhanced Ecommerce Events
  • Compatible Platforms: Google Analytics / Google Ads / GTM
  • Container ID Setup: Admin configurable
  • Script Loading: Header / Body container placement
  • Multi-Store Support: Yes
  • Store Scope Configuration: Website / Store View level
  • Tracked Events: View Item / Add to Cart / Checkout / Purchase
  • Checkout Compatibility: Magento native checkout supported
  • Cookie Consent Ready: Can be configured with GTM consent mode
  • Admin Configuration Path: Stores → Configuration → Sales / General → Google Tag Manager
  • Security: No core overrides, Magento standard implementation
  • Performance Impact: Minimal (lightweight implementation)
  • Updates: Ongoing compatibility and feature improvements

Ready to Unlock Better Store Analytics?

Track customer behavior accurately, optimize campaigns, and grow Magento 2 sales with Google Tag Manager integration
$199.00

My Cart

Loading...

Customer Login

Checkout as a new customer

Creating an account has many benefits:

  • See order and shipping status
  • Track order history
  • Check out faster