Three layers of tracking
| Layer | What it captures | What it powers |
|---|---|---|
| Onsite tracking | Active on Site, Viewed Product, Added to Cart | Browse abandonment, recommendations |
| Ecommerce integration | Started Checkout, Placed Order, Fulfilled Order | Cart flows, post-purchase flows, revenue |
| Message tracking | Opens, clicks, UTM parameters | Reporting 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.