• I’m having (had) this problem with all websites build on Elementor. My goal is to have proper Enhanced Ecommerce integration. Almost everything is working fine: view_item, add_to_cart, begin_checkout, purchase.

    However I’m always having issues with category pages, these should fire the view_item_list event.

    Is this a known issue when using Elementor with this Tag Manager plugin? How can I get the “view_item_list” to fire on Elementor?

    THANKS

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter remkovdz

    (@remkovdz)

    Any ideas? Thanks!

    Thread Starter remkovdz

    (@remkovdz)

    Let me clarify my problem:

    https://woo.gtm4wp.dev/product-category/accessories
    In this situation (this is your sandbox, correct?) the event ‘view_item_list’ fires, which is exactly what we need.

    (the ‘select_item’ event does not fire though, but let’s look at that problem later)

    https://www.budgetongediertebestrijden.nl/product-categorie/ratten/
    On this client website ‘view_item_list’ does not fire. The question is: why not? 🙂

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    Please open the settings of GTM4WP on the WP admin and select Integration->WooCommerce
    Here you should look at the option “Products per impression”: set it to a value greater than 0.

    Thread Starter remkovdz

    (@remkovdz)

    Thanks Thomas! However already tried that. Now set it to ‘4’, but sadly that does not work. You can check now:

    https://www.budgetongediertebestrijden.nl/product-categorie/ratten/

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Setting this option was mandatory for view_item_list to work but on your site there are some more issues.

    The HTML code structure of the product list is very different from what the default Storefront and other themes output. As far as I can see you are using Elementor with JetEngine.

    For some reason, this plugin combo does not fire all WooCommerce filters and actions which other plugins like GTM4WP can use to extend the output of each product box. One hook GTM4WP is using adds additional product data as a hidden element in order to be able to fire the view_item_list event with all the necessary product data. Since this hidden element is missing, view_item_list can not fire.

    In this particular case the woocommerce_before_shop_loop_item hook seems to be missing for some reason from JetEngine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“view_item_list” not firing with Elementor’ is closed to new replies.