webhasan / gtm-datalayer-for-shopify

GTM data Layer for Shopify ecommerce
43 stars 15 forks source link

Duplicate "Add to Cart" Event and Multiple "Add to Cart" and "Remove from Cart" Events Triggered by Shipping Calculation #2

Open vitorwell opened 2 months ago

vitorwell commented 2 months ago

Description I am experiencing two issues in my Shopify store:

Steps to Reproduce

To reproduce the second issue:

Expected Behavior

Environment

Please let me know if any additional information is required.

webhasan commented 2 months ago

If you see duplicate add_to_cart events or any other duplicate event, first make sure you don't have any apps like "Google & YouTube" that could be responsible for those events.

In almost all cases, I have found that when there is a duplicate event, one of the events is coming from the "Google & YouTube" app.

So, before discussing further, can you add an event prefix and test it?