Take your e-commerce store further.

Using the right Magento 2 extension is more essential now than ever. With MagePal, you can rest assured that you are getting the best quality Magento extensions, each line of code are carefully crafted and rigorously tested. Spend less time debugging and more time doing what you do best with MagePal extensions!

Total Downloads Latest Stable Version GitHub stars GitHub forks

Google Tag Manager + Google Analytics 4 for Magento 1

What is Google Tag Manager?

Google Tag Manager (GTM) is a user-friendly, powerful and must have integration in every Magento 1 store. It simplifies the process of adding, edit and manage third-party JavaScript tags and other snippets of code on your Magento site. With GTM, you can quickly and easily add Facebook tags, AdWords Conversion Tracking, Re-marketing, Bing UET, SnapChat, DoubleClick code, Google Analytics and many more in a breeze without the need for a developer to make changes to your Magento code providing the data is available to Google Tag Manager.

GA4 is short for Google Analytics 4. It is the latest version of Google’s web analytics service that helps businesses track and analyze their website and app data. GA4 provides a more comprehensive and accurate picture of a business’s online audience and behavior, and helps businesses gain insights into their digital marketing efforts. With GA4, businesses can make data-driven decisions to optimize their marketing strategies and improve their online performance.

Adding Facebook Pixel, Bing UET, or other third-party JavaScript to your site using Google Tag Manager? Learn how simple and easy it is to integrate any third party service with our new DataLayer extension.

Manually
  • Download the extension
  • Unzip the file
  • Create a folders in your Magento1 files structure according to the zip folder structure.
  • Copy the content from the unzip folder

How to Configure Google Tag Manager

Log into your Magento 1 Admin

  1. Goto System
  2. Configuration
  3. MagePal
  4. Google Tag Manager
  5. Enter your GTM account number

Extension Review

Like our extensions? Would you be kind enough to leave us a Google review? It only takes a minute and we’d be eternally grateful! Just click the link to go to our MagePal Google Business page and leave us your feedback.

Google Tag Manager Account Setting & Configuration

Google Tag Manager Magento

The quickest way to configure your Google Tag Manager Container is to use our auto import JSON config import file for Google Tag Manager. Our configuration (.json) file is used to simplify the process, importing to generate a tag in your GTM container. For additional information, see Google’s Container export and import which provide walk-through on how to importing a sample JSON file to a new container.

Google Tag Manager Configuration Instructions

Google Tag Manager GA4 Container JSON Import

Custom Success Page Tracking

In your custom theme layout.xml file, add the following code to the success page handle.

app/design/frontend///layout/local.xml

    <checkout_onepage_success>
        <reference name="magepal_gtm_datalayer">
            <block type="googletagmanager/order" name="magepal_gtm_block_order" />
        </reference>
    </checkout_onepage_success>

Replace checkout_onepage_success with the success page handle you are using. For example, if you are using the default Magento success page, you would use checkout_onepage_success.

To learn more Google Tag Manager for Magento 1 Extension

Related Extensions

Get more from your Magento2 store!

Enhanced Transactional Emails

Get more from your order confirmation emails by promoting other complementary products.

Catalog Hover Image for Magento

Quickly previewing alternative product images on your category list page.

Order Shipment Tracking

Providing your customer with a beautiful and functional order package tracking without leaving your site.

0

Total Downloads

11

years experience with Magento

30+

Magento / Adobe Commerce Extensions

Shop with confidence

With millions of downloads worldwide, install with confidence knowing that our extensions will just work.

Prepare for the future with Google Analytics 4

Is your Magento store ready for the future? Say hello to the new Google Analytics 4, which is built from the ground up with all-new features and advanced machine learning technology.

Learn More