You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some products are required input fields. When input not filled and click add to basket button, GTM4WP plugin firing add_to_cart event. But it isn’t true. It must be fire only real add to cart actions.
That is a tricky issue, I already faced it but there is no easy solution.
One solution could be to rewrite the code in GTM4WP to catch the added_to_cart event of WooCommerce in the browser. The problem with this is that it is not triggered when AJAX based cart is not enabled. So when page reloads after pressing the add to cart button, no add to cart tracking would work.
I have some products are required input fields. When input not filled and click add to basket button, GTM4WP plugin firing add_to_cart event. But it isn’t true. It must be fire only real add to cart actions.
Screenshot
How can I resolve this issue?
The text was updated successfully, but these errors were encountered: