virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
blog / 2026-11-23

Klaviyo revenue tracking: see which email sold each order

By Devendra Variya, co-founder of Virling. Published 2026-11-23.

Klaviyo revenue tracking on a Shopify or WooCommerce store gives you two different numbers: the revenue Klaviyo attributes to its messages, and the paid orders that a click from an email actually led to. For the second, turn on Klaviyo’s UTM tracking for campaigns and every live flow, store the visitor ID on each order, and Virling credits each order to the tagged visit before it. The Campaign tab then shows revenue per campaign and flow message beside search, social and ads. Below: why Klaviyo’s figure runs higher, how its UTM settings work at account and message level, what abandoned cart, browse abandonment and win-back flows look like when only clicks count, and how a Shopify order is joined to the click.

Start free trial

Klaviyo attributed revenue vs paid orders

The orders are real; the question is which email gets the credit. According to Klaviyo’s help article on message attribution, Klaviyo credits an order to the last message the buyer opened or clicked within an attribution window, and for new accounts the default window is 5 days for email opens and for email clicks. That shapes the number in a few ways:

  • Opens are not purchases. A subscriber who opened your sale email and then bought from a search ad two days later counts as Klaviyo revenue, even though the email never sent them to the store.
  • Opens are not always people. Some mail apps load every email on their own to protect privacy, and each load counts as an open. Klaviyo lets you exclude these Apple Mail Privacy Protection opens from attribution, so check whether yours are.
  • One order, many claims. Ad platforms and affiliate networks credit by their own rules, so the same order can also show up in their reports.

An example: a subscriber opens your sale email on Monday without clicking, then on Wednesday searches for your brand and buys. Klaviyo counts the order for that email, because it was opened inside the window. Virling credits it to Organic search, because the email never brought a visit. Neither is wrong: Klaviyo’s figure shows how many buyers had seen an email, while the click-based one gives each order to a single channel, so the channel totals add up to what the store took. SaaS teams meet the same gap between a tool’s figure and money collected when they compare ActiveCampaign deal values with paid Stripe invoices. For the longer version, see email marketing revenue tracking for online stores, and to set revenue against what you spend, use the email marketing ROI calculator. If you send with Omnisend instead, see Omnisend revenue tracking for campaigns and automations.

An example: five orders after one send

Example data, made up to show the method: five orders placed within Klaviyo’s window after one sale campaign, with the revenue Klaviyo reports for the send beside the channel Virling credits from the visit joined to each payment.

OrderWhat the buyer didKlaviyo, for the sendVirling, by visit
$84Clicked the email and bought in that visit$84Email, $84
$97Clicked the email, came back the next day by typing the address$97Email, $97
$126Opened without clicking, bought two days later from a search ad$126Paid, $126
$59Mail app loaded the email on its own, bought from an Instagram link$59Social, $59
$142Past customer clicked the email and bought again$142Organic search, $142, the channel of their first order
$508Total$508Email $181, other channels $327

Klaviyo reports $508 for the send because it credits every order whose buyer opened or clicked within the window, including the privacy load and the repeat buyer. Virling gives each order to one visit, so only the two orders a click led to, $181, stay with email, and the other $327 goes to the channels that brought those buyers. The fourth row assumes Apple privacy opens are not excluded in your Klaviyo account. To turn your click-based email revenue into a value per subscriber, use the email subscriber value calculator.

Klaviyo UTM settings: account level and message level

Per Klaviyo’s help article on UTM tracking, the account setting is under your account name, then Settings, then Other > UTM tracking. Turning on Automatically add UTM parameters to links tags the campaigns and flow messages you create from then on. It does not switch tagging on for messages that already have it off: each campaign has its own Include tracking parameters option and each flow email has Enable UTM Tracking, so open every live flow and check.

The account page also sets the values. Klaviyo always adds utm_source and utm_medium, while utm_campaign is optional, and without it you cannot tell one message from another, so turn it on. A common setup is Klaviyo as the source, the message type as the medium (email for emails, sms for texts), and the campaign name or flow message name as the campaign. A link from a campaign named winter-sale-2026 then arrives like this:

https://yourstore.com/collections/sale?utm_source=Klaviyo&utm_medium=email&utm_campaign=winter-sale-2026

Klaviyo only tags links with click tracking on. After a send, click a link in your own inbox and read the address bar on your store: those tags are what Virling sees. Links you share outside Klaviyo need tags of your own, and the free UTM builder makes them.

Abandoned cart, browse abandonment and win-back flows

With the flow message name as utm_campaign, each email of a flow is its own row, so name them with the flow and the step, such as Abandoned cart 1 and Abandoned cart 2. Keep those names: a renamed message starts a new row, and Winter sale and winter sale are two rows. Each kind of flow then reads differently:

  • Abandoned cart. The shopper already reached checkout, so there is an earlier visit, often from an ad or a search. If they click the reminder and buy, that click is the latest visit that was not Direct, and the default model gives the order to the email. If they come back by typing your address instead, the order goes to the channel that brought them before.
  • Browse abandonment. These go to people who viewed a product but did not buy, so orders often come days later. The email keeps the credit only if its click is still the latest visit that was not Direct when the order is placed, within the 90-day window. See the attribution model.
  • Win-back. These go to past customers, and Virling treats a later order by the same customer like a renewal: it keeps the channel of that customer’s first order. The win-back click is still stored as a visit with its campaign, but the revenue stays with the channel that first brought the customer, while Klaviyo counts it for the email. The same goes for post-purchase and replenishment flows. See renewals.

How a Shopify order is joined to the click

Connect Shopify with a custom app token that has only the read_orders scope. Virling imports the last 60 days of orders, then new ones every minute, and lowers revenue when you refund. A short snippet in theme.liquid stores the visitor ID on the cart, and Shopify copies it onto the order as a note attribute; that is what ties the order to the Klaviyo click before it. UTM tags that Shopify saves on the order itself are not read. See the Shopify docs.

Klaviyo already knows each subscriber’s email, and your store can use it too: if your site sends the shopper’s email as an identify event, an order without a visitor ID but with the same email is credited to that visitor and shows Matched by email. See unattributed revenue. On WooCommerce, connect a read-only REST API key and add the WooCommerce snippet instead.

Where Klaviyo clicks show up

Klaviyo email clicks tagged utm_medium=email go to the Email channel with Klaviyo as the source, and the full rules are in how channels are decided. Untagged clicks usually arrive without a referrer and are counted as Direct, along with the order that follows.

Read flow and campaign revenue

Click Email on the Channels card to filter the dashboard to email visits, then open the Campaign tab: every campaign and flow message is a row with visitors, revenue and revenue per visitor. Put the abandoned cart steps side by side to see whether the later reminders still bring orders. On the Payments page, open any order to see the visits before it and which one got the credit, the quickest way to answer “did that email really sell this?”

What to check if the numbers look off

  • Email revenue is far below Klaviyo’s. Expected: opens, orders that came through another channel, and repeat orders from existing customers are not credited to email here.
  • A flow’s orders show as Direct. That flow message has UTM tracking off, the link has click tracking off, or a redirect dropped the tags. Flow emails that existed before you turned on the account setting keep their own setting.
  • Orders show as Unattributed. The order has no virling_vid note attribute. Check that the snippet is in your theme; see set up Virling for an online store.
  • One flow is split across rows. A flow message was renamed, or names differ in case. Pick one name and keep it.

Frequently asked questions

How do I see which Klaviyo email brought a Shopify or WooCommerce order?

Turn on Klaviyo’s UTM tracking so every campaign and flow link carries utm_source, utm_medium=email and utm_campaign. Connect your store and store the visitor ID on each order. Each order is then credited to the tagged visit before it, and the Campaign tab shows revenue per campaign and flow message.

Is the revenue Klaviyo reports real?

The orders are real, but Klaviyo credits an order to a message when the buyer opened or clicked it within an attribution window, however they reached the store. Some opens come from mail apps that load emails on their own. Click-based revenue counts an order for email only when a click from the email led to it, so it is usually lower.

Does a Klaviyo email that was only opened count in Virling?

No. Virling credits orders to visits, so an email counts only when someone clicks a tagged link and lands on your store. If the buyer later arrives from another channel, the default model credits the latest visit that was not Direct.

Why does my Klaviyo win-back flow show little revenue in Virling?

Win-back emails go to past customers, and Virling keeps a repeat order by the same customer on the channel of that customer’s first order. The click is still recorded with its campaign, but the revenue stays with the channel that first brought the customer.

Does Virling replace Klaviyo?

No. Virling does not send email. It reads tagged visits and your Shopify or WooCommerce orders, so keep sending with Klaviyo.

See which Klaviyo emails bring real orders

Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.

Start free trial See the demo