Error on Woocommerce Pages – No Events sent – window[o] is not a function
-
We Upgraded WordPress, Woocommerce and the Plugin to the newest available Version.
After getting Consent, etc. to work we have the following Situation: On normal Pages, the add_add_to_cart event is triggered correctly and send to Analytics. On Woocommerce Pages the add_to_cart event is not triggered and not transportet when adding the product to the cart.
The following error can be found in the console:
Uncaught TypeError: window[o] is not a function
t XXX/wp-content/cache/min/1/wp-content/plugins/woocommerce-google-analytics-integration/assets/js/build/main.js?ver=1732089184:1
C XXX/wp-content/cache/min/1/wp-content/plugins/woocommerce-google-analytics-integration/assets/js/build/main.js?ver=1732089184:1
C XXX/wp-content/cache/min/1/wp-content/plugins/woocommerce-google-analytics-integration/assets/js/build/main.js?ver=1732089184:1
C XXX/wp-content/cache/min/1/wp-content/plugins/woocommerce-google-analytics-integration/assets/js/build/main.js?ver=1732089184:1We are using WP Rocket and Varnish, but also appears on Staging System with completely diabled caching.
- You must be logged in to reply to this topic.