• Hi,

    thank you for your plugin, so nice.
    I have an issue on my website with the add to cart event gtm4wp.addProductToCartEEC : I can’t see it in the data layer. Could you help m please?
    thank you

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    The issue is quote technical and I am not sure what is the exact cause of this: on a variable product page, after the user selects all product attributes, WooCommerce fires a browser event called “found_variation” so that plugins and other page elements can react to this.

    On your site, I do not see that the “found_variation” event is fired. This can be either because of a special coding in your theme or some other plugin conflict.

    Thread Starter frozen78

    (@frozen78)

    Hi,

    thank you very much for your helpful answer. I found the issue : a nonexistent function was called in a javascript file. Now, the “found_variation” event is fired.
    By the way, I would like to know which event you catch to fill in the ” Session with product Views” in GA?

    Thank you

    Thread Starter frozen78

    (@frozen78)

    In other words, what are the steps for the Checkout Behavior ?

    Plugin Author Thomas Geiger

    (@duracelltomi)

    “Sessions with product views” in the “Shopping behavior” is filled with data using two cases:

    #1 On simple product pages, the product detail action is included in the initial data layer during page load so any GA tag firing on “Page View” that has enhanced ecommerce enabled will pick up this and transmit to GA

    #2 On variable product pages, this is moved to a dedicated event called gtm4wp.changeDetailViewEEC that is fired once the user has selected all the necessary attributes to identify a specific product variation. If there is a default selection during pageload, it will fire during pageload too.

    The “Checkout behavior” report is filled using the checkout data in the initial data layer during page load and using the gtm4wp.checkoutStepEEC event.

    Thread Starter frozen78

    (@frozen78)

    Thanks for your answer.
    Could you detail the different steps of the “Checkout Behavior” linked to the gtm4wp.checkoutStepEEC event ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue on the event gtm4wp.addProductToCartEEC’ is closed to new replies.