• Hi there! I’ve been using your amazing plugin for years and I have quite some GTM structure based on variables and events coming from the plugin.

    For some reason, I think that after the latest big upgrade I don’t see anymore those events and variables during debugging and thus, a lot of my tags are not reporting any information.

    For example, I have a custom ecommerce event based on some regex matching like “gtm4wp.addProductToCartEEC|gtm4wp.productClickEEC|gtm4wp.removeFromCartEEC|gtm4wp.checkoutOptionEEC|gtm4wp.changeDetailViewEEC” and I am not seeing ANY of those events being fired.

    Also, variables like “ecommerce.purchase.actionField.revenue” are not being pushed to the DataLayer anymore.

    Can the team or someone help me identify if there’s something caused by the upgrade and configuration I need to change?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • dane206

    (@dane206)

    Universal Analytics / GA3 ecommerce events deprecated!
    Please update your GTM setup so that it does not rely on any of the following GTM4WP events and the old ecommerce data layer:
    * gtm4wp.productClickEEC
    * gtm4wp.addProductToCartEEC
    * gtm4wp.removeFromCartEEC
    * gtm4wp.checkoutOptionEEC
    * gtm4wp.checkoutStepEEC
    * gtm4wp.changeDetailViewEEC
    * gtm4wp.orderCompletedEEC

    Instead of the above events, you can use the new GA4 ecommerce events (add_to_cart, purchase, etc.)
    In the Universal Analytics GTM tag now you have an option to use the GA4 ecommerce data in the data layer.
    If you are on GA360 and still collecting ecommerce data, you need to update your GTM setup to use that option firing on the GA4 ecommerce events.

    • Updated: WooCommerce integration now accepts the primary category selection of Yoast SEO and Rank Math SEO
    • Updated: use the gtm4wp_admin_page_capability filter to modify the capability needed to use the admin page (thanks emreerkan)
    • Fixed: price did not include the .00 postfix for integers in the add_to_cart event
    • Added: if needed, you can turn on clearing the ecommerce object before a new GA4 event is being pushed.
    Thread Starter thedrap

    (@thedrap)

    Thanks for the response ! I had the feeling that it had to do with the obsolescence of the naming convention.

    I couldn’t find any documentation on the the GTM4WP web about the supported events and datalayer variable names (non-custom). If there’s something documented and you can kindly share it would be appreciated

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘GTM4WP events and variables gone after upgrade’ is closed to new replies.