I have added the "Added to Cart" event for Shopify by following the Klaviyo suggested article.
I have a confusion, They have mentioned three snipped code.
- Does your store redirect customers to another page, such as the checkout or cart page, after they add an item to their cart? If the answer is no, you should use Snippet 1.
- Does your store use a button ID to define the Added to Cart button? If the answer is yes, use Snippet 2.
- Does your store use class notation to define the Added to Cart button? If the answer is yes, use Snippet 3.
Now my question is, when customer click the Add to Cart button, a popup form comes. like this,
Then which snipped code should I use?
If i have the the custom block and if it doesn’t work even after using the code, then what should I do.
Please help me if possible.
Best answer by alex.hongView original