Change log for Magento 2 Google Analytics 4
Version 2.6.2 (June 12, 2024)
Features:
- - Minor improvements.
Version 2.6.1 (June 11, 2024)
Fixes:
- - Fixed an issue with GTM Extension v 2.6.0 on Magento v 2.3.x.
Version 2.6.0 (June 7, 2024)
Features:
- - Security improvements. Use Magnento SecureRenderer to whitelist an inline script
- - Rearranged extension config. Removed the Server Side Tracking section and moved its options to the Server Container section
- - Added an option to disable purchase event (Order creating) in the admin panel (GTM Extra)
- - Added ability to track first visit and session start, session count in Server Side Tracking via GTM Server Container (GTM Extra)
Fixes:
- - Fixed an issue with displaying real-time users in Google Analytics 4 when the Server Side Tracking was enabled (GTM Extra)
Version 2.5.8 (June 1, 2024)
Features:
- - Improved Data Layer Values and JSON Container file for Google Ads Remarketing (GA4 Plus and Extra).
Fixes:
- - Fixed the JS "require is not defined" error on the Hyva theme.
Version 2.5.7 (May 3, 2024)
Features:
- - Improved GTM Server Container performance (GA4 Extra).
- - Added server container debug preview (GA4 Extra).
- - Minor code impromevents.
Version 2.5.6 (April 18, 2024)
Features:
- - Fixed an issue with the v2.5.5 during import to the GTM: Unknown variable “Magefan DLV - Customer Email Hash” found in another variable. Edit the variable and remove the reference to the unknown variable.
Version 2.5.5 (April 9, 2024)
Features:
- - Measure activity across platforms with User ID.
- - The option to include/exclude tags from prices works not only on the purchase events but all events.
- - Improved the ecomm_pagetype identifier.
- - Added an option to prevent the execution of third-party JavaScripts for Google Analytics and Google Ads.
- - Minor code improvements.
Version 2.5.4 (March 20, 2024)
Features:
- - Improved Google Consent Mode.
- - Added new "Load GTM Script Before Consent" option for default Magento cookie restriction setting.
- - Improved JSON file export.
- - Added tracking of the refund event (GA4 Extra).
Version 2.5.3 (March 6, 2024)
Features:
- - Added Google Consent Mode V2 compatibility when using the default Magento cookie consent popup.
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 (GA4 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 (GA4 Plus).
- - Transaction duplication if Web Container and Server Container or Measurement Protocol is enabled (GA4 Extra).
- - Compatibility issues with PHP7.1 (GA4 Extra).
Version 2.5.0 (January 5, 2024)
Features:
- - Added compatibility with the Google Tag Manager Server Container (GA4 Extra).
- - Option to use GTM Server Container or GA4 Measurement Protocol to track only missing purchase transactions (GA4 Extra).
- - Option to define Google Ads Tag ID (GA4 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 (GA4 Plus & Extra).
- - Added Google Enhanced Conversions for Google Ads Conversion Tracking (GA4 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.