Go Dark Go Light
Stand with Ukraine!  How can you help?
FREE version available

Magento 2 Google Tag Manager & GA4

Magento 2 Google Tag Manager Extension is an advanced eCommerce solution that allows you easily include measurement codes and tracking pixels into your Magento 2 store with no code editing. It enables you to get in-depth reports on customers' behavior, conversions, impressions, checkout, and other events through Google Analytics 4.

Make data-driven decisions and adjust your marketing strategy with insightful data reports with the better Google Tag Manager for Magento 2.


Purchase with Magento 2 Facebook Pixel and get 10% OFF.

Compatibility:Magento 2.3.0 - 2.4.6 (CE, EE, ECE, B2B)
Version: 2.4.2
Special Price FREE Regular Price $79
one-time payment
Download Now Free Trial Live Demo
Magento 2 Google Tag Manager Extension

Forget About Code Editing

The implementation of the GTM code snippets usually requires you to edit and modify the source code of your store. Not anymore. With this Magento 2 Google Tag Manager Extension you only need to specify the GTM and GA4 tracking IDs in the admin panel. Now even non-technical store admins can add, edit and disable tags without having to rely on webmasters or technical support.

Simplify Google Tag Management

Making decisions that could influence your conversion rates positively or negatively is much easier when you have in-depth data reports to fall back on. Once you insert the Google Tag Manager tracking IDs in the admin, all you need is to export all required tags and import them into your Google Tag Manager account. It is as simple as that. No manual tag creation in the GTM account. The data about transactions, impressions, customer activities, and add-to-carts will be tracked in Google Analytics to give you insights into your store performance.

Google Tag Manager Tags
Magento 2 Google tag Manager Event Tracking

Keep an Eye on Customers' Shopping Behaviour

The customer shopping experience is key to better conversions. And advanced in-store behaviour tracking is key to better customer experience. Use Magento 2 GMT Extension to track almost every action your customers take in your store. Monitor their journey step by step and discover the bottlenecks that need to be eliminated. What products do customers view, add or remove from their shopping cart, how many customers went through the checkout step successfully and how many abandoned the process?


Measure Products Performance

Google Analytics E-commerce support enables you to get a concise picture of the performance of your products. Track and analyze product impressions and clicks by position in search results and category pages, user engagement (vising, adding and removing from a cart), conversions, revenue, quantity, CTR and more. Gathering all these data with Google Tag Manager Extension for Magento 2 will help you increase the average order value and determine the best way to incorporate a new marketing strategy.

Product Performance Report in Google Analytics
Checkout Performance in Google Analytics

Track Checkout Behaviour

Checkout is one of the most important and decision-driving steps in customers' journey. Although you’ve already optimized checkout on your store, Magento Google Tag Manager will make it better. Discover how successfully customers moved through each checkout step and determine what might cause the abandonment. Checkout funnel visualisation helps to see all actions customers take on checkout in detail and act upon this data.

Track All Conversions

Knowing how customers go through each step of your checkout helps to determine points for improvement. However, to learn how well your sales strategy performs you also need to track conversions.

Using this advanced Google Tag Manager with GA4 support, you can monitor all orders in your store. The extension helps to track orders made on the frontend and through the admin panel. Centralized data tracking is one click away!

track purchases checkout success page

Transform your digital strategy

Maximize the potential of your online presence by getting valuable insights

Track important eCommerce events

Coupon Performance Google Analytics

Measure Your Promotions Performance

If only you could track all the coupon-related data and see which coupon generated the most revenue. You actually can. Magento 2 GTM extension offers you the ability to track coupon performance by source and medium. Additionally, you can measure how much revenue each coupon is generating and the total revenue per coupon. It helps you to understand which marketing channels work better than others and which need to be optimized.

Enable Dynamic Remarketing

Remarketing is the best way to lure customers who viewed your website before back to your store. However, it doesn’t guarantee they will be back if you show them regular ads. Our Google Tag Manager solution support dynamic remarketing that solves the issue. It allows you to display personalized ads with products and services people viewed on your website. Tailor your message to different audiences with dynamic remarketing and increases the chances of driving more leads.

Google Ads Remarketing
Google Enhanced Conversions

Benefit from Enhanced Conversions in Google Ads

Magento GTM Extension is all about making data tracking easier for you. Same as Google. So, if you want to improve the accuracy of your conversion measurement, you’ll benefit from Google Enhanced Conversions.

Our extension allows you to capture customer’s email address through the conversion tracking tags. This data is then hashed in a safe form and sent to Google Ads for better conversion measurement. It helps you improve bidding optimization and recover online and offline conversions that wouldn’t have been measured otherwise.

Track Product Lists in Google Analytics

Displaying personalized related products, cross-sells and up-sells won’t be the same after you start using Magento 2 Google Tag Manager to track how those products perform. Gather data about product impressions in product blocks and tweak your strategy to increase conversion and improve customer experience.

Track Custom Blocks Google Tag Manager
Track customers searches

Monitor Customers' Interests

Your website visitors regularly use search to find products they are interested in. If only you could have insights into what they search for, what pages they use the search form from and what medium they come from. You can now with the Magento 2 Google Tag Manager Extension. Knowing what your customers are interested in allows you to make timely optimizations, restock and improve customer experience.

Track Customer Account Activity

Do you know how many users register at your store daily or how many sign in when browsing your store? These and many other details you can now gather with the login and sign_up events introduced into the Google Tag Manager Extension for Magento 2. Learn what pages customers are on when they register an account or log in to their account. Use the gathered information to target different audiences and improve engagement.

Track Customer sigh in and sigh up events in Magento
Optimize GTM JS loading

Optimize GTM JavaScript Loading

Whenever you add any custom scripts to your store, you add extra time for these scripts to load. And since website speed is one of the most important factors in the purchasing decision we made sure it is not altered.

Our Google Tag Manager Extension for Magento 2 comes with a speed optimization feature. You can simply enable it from the backend and the GTM script will only be loaded after the first scroll, click or mouse touch.

Make sure it's a good match!

Uncertain whether the Magento 2 Google Tag Manager Extension has all the features you're looking for, or if it aligns with your goals?

Request a free trial Suggest a new feature

Compatibility with Stape.io and Custom GTM Loaders

If you use Stape.io service or any other custom GTM loader to improve data tracking through GTM, you’d benefit from the ability to use the Web GTM code we offer.

You can choose to track data through Stape.io or other GTM loaders with BODY and HEAD scripts and gather valuable insights about store performance better.

Stape.io compatibility
ga4 server side tracking magento

Enable Server Side Tracking

Although Google Tag Manager is the ultimate tool for data tracking, some data might still be missing. Your website visitors don’t accept cookies, or simply use AdBlockers that prevent data from being collected. But not any more.

You can enable the server side-tracking using Google Analytics 4 Measurement Protocol and avoid this. This protocol allows you to send eCommerce events from your Magento server directly to Google Analytics servers in HTTP requests. No customer data is collected from the browser.

Note: if you use a headless PWA storefront, you’ll benefit from the REST API endpoints our Magento 2 GTM Extension offers for GA4 tracking.

Quick Overview Video

Tracking vital in-store data is easier if you use the right tools. Set up Google Tag Manager for your Magento 2 store and learn more about your customer's behaviour.

Watch this short video to learn how to add GTM to Magento in a few clicks.
Related Products
Magento 2 Google Shopping Feed Extension
Google Shopping Feed
one-time payment
Magento 2 SEO Extension
one-time payment
Magento 2 Rich Snippets Extension
Rich Snippets
one-time payment
Better Magento 2 Checkout Extension
Better Checkout
one-time payment
Magento 2 Auto Related Products Icon
Auto Related Products
one-time payment
Magento 2 Hreflang
Hreflang Tags
one-time payment
What benefits do you get?
  • No code editing or technical knowledge needed
  • Better data tracking and report
  • Easier GTM tags management and analytics
  • Google Ads Remarketing Tracking / Google Ads Conversion Tracking / Analytics Enhanced Ecommerce Support
Days money back
Days free support
Open code
What our
clients say

I installed the module without major issues. Only had to delete the AdminUserGuide folder because it was already installed elsewhere by the theme. The documentation is excellent and I completed the process in a few clicks. Well done.

Giannis Livanis
Brands Who Trust Us
Magento 2 Google Tag Manager & GA4
Live Demo

Can I install Magento 2 Google Tag Manager module via the composer?

Yes, you can. All our modules can be installed via the composer. Once you purchase the extension, you receive keys to the private Magefan composer repository and find the composer installation commands available in the "My Downloads" section.

How to add Google Tag Manager to Magento 2?

Usually you have to go your Google Tag Manager account, get the GTM code there and paste this code in the HTML head field in Magento admin.
However, with this Google Tag Manager extension for Magento 2, all you need is to paste your tracking IDs in the extension configuration and import a preset GTM tag into your Google Tag Manager account.

Does your Google Tag Manager Extension for Magento support Dynamic Remarketing?

Yes, this module support dynamic remarketing. You just need to paste your Conversion ID and Label in the extension settings to enable it.

People Also Searched For
  • magento google tag manager
  • magento 2 google tag manager
  • google tag manager extension magento
  • google tag manager extension magento 2
  • google tag manager extension
  • google tag manager magento extension
  • google tag manager magento 2 extension
  • google tag manager magento 2
  • google tag manager for magento 2
  • magento 2 google tag manager
  • gtm magento
  • magento 2 gtm extension
  • gtm magento 2