Skip to main content

Hi All,

 

I have built “Add to cart” email flow in Klaviyo but I haven’t seen any data flowing under Analytics> Metrics. I can see add to cart sessions on shopify, however, they are not showing on klaviyo.

Can you please let me know if there’s any other criteria for the flow to be trigged or how do I make sure those email flows actually do go to customers? Thanks!

Hey @Prachi - My Dream Hamper 

Without seeing the code snippet in your theme and the element id  by inspecting the button on your website, its difficult to investigate,

Here are some suggestions for you (maybe you have already applied them),
 

  1. Make sure you have added the Klaviyo tracking code to your Shopify store correctly. You can check this by viewing the source code of your store's homepage and searching for the Klaviyo tracking script. The script should be located just before the closing </head> tag.
  2. Verify that the button ID you are using in your code is correct. You can do this by inspecting the button on your store's product page and checking the id attribute of the button element. The id should match the one you are using in your code.
  3. Try changing the button ID in your code to a more specific selector. Instead of using the entire button ID, you can try using a more specific selector that targets just the button element. This should help ensure that the script is targeting the correct button element. 
  4. Check if there are any errors in the browser console. When you load your store's product page and click on the "Add to Cart" button, open the browser console (usually accessible by pressing F12) and look for any error messages related to your script. This can help you identify any issues with the code.

You can also read more about this here

I hope this helps,

Thanks,

Arpit Banjara


Reply