Back to Blog

Klaviyo Added to Cart Not Tracking on Shopify: A Troubleshooting Checklist

If Klaviyo Added to Cart is not tracking on Shopify, start with two checks. Open the Shopify integration in Klaviyo and confirm Track behavioral events is on. Then find out which Added to Cart metric you are looking at, because there can be two: one with a Shopify icon and one with a gear icon.

The Shopify icon means a Shopify pixel sent the event. The gear icon means it came through Klaviyo.js, which for Added to Cart on Shopify usually means a manual theme snippet. They break differently.

Find your symptom

What you seeCheck first
No Added to Cart metric, or no events at allTrack behavioral events, then a properly identified test
Stopped after a theme change or updateApp embed on the published theme, then any old manual snippet
Only logged-in customers show upHow visitors are being identified
EU, EEA, UK or Swiss visitors missingShopify customer privacy consent
Events arrive but the flow has no entrantsTrigger metric, filters, re-entry and event delay

Symptom 1: the metric is missing or empty

In Klaviyo, go to Analytics > Metrics, open Added to Cart and view the activity feed. Note the icon and the latest event time. Then:

  1. Go to Integrations > Shopify. In the Onsite Tracking section, check Track behavioral events and click Update Settings. If you see Get started instead, click it, choose Behavioral events and save.
  2. Complete any Shopify permission prompts, return to Klaviyo and confirm the setting saved.
  3. Check that the Klaviyo app embed is turned on. It loads Klaviyo.js, which handles Active on Site and Viewed Product. Klaviyo's Added to Cart flow guide asks for both the embed and the behavioral events setting.
  4. Run the test below before deciding it is still broken.

Also check the checkout metric (Klaviyo's docs call it both Started Checkout and Checkout Started). Klaviyo's troubleshooting article uses this comparison for WooCommerce and Magento, and it is a sensible clue on Shopify too. If both are silent, review the whole integration. If only Added to Cart is silent, focus on onsite tracking. If your setup has wider gaps, work through our Shopify email marketing setup guide.

Symptom 2: it stopped after a theme change or update

First, the app embed is enabled per theme. Klaviyo says that if you add a new theme, you need to re-enable it. In Shopify, open the theme editor for the published theme, go to App embeds, toggle Klaviyo on and save. A draft or old copy will not help your live store. A manual snippet also relies on Klaviyo.js being on the site, so check this even if you track with a snippet.

Second, check which metric stopped. If only the gear-icon event went quiet, a likely cause is a manual snippet that did not carry over to the new theme. A merchant in a May 2025 Klaviyo Community thread reported that pattern. A community member suspected the snippet was gone, and a Klaviyo community manager recommended the Shopify event.

You can reinstall the snippet or migrate to the Shopify event, which needs no theme code. Klaviyo says it is not currently deprecating the snippet, and that the Shopify event will be actively maintained.

If you use the app embed, it is on, and an event still fails after site changes, contact Klaviyo support.

Symptom 3: only logged-in customers are tracked

This is often an identification question rather than a broken event. Klaviyo cannot attach a cart action to a profile until it knows who the browser belongs to, so do not expect every anonymous add to cart to appear right away.

Some activity can show up late. When enabled, Klaviyo's anonymous visitor backfill stores front-end events from Klaviyo.js in the browser and adds them once the visitor is identified. Older events may not trigger a flow, and you should not assume it recovers every pixel event.

For the Shopify pixel events, Klaviyo's onsite tracking article says profiles are identified when someone does one of these:

Being cookied by Klaviyo is not always enough. Klaviyo's migration guide notes that a previously cookied profile may still need to be identified by Shopify for server-side tracking.

If form subscribers are the ones missing, check that profiles sync from Klaviyo to Shopify, submit your popup in a fresh browser with a brand new email address, and see whether a matching customer appears in Shopify. A Klaviyo community manager suggested that test in a July 2026 thread. The merchant later said tracking recovered around the time they re-saved the integration settings and re-authorized Shopify permissions. That is one user's experience, not a documented fix.

Gear-icon events follow Klaviyo.js identification instead, such as a click from a Klaviyo email or SMS, or a form that submits an email or phone number. Klaviyo notes that tracking for site logins on this route needs custom code.

Symptom 4: visitors in consent regions are missing

Klaviyo states that, depending on your Shopify Customer Privacy settings, it may not track onsite events for visitors in the EU, EEA, UK and Switzerland unless they have consented. On Shopify's side, its developer docs say an app pixel only loads when the visitor has granted the permissions that pixel declares as required.

Review Settings > Customer privacy in Shopify and any third-party consent banner. When testing for those regions, accept consent before adding to cart. Missing events from people who declined may be the setup working as intended. Do not loosen consent settings just to recover events. This is not legal advice; check changes with a qualified adviser.

Symptom 5: events arrive but the flow has no entrants

If profiles show the event, inspect the flow.

If people enter but nothing sends, confirm messages are Live rather than Draft or Manual, then read the skip reasons under Recipient activity. Some skips are expected in cart flows, for example when someone has since started checkout or ordered and your filters exclude them. For the build itself, see our abandoned cart flow setup guide. For the Viewed Product flow, see browse abandonment emails.

Old snippet or Shopify event: clean up properly

Running both gives you two metrics, and the July 2026 poster saw each add to cart recorded twice. The community manager in that thread said keeping the snippet is still valid for coverage of Klaviyo-cookied visitors. If you do, decide which metric powers each flow, segment and report.

If you are moving fully to the Shopify event, follow Klaviyo's recommended order.

  1. Turn on behavioral events and confirm a Shopify-icon event arrives.
  2. Clone each flow triggered by the gear metric and pick the Shopify metric as the new trigger. Review filters, splits and message variables, and send a test. Then set the old flow to Draft and the new one to Live. If a flow uses the old metric only in filters or splits, update those without changing its trigger.
  3. Update segments. For "at least once" conditions, keep the old one and add the new metric with OR. For "zero times", require zero for both with AND.
  4. Update product feeds, custom reports and metric mapping that use the old metric.
  5. Remove the snippet from the custom Liquid block or theme file. Searching for 'Added to Cart' or _learnq can help you find it.

Watch two differences. With Klaviyo's default snippet, price was a string and is now a number, so currency formatting may need adding. The new event also tracks the single item added and does not currently include other items already in the cart.

How to test Added to Cart tracking

  1. Pick a test email that already has a Klaviyo profile and a matching customer account on your store.
  2. Open the live store and give tracking consent if your store asks for it.
  3. Log in to that customer account, then reload the page.
  4. In the same browser, open an in-stock product and click Add to Cart.
  5. Search the email in Klaviyo, open the profile's activity feed and look for Added to Cart. Note its icon. Use the feed, not the integration page's Recent data table, which the July 2026 poster said omitted pixel events.
  6. To test the form path, make sure profiles sync from Klaviyo to Shopify, then repeat in a fresh private window: submit your popup with a new email, add to cart and check that profile.

Adding ?utm_email=you@example.com to your store URL is Klaviyo's test for Active on Site and Viewed Product, using your own test address. It is not one of the listed ways to identify someone for the Shopify pixel events. After enabling the app embed, Klaviyo recommends waiting 15 minutes before testing those two events.

Key Takeaway

Identify the metric by its icon before changing anything. Then match the fix to the symptom: setting, embed or snippet, identification, consent, or flow logic.

Want a second pair of eyes on tracking and flows? See our flow automation service.

Frequently Asked Questions

Why do I have two Added to Cart metrics in Klaviyo?

Your account has likely received events from two sources. The metric with a Shopify icon comes from the Shopify pixel, while the gear icon marks events sent through Klaviyo.js, typically from an older theme snippet. Check each activity feed to see which one is still current.

Do I still need a code snippet for Added to Cart on Shopify?

Not for the automatic Shopify event. It is switched on through the behavioral events setting in the Klaviyo integration. The older snippet method is a separate route that Klaviyo says it is not currently deprecating.

Can I customize the data in the Shopify Added to Cart event?

Klaviyo's migration guide says data synced through automatic Shopify tracking cannot be customized. If you depend on a custom property from your old snippet, compare it with a sample Shopify event before removing the snippet.

Will switching metrics affect my segments?

It can. A segment that references only the gear-icon metric will not count Shopify-icon events. Update the conditions to cover both metrics wherever you still need historical activity.

When should I contact Klaviyo support?

Contact them when the settings are saved, a correctly identified and consented test still records nothing, and you have checked the published theme. Bring the test email, the time of the test, the product URL and the date tracking stopped.

Cart events not reaching your flows?

EcomCure handles Klaviyo and Shopify email and SMS for DTC brands. We can review your tracking setup and flow triggers with you.

Get Your Free Audit