CHANGELOG
Everything new in GTM Kit
Releases for GTM Kit and GTM Kit Premium, newest first.
Added
- Scope Google Consent Mode defaults to specific countries or regions (e.g. DK, DE, US-CA) instead of applying them everywhere. Useful for sites with visitors both inside and outside the EU.
- Consent updates from other plugins or partner scripts can now talk to GTM Kit through a simple JavaScript API, making CMP integrations easier.
Fixed
- Webhooks for Server-side Tracking on the WooCommerce integrations page no longer stay locked after entering an sGTM Container Domain on premium installs.
Changed
- “Wait For Update” is now a proper number field with a sensible 500 ms default on new installs. Your existing value is kept.
- Clearer warning on the Consent Mode page — if Cookiebot, Complianz, CookieYes, or Cookie Information already handles your consent, leave this setting off.
- Introduced an internal automated test suite (PHPUnit + Vitest) and continuous integration across PHP 7.4–8.4 × WordPress 6.9. No functional change — every future release is now verified by unit and integration tests before shipping, raising the bar on quality and reliability.
Changed
- Declared compatibility with WooCommerce Product Object Caching (
product_instance_caching) introduced in WooCommerce 10.5. No functional change; resolves the “incompatible plugins” notice in WooCommerce → Settings → Advanced → Features. - Tested up to WooCommerce 10.7.
- Tested up to WordPress 7.0.
Fixed
- Add error handling to WooCommerce blocks action handlers to prevent tracking errors from breaking checkout functionality or interfering with third-party plugins.
Changed
- Tested up to WooCommerce 10.6.
Fixed
- Fix undefined array key warning for order-received query var in edge cases like certain payment gateway redirects or bot traffic.
Fixed
- Fixes correct detection of the premium plugin.
Added
- Improved internal handling of plugin settings to make GTM Kit more reliable and easier to maintain, while ensuring full backward compatibility with existing configurations.
Changed
- Tested up to WooCommerce 10.5.
- Require WooCommerce 9.5.
Added
- We have added a new template assistant to help you create your own custom templates for Google Tag Manager.
- Add option to define a custom page that should be detected as the order-received page.
- The debug info now includes a check to determine if WooCommerce purchase events have been recorded in the logs. This information is included in the debug data to assist with troubleshooting and support.
Fixed
- Fix edge case where quantity in the Datalayer was 0. Set a default quantity of 1 when the quantity element is missing.
Changed
- Tested up to WooCommerce 10.3.
- Tested up to WordPress 6.9.
- Require WooCommerce 9.4.
- Require WordPress 6.7.
Added
- Add tracking on the product collection block.
Changed
- Require WooCommerce 9.2.
- Tested up to WooCommerce 10.2.
Fixed
- Force rounding values to 2 decimal places to fix rounding issues in edge cases.
- In some cases the GTM container would not load after activating and deactivating settings in ‘Server-side Tagging (sGTM)’.
Changed
- Tested up to WooCommerce 10.1.
Fixed
- The add_to_cart event did not fire in the all-products block.
Changed
- Require WooCommerce 9.0.
- Tested up to WooCommerce 10.0.
Fixed
- The $hook type hint in enqueue_page_assets was removed to avoid conflicts with plugins passing non-standard data types.
Changed
- Introduced the gtmkit_options_set action and the gtmkit_process_options filter.
- Fixed deprecation in Easy Digital Downloads.
Fixed
- Fix conflict with GTM Kit Woo in admin settings.
Fixed
- Fix fatal error when used together with MC4WP: Mailchimp for WordPress.
Changed
- Tested up to WordPress 6.8.
- Tested up to WooCommerce 9.8.
Fixed
- When debug logging is enabled, the Easy Digital Downloads integration was activaed sensitive customer information was logged to server error logs. If debug logging remains active in a production environment or if logs are not properly secured, it could lead to unauthorized access to personal data – CVE-2025-31001.
Changed
- The Event Inspector has been removed and is only available the premium version. It was often used in an inappropriate way where end-users unintentionally were shown debug data.
Fixed
- Permissions were not checked correct on the admin API
Fixed
- Fix a rare case of divisionByZero in calculation of discount.
Changed
- Tested up to WooCommerce 9.7.
Fixed
- Fix an edge case fatal error in admin if $hook for some reason is missing.
Changed
- Require WordPress 6.4.
- Require WooCommerce 8.4.
- Tested up to WooCommerce 9.6.
Changed
- Tested up to WooCommerce 9.4.
- Tested up to PHP 8.4.
Fixed
- If the cart and checkout endpoints were set to the same page in order to skip the cart the ‘checkout’ and ‘purchase’ events would not fire.
Changed
- Tested up to WordPress 6.7.