Go Dark Go Light
Stand with Ukraine!  How can you help?
Welcome to

Change log for Magento 2 Google Tag Manager Extension

Version 2.5.2 (February 29, 2024)

Note: if you have used the Measurement Protocol before v2.5.2, export the JSON file and import it to the GTM after updating.

Features:

  • - Added option to exclude shipping and tax amount from purchase event value.
  • - Improved missed purchase detection (GTM Extra).
  • - Minor code improvements.

Version 2.5.1 (February 9, 2024)

Fixes:

  • - Fixed the issue with dataLayer JavaScript code displaying on the page, related to some custom JS sliders.
  • - Magento JavaScript customer data sections list is empty (GTM Plus).
  • - Transaction duplication if Web Container and Server Container or Measurement Protocol is enabled (GTM Extra).
  • - Compatibility issues with PHP7.1 (GTM Extra).

Version 2.5.0 (January 5, 2024)

Features:

  • - Added compatibility with the Google Tag Manager Server Container (GTM Extra).
  • - Option to use GTM Server Container or GA4 Measurement Protocol to track only missing purchase transactions (GTM Extra).
  • - Option to define Google Ads Tag ID (GTM Plus).
  • - Code Refactor.

Version 2.4.2 (November 7, 2023)

Features:

  • - Ability to generate and export JSON Container on the website level.
  • - Minor code improvements.

Fixes:

  • - 500 PHP error on rest/V1/mfgtm/dlp ajax request.
  • - On Magento 2.3.x dataLayer for cart items has zero price.

Version 2.4.1 (September 20, 2023)

Features:

  • - Added "ecomm_pagetype" parameter to the dataLayer for Google Ads Remarketing (GTM Plus & Extra).
  • - Added Google Enhanced Conversions for Google Ads Conversion Tracking (GTM Plus & Extra)

Version 2.4.0 (August 16, 2023)

Features:

  • - Prevent duplication of purchase events.
  • - Compatibility with 2c2p payment method module.
  • - Added "customer_identifier" paramether (sha256 hash of order customer email) to the purchase event.
  • - Google Analytics 4 Measurement Protocol for server-side eCommerce tracking (GTM Extra).
  • - REST API endpoints for Headless PWA storefront Google Analytics 4 tracking (GTM Extra).
  • - Minor code improvements.

Version 2.3.1 (July 04, 2023)

Features:

  • - Page Speed Optimization option. If enabled GTM JavaScript will be loaded only after users first click, scroll, or mouse touch.
  • - Option to select Product ID as Product Identifier.
  • - Improved CSP Whitelist.

Fixes:

  • - Some events are duplicated.

Version 2.3.0 (June 28, 2023)

Features:

  • - Removed the "Loader Type" option in the extension settings and added "Google Tag Manager Installation Method" instead with two options to install GTM script with the Public ID or with the BODY and HEAD scripts.
  • - Important! Users who used stape.io loader need to Generate Web GTM code and set it in "Head Script" and "Body Noscript".
  • - Cart and order items now have prices including tax in the data layer.
  • - Added customer group name to the data layer.
  • - Added full categories path as one string to the products data layer.
  • - Improved json container export for Google Ads.
  • - Minor code improvements.

Version 2.2.0 (May 29, 2023)

Features:

  • - GDPR/CCPA/LGPD compliance settings.
  • - Tracking orders created in admin panel, purchase event in the admin panel (GTM Extra).
  • - Option to include product categories in the dataLayer.
  • - Auto space trimming for config values.
  • - Added compatibility with default Magento cookies.
  • - stape.io Custom GTM and GA4 Loader (GTM Extra).
  • - Minor code improvements.

Fixes:

  • - Magento 2.3.x JS error: sectionConfig.getSectionNames is not a function (GTM Plus & Extra).

Version 2.1.0 (April 24, 2023)

Features:

  • - Added compatibility with Hyva Theme.
  • - Track sign-in (GTM Extra).
  • - Track create an account (GTM Extra).
  • - Track searches (GTM Extra).
  • - Improved compatibility with Magento 2.3.x.
  • - Minor code improvements.

Fixes:

  • - JS error on the checkout page when the module is disabled in the admin panel (GTM Plus).
  • - Instead of a brand name dataLayer contains only brand ID.

Version 2.0.2 (April 15, 2023)

Features:

  • - Performance improvement (Page Speed Improvement).

Fixes:

  • - Error on Magento 2.3.x: Class Magento\Framework\View\Helper\SecureHtmlRenderer does not exist.
^Top