Guide · Updated December 2026

How tracking works in Klaviyo

Browse abandonment, product recommendations and accurate revenue reports all depend on Klaviyo tracking what people do. When it breaks, flows quietly stop working, so it is worth understanding.

Three layers of tracking

LayerWhat it capturesWhat it powers
Onsite trackingActive on Site, Viewed Product, Added to CartBrowse abandonment, recommendations
Ecommerce integrationStarted Checkout, Placed Order, Fulfilled OrderCart flows, post-purchase flows, revenue
Message trackingOpens, clicks, UTM parametersReporting and attribution

Klaviyo's article on getting started with onsite tracking explains how visitors get identified. On Shopify, follow the steps to enable onsite tracking through the app embed, which is easy to miss when a theme changes.

Identification is the hidden limit

Klaviyo can only track browsing for people it knows. That means more sign-ups and more email clicks directly increase how many browse and cart flows can fire. A good sign-up form does more for your flows then almost any tweak to the flows themselves.

UTMs and attribution

Klaviyo reports revenue using its own attribution window, while Google Analytics uses UTM parameters and its own models. The two will never match exactly. Use Klaviyo's reporting to compare messages against each other, and GA4 or blended figures to judge email's share of total revenue.

When data goes missing

  • Check the tracking script or app embed is still active after any theme update.
  • Look at a test profile to confirm Viewed Product events arrive.
  • Review cookie consent settings, as some banners blocks Klaviyo until people accept.
  • Confirm custom events use the same names your flows expect.

Questions people ask

What is Klaviyo onsite tracking?

A script on your site that records activity such as Active on Site and Viewed Product for visitors Klaviyo can identify.

How does Klaviyo identify website visitors?

When someone submits a form, clicks a Klaviyo email or logs in, Klaviyo can link their browser to a profile and track later visits.

Why is viewed product tracking not working?

Common causes are the script not loading, a theme change removing the snippet, or cookie consent tools blocking it.

How does Klaviyo attribute revenue?

Klaviyo credits orders to an email or SMS within an attribution window after an open, click or receipt, which you can adjust in settings.

Keep reading

Bring us the ambition. We’ll build the system behind it.