CHANGELOG
Everything new in GTM Kit
Releases for GTM Kit and GTM Kit Premium, newest first.
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.
Added
- Added notifications and warnings for missing GTM container, debug log usage, auto-update and event inspector usage. These improvements aim to ensure smooth production operations.
Changed
- Minor refactoring
Added
- Added support for the Bricks theme builder.
Fixed
- In some cases other plugins or a theme could block GTM Kit from firing JS event like the one that fires the add_to_cart GTM event.
Added
- A notifications handler has been added to communicate issues and notifications that require the user’s attention.
- Added a warning when other Google Tag Manager plugins that may cause a conflict are active.
- WooCommerce users are advised to install a supported SEO plugin to take advantage of a default category in data layer items.
Changed
- Starting with GTM Kit version 2.0, the add_to_wishlist event is no longer supported in the free version of GTM Kit.
- Increased PHPStan analysis level to 6, enhancing static code analysis and catching potential issues earlier in the development process.
- Require WordPress 6.3.
- Require WooCommerce 8.3.
- Require PHP 7.4.
Fixed
- Prevent fatal errors caused by invalid filter input from third-party plugins.
- In WordPress versions prior to 6.6, the options pages fail to load due to a missing dependency.
Changed
- Require WooCommerce 8.2.
- Tested up to WooCommerce 9.2.
Added
- The ‘Getting Started’ section the setup wizard has been updated with new content.
Fixed
- An upgrade function was causing problems for multisite installations leading lost configuration.
Added
- Added an option to exclude selected user roles from tracking.
- Improve the flexibility of GTM Kit integrations.
Changed
- Tested up to WooCommerce 9.1.
- Tested up to WordPress 6.6.
Added
- Improve log and support data.
Fixed
- There was a typo preventing the GTMKIT_WC_DEBUG_TRACK_PURCHASE constant from having any effect.
Changed
- Tested up to WooCommerce 8.9.
Fixed
- The datalayer was not pushed when the container was disabled.
Fixed
- Fix items in add_shipping_info and add_payment_info.
Fixed
- wait_for_update was not printed in Google Consent Mode default settings.
Added
- Added an Event Inspector for verifying that events are being pushed to the datalayer. You can now debug events without using GTM preview mode.
- Added advanced GCM settings: ‘ads_data_redaction’, ‘url_passthrough’ and ‘wait_for_update’.
- Updated the custom container loader for use with Stape.io.
Added
- Added user-data in the datalayer containing user data formatted for the User-Provided Data variable so you don’t have to map it manually.
- Added Google Tag Manager templates for Google Ads and Facebook.
- Added dynamic template sections that allows for template updates wíthout updating the plugin.
- The tutorial section is now dynamic and based on a feed, so we don’t have to update the plugin to include new tutorials.
Fixed
- JavaScript translations was not loaded correct.
Changed
- Tested up to WooCommerce 8.8.
Added
- Added a new section for GTM templates that you can use to configure the necessary Tags, Triggers and Variables in Google Tag Manager.
- Added support for the ‘new_customer’ parameter on the ‘purchase’ event, which is used for customer acquisition reporting and Google Smart Shopping campaigns.
- Added a debug log for debugging the ‘purchase’ event without make a purchase.
- Improved the pagespeed of the control panel. The control panel is now loading significantly faster than before.
Fixed
- Add missing ‘currency’ on the ‘view_item’ event.
- Add missing ‘payment_type’ on the ‘add_payment_info’ event.
- On the ‘add_shipping_info’ and ‘add_payment_info’ events the items parameter was cast as an object instead of an array as it should be.
Changed
- Require WooCommerce 8.0.
Fixed
- Scripts were not enqueued if the container was inactive.
Changed
- Tested up to WooCommerce 8.7.