JS error ‘gtm4wp_business_vertical is not defined’
-
Hello,
A JS error is fired in the console about gtm4wp_business_vertical on every pages of our website. I can’t find why, even after several tests and configuration changes.
I used your guide to configure the woocommerce integration options (https://gtm4wp.com/how-to-articles/how-to-setup-dynamic-remarketing-in-google-ads-adwords).GTM4WP configuration :
Google Ads Remarketing : unchecked
Google Ads Business Vertical: Retail
Product ID prefix: unset
Use SKU instead of ID: uncheckedThe error, in Chrome browser console :
Uncaught ReferenceError: gtm4wp_business_vertical is not defined at gtm4wp_map_eec_to_ga4 (gtm4wp-woocommerce-enhanced.js?ver=1.14.2:54) at gtm4wp-woocommerce-enhanced.js?ver=1.14.2:348 at NodeList.forEach (<anonymous>) at gtm4wp_process_woocommerce_pages (gtm4wp-woocommerce-enhanced.js?ver=1.14.2:324) at HTMLDocument.gtm4wp_page_loading_completed (gtm4wp-woocommerce-enhanced.js?ver=1.14.2:1196)
Note that I’m new to GTM usage and configuration and may have missed something obvious…
Could you help me with this issue ?
Best regardsThe page I need help with: [log in to see the link]
- The topic ‘JS error ‘gtm4wp_business_vertical is not defined’’ is closed to new replies.