Add To Cart tracking issues

Hey guys

I need help - for the past few months I’ve noticed big problems with add to carts

  1. Shopify itself is showing me less add to carts in analytics than my actual add to carts and purchases.

  2. My add to cart flow in klaviyo is not sending out any emails for abandoned carts - though it is sending them for abandoned checkouts

there seems to be something very off with shopify firing add to cart events and shopify support couldn’t help me at all.

Hi,

Hope this will help

  • Shopify not showing Add to Cart events - Add Shopify.analytics.track code
  • Klaviyo not sending Add to Cart emails - Add Klaviyo _learnq.push() script
  • Emails only sent for checkout - Add custom Klaviyo tracking code

Code example


The core issue here is that Klaviyo’s add-to-cart flow relies on browser-side tracking scripts firing correctly and Shopify doesn’t natively pass add-to-cart events reliably. What you’re seeing is a known gap.

The checkout abandonment flow works because Shopify fires that webhook server-side, which is much more reliable. Add-to-cart is client-side and breaks with cookie blockers, ad blockers, cross-device sessions, or certain themes.

If you want reliable cart recovery without the tracking headache, the more dependable approach is to hook into Shopify’s checkout webhooks directly rather than relying on Klaviyo’s add-to-cart event. Less sophisticated technically but far fewer missed triggers.

Hey @rekindly ,

Thanks for the insight. Is there any way you could help with that?