When you add to cart not only is the 'addToCart' event triggered but as the normal commerce functionality refreshes the product page, the 'productDetailsView' is also triggered
Go to a product page and click on Add to cart. When the page refreshes check dataLayer and you will see both 'addToCart' and 'productDetailViews' events
Alter the 'productDetailViews' trigger to check to see if there is already an 'addToCart' event with the same product ID. Only add the 'productDetailViews' event if this is not found.
Review patch
None
None
None
Active
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.