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

Change log for Magento 2 Google Analytics 4

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 (GA4 Extra).
  • - REST API endpoints for Headless PWA storefront Google Analytics 4 tracking (GA4 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 the admin panel, purchase event in the admin panel (GA4 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 (GA4 Extra).
  • - Minor code improvements.

Fixes:

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

Version 2.1.0 (April 24, 2023)

Features:

  • - Added compatibility with Hyva Theme.
  • - Track sign-in (GA4 Extra).
  • - Track create an account (GA4 Extra).
  • - Track searches (GA4 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 (GA4 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