There is an update for WooCommerce + GTM4WP, please pay attention to it
-
There is an update for WooCommerce + GTM4WP, please pay attention to it
When storage is enabled without any optimizations or anything else, it does not capture Google Analytics, in addition to the cart and purchase process.
There is a major update to the plugin
https://wordpress.org/plugins/duracelltomi-google-tag-manager/
!!! WARNING!!!
Significant change in WooCommerce integration!
Check your template to see if it supports the hook: woocommerce_thankyouAdded: A new WooCommerce option that allows you to fire the view_item event during page load of a variable product using parent product data.
Added: item_group_id parameter includes the parent ID of a variable product in WooCommerce
Added: GTM4WP_WPFILTER_GET_CSP_NONCE (PHP constant) / gtm4wp_get_csp_nonce WordPress filter to add nonce to script tags supporting Content Security Policy (CSP) setups
Updated: purchase event is now fired on the woocommerce_thankyou event. This will move execution time behind consent state checks in most cases making the purchase event working in more cases
Updated: GTM4WP_WPFILTER_EEC_ORDER_DATA / gtm4wp_eec_order_data WordPress filter now has a second parameter passing the whole WC_Order object to the filter after the $order_data parameter
Updated: no view_cart or begin_checkout events will be triggered from the backend if there are no products in the cart. This prevents wrong data collection with themes not properly supporting WooCommerce hooks.
Fix: load_plugin_textdomain() related PHP notice on admin page.We ask the litespeed-cache plugin administrators to pay attention to this point.
I have run several tests and struggles.
When I disabled the cache component, everything returned to normal.
So please review the matter.
The topic ‘There is an update for WooCommerce + GTM4WP, please pay attention to it’ is closed to new replies.