Send Shopify orders to Klaviyo as server-side events
By the HonestTag team ยท Published October 16, 2026
HonestTag sends verified Shopify purchases to Klaviyo from its server through Klaviyo's Create Event API, each as a HonestTag_Purchase event plus, once the buyer is known to be new or returning, the one or two HonestTag goal metrics that order counts toward (new or returning customer, and first-click new customer), and sends refunds as HonestTag_Refund events. Which orders are sent is listed below. Klaviyo is an email and SMS platform, not an ad platform, so there is no ad spend to read and no conversion goal to create. You connect it with a Klaviyo private API key, or by signing in to Klaviyo when the card offers it. This page lists what you need, the exact steps, what is sent, how it sits beside Klaviyo's own Shopify integration, and how to check it works.
What you need
- A Klaviyo account and the right role. Klaviyo's private API key article says: "You must be an Owner or Admin to create, clone, or delete a private API key."
- A private API key, or a Klaviyo sign-in. The key is a Custom Key with read access to Accounts and Metrics and full access to Events and Profiles. Accounts, Events and Profiles are the scopes Klaviyo lists for the three calls HonestTag makes to deliver:
accounts:readfor Get Accounts,events:writefor Create Event andprofiles:writefor Create Profile. Metrics read access is for Klaviyo's own order claims on every paid plan: Klaviyo listsmetrics:readfor Get Metrics and Query Metric Aggregates, andevents:readfor Get Events. Klaviyo also says "Private API keys have full access by default", so choose Custom Key on purpose. When the card shows a Connect Klaviyo button, you can sign in to Klaviyo instead of making a key. The sign-in asks for the three delivery scopes and three read scopes, for Klaviyo's order claims and email and SMS clicks:metrics:readandevents:read(above), andprofiles:read, because HonestTag reads each click together with the profile it belongs to, and Klaviyo requires read access to both "the requested endpoint and its related resource". If the read scopes are not granted, delivery still works and no clicks or order claims are read. A store that connected by sign-in before the read scopes were asked sees Sign in to Klaviyo again to add email clicks. on the card on higher plans, or Sign in to Klaviyo again to show Klaviyo's own order claims on The Gap. on other paid plans; signing in again from the card adds them. - HonestTag's pixel on your store. Each Klaviyo event is matched to a profile by the Klaviyo profile ID HonestTag saved for the visitor, or by Klaviyo's own click ID (
_kx) recorded when a shopper lands from a Klaviyo email. HonestTag's random visitor ID goes with it but is never enough on its own. An order with neither is not sent to Klaviyo. - A paid HonestTag plan for delivery. The free Mirror plan never sends your orders to Klaviyo. Connecting Klaviyo needs a paid plan: the free Mirror plan connects Google Ads and Meta only, and a store's first paid plan starts with a 21-day free trial. Klaviyo counts toward your plan's delivery limit: on a full plan, connecting it asks you to disconnect another destination or choose a plan that delivers to more. If a plan change leaves more connected than your plan delivers to at once, Klaviyo ranks after your ad platforms and ahead of Google Analytics 4 unless you choose otherwise, and you pick which ones get the slots on the Setup tab. If your store moves to the free Mirror plan, a Klaviyo connection you made earlier stays saved, but HonestTag sends nothing to it and reads nothing from it while the store is on the Mirror plan. Back on a paid plan, the reads resume, and delivery resumes while Klaviyo holds one of the plan's delivery slots. Profile matching by email (below) is on higher plans. See pricing.
Where to find what the card asks
Private API key
You need to be an Owner or Admin in Klaviyo to make this key.
- In Klaviyo, click your organization name in the bottom left, then Settings, then API keys. The link below opens that page.
- Make the key as the step-by-step list above shows, then paste it here.
Connect Klaviyo, step by step
- Open API keys in Klaviyo. In Klaviyo, click your organization name in the bottom left, then Settings, then API keys. Klaviyo says: "You must be an Owner or Admin to create, clone, or delete a private API key."
- Create a Custom Key. Click Create Private API Key and name it HonestTag. Choose a Custom Key and give it read access to Accounts and Metrics and full access to Events and Profiles. A Full Access Key also works, but gives HonestTag more than it needs.
- Copy the key. Click Create and copy the key, which starts with
pk_. Klaviyo does not show it again, and an existing key's access cannot be changed later. - Paste it on the Klaviyo card. In your Shopify admin, open the HonestTag app, go to Setup, and find the Klaviyo card. If the card shows a Connect Klaviyo button, open Paste a private API key below it. Paste the key and choose Check the key and save.
- Check the card. HonestTag saves the key only after Klaviyo confirms it opens your account. The card then shows your Klaviyo account ID and whether profile matching by email is on for your plan.
When you save, HonestTag calls Klaviyo's Get Accounts with the key, which Klaviyo describes as a way to "test if a Private API Key belongs to the correct account prior to performing subsequent actions with the API." If Klaviyo refuses the key, nothing is saved. This check cannot prove Events and Profiles access without writing to your account, so a key missing either is caught at the first send and shown on the card as an alert.
Signing in instead. When the card shows Connect Klaviyo, choose it. Klaviyo asks you to approve HonestTag for one Klaviyo account; select Allow. Klaviyo may show an installation warning on that page; select Allow to continue. After the sign-in, HonestTag reads which account you approved and saves nothing unless Klaviyo names one. A store connected with a key can move to sign-in from the card at any time; the key keeps working until the sign-in completes. Do not move back from sign-in to a key. Klaviyo's metric branding page says: "While our system will handle the move from an API metric to a branded app metric, you cannot move from a branded app metric to an API metric - this will result in a divergent metric." On a store connected by sign-in, the card offers only Disconnect, not a key form.
What HonestTag sends to Klaviyo
Klaviyo has no conversion goals to set up. Instead, every purchase HonestTag sends becomes a HonestTag_Purchase event, HonestTag's All Purchases goal, and once the buyer is known to be new or returning, the same purchase is also sent under one or two goal metrics:
HonestTag_Purchase_NC: the buyer is a new customer.HonestTag_Purchase_RC: the buyer is a returning customer.HonestTag_Purchase_FCNC: a new customer whose first recorded click was on any paid ad platform. Klaviyo is not an ad platform, so this is HonestTag's own definition here, and the event carries afirst_click_platformproperty naming that platform.
HonestTag does not create these metrics at connect. Klaviyo's Events API overview says: "If the metric you provide does not match an existing one, a new metric will be created with its own metric_id." So each metric appears in your account after the first order that counts toward it. For how the same four goals work on ad platforms, see the HonestTag conversion actions.
Each event is one Create Event call to a.klaviyo.com/api/events/ and carries:
- The value and currency: the order value in
value, and the store currency invalue_currency, which Klaviyo defines as "The ISO 4217 currency code of the value associated with the event." The order value comes from the order total, net of tax. - The order time from Shopify, and a
unique_id: HonestTag's event ID derived from the order, the same on every retry. - Properties: the order name, the item count (a bundle counts once), and
customer_type,ncfor a new customer orrcfor a returning one, when Shopify has confirmed the customer's history by the time it is sent. - The profile: the Klaviyo profile ID when HonestTag has one for this visitor; otherwise HonestTag's random visitor ID as the profile's
external_id, and Klaviyo's_kxwhen the pixel recorded one. Klaviyo describes_kxas "an encrypted identifier used for identifying a profile by Klaviyo's web tracking." No email address or phone number is ever placed in an event, and no product lines are sent.
Profile matching by email (higher plans). HonestTag sends a recorded visitor's order email address to your Klaviyo account, unhashed, with Klaviyo's Create Profile call, whenever HonestTag has no usable saved Klaviyo profile link for that visitor, including another attempt after a failed match, a failed save, or the link's expiry or erasure, so Klaviyo can find the shopper's existing profile or create one. HonestTag keeps only the profile ID Klaviyo returns, for up to 365 days, and later orders and refunds from that visitor use the profile ID while the link lasts. An order with neither a saved profile link nor a Klaviyo click ID is not sent to Klaviyo, because an event keyed on HonestTag's visitor ID alone would create a new Klaviyo profile with no email address or phone number; the order's proof says it was not sent and why. The card's account line says which applies to your store.
Consent rules are the same as for every destination and are stated on the server-side delivery page; section B3 of the privacy policy lists what Klaviyo receives.
What HonestTag reads, and what it never touches
- Reads: your Klaviyo account ID, with Get Accounts, when you save and in HonestTag's connection health checks. Klaviyo is not an ad platform, so there is no spend to read and nothing appears in a spend column. While Klaviyo is connected, once an hour, on every paid plan, HonestTag reads Klaviyo's daily totals of the orders it credits to email and SMS (with Query Metric Aggregates) and, when it first sets up these reads, the account's reporting currency (with Get Accounts), shown on The Gap as Klaviyo's own claim, never blended into HonestTag's numbers. On higher plans it sits on the Klaviyo row beside the new customers whose first click was an email or text and the orders an email or text click took part in; on other paid plans it sits beside the orders your store recorded with an email or text link as the last click. On higher plans, it also reads your Clicked Email and Clicked SMS events (with Get Metrics and Get Events), keeping only clicks it can link to a shopper from an earlier order, through the visitor ID HonestTag gave that profile. Starting December 4, 2026, or after your store's 30-day in-app notice period, whichever is later, it can also link clicks through the profile Klaviyo returned for that shopper's order. Until then, only the visitor ID path applies. The link is kept on HonestTag's side, so nothing more is written to your profiles. A click HonestTag matches to a shopper shows in the proof of the order that followed, and it never replaces the first click on record; clicks Klaviyo marks as bot clicks are never matched to a shopper. If Klaviyo refuses those reads, delivery is unaffected and HonestTag says what the connection lacks, in the Email row on higher plans and in the Klaviyo row on The Gap on other paid plans; on a store connected by an earlier sign-in, the card says to sign in to Klaviyo again. The privacy policy lists exactly what is read and kept.
- Writes: the events above and, on higher plans, the profile lookup by email. Klaviyo's Create Event page notes that the endpoint "allows you to create a new profile or update an existing profile's properties", so a profile keyed on HonestTag's visitor ID can be created for an event.
- Never touches: flows, campaigns, lists, segments or templates, and never reads a profile's email address. HonestTag writes only through Create Event and Create Profile, and deletes nothing in your account. A sign-in connection also refreshes its token, and HonestTag asks Klaviyo to revoke it when you disconnect or uninstall, as described below.
Avoid counting a purchase twice
Retries. Klaviyo's rule, from the Create Event reference: "If the unique_id is repeated for the same profile and metric, only the first processed event will be recorded." HonestTag sends every retry of a purchase with the same unique_id, under the same metric, to the same profile it chose when the order came in, so a retried delivery does not add a second HonestTag_Purchase. If one goal metric fails after HonestTag_Purchase was accepted, HonestTag retries the whole set, and Klaviyo keeps only the first copy of each.
Klaviyo's own Shopify integration. Klaviyo's Shopify data reference says: "The metrics with a Shopify icon represent all of the metrics synced from your Shopify integration", and lists Placed Order and Refunded Order among them. HonestTag's events are filed separately: sent with a key they are API metrics, which Klaviyo says "can be filtered by selecting API in the Metrics tab", and sent through a sign-in they are app metrics, which Klaviyo defines as "metrics created via OAuth." Klaviyo calls metrics that "share the same name, but come from different sources" "two or more distinct metrics with unique metric IDs." So HonestTag sends under names of its own, HonestTag_Purchase and HonestTag_Refund, and never under Placed Order or Refunded Order: the Shopify integration's metrics stay the only ones with those names. Build each flow, segment and report on Placed Order or on HonestTag_Purchase, not on both, or each order counts twice. The duplicate purchase events guide shows how to find every purchase source on a store.
Refunds, edits and which orders are sent
- Refunds: each refund is sent as a
HonestTag_Refundevent with the refunded amount, anadjustment_typeproperty (RETRACTIONfor a full refund,RESTATEMENTfor a partial one), and agoalsproperty listing HonestTag_Purchase and every goal metric the order counted toward, so a flow built onHonestTag_Purchase_NCcan see the refund too. HonestTag does not delete the HonestTag_Purchase event; the refund is a separate event. A refund is sent only when Klaviyo received the order's purchase and HonestTag has a saved Klaviyo profile link for the shopper, which comes from profile matching by email; Klaviyo's click ID is not enough, since the one on record may not be the one the purchase was sent on. Klaviyo's Shopify integration differs here: Klaviyo says it "only receives events from fully refunded orders (not partially refunded orders)." - Cancellations are sent the same way, as a full HonestTag_Refund.
- Order edits and upsells: when an edit lowers the order value, the difference is sent as a HonestTag_Refund. When an edit raises it, nothing is sent and order proof says why: "HonestTag corrects Klaviyo only with a HonestTag_Refund event, and an added value is not a refund; Klaviyo keeps the order value sent at checkout".
- Which orders: orders from your online store are sent. Point of sale orders and subscription renewals are not sent to Klaviyo; the first order of a subscription is an online store checkout and is sent. Orders from other apps and sales channels are kept out unless you switch them on, as described in which orders are sent. Never sent: test orders; orders already cancelled, voided or fully refunded when HonestTag receives them; orders paid only with a gift card; and orders with neither an email address nor a phone number, unless they carry a Google Ads click. For a buyer in the EU, EEA, UK or Switzerland, the order needs a HonestTag visitor ID; Klaviyo's click ID alone is not enough. An order placed while delivery is paused for billing is not sent to Klaviyo afterwards.
How to check it works
- On the card. After you save, the Klaviyo card says: "Klaviyo accepted the key for your account. Its Events and Profiles access is checked on the first send; missing access shows here as an alert." Its account line shows your Klaviyo account ID and whether profile matching by email is on.
- In HonestTag order proof. After the next online order from a visitor HonestTag recorded, open it in the HonestTag app. The proof shows Klaviyo, the delivery status and the metrics sent, for example
HonestTag_PurchaseandHonestTag_Purchase_NC. Klaviyo answers a Create Event call with HTTP 202, and its reference says a success "indicates that the event was validated and submitted for processing, but does not guarantee that processing is complete." So the proof reads accepted, not delivered. - In Klaviyo. Klaviyo's raw metric data article says: "To view raw metric or event data, go to the Analytics > Metrics." Open the HonestTag_Purchase metric (with a key, filter the Metrics tab by API), then "navigate to the Activity feed tab." From a row's three-dot menu, Activity Details shows the event's JSON. Klaviyo's Events API overview also says a created event appears "in the profile's activity feed in Klaviyo."
Error messages and what to do
- "paste your Klaviyo private API key. It starts with pk_" The field was empty.
- "this looks like your Klaviyo Public API key (the 6-character site ID)." That key is for Klaviyo's browser APIs. Create a private key under Settings, API keys, Create Private API Key.
- "a Klaviyo private API key starts with pk_, and this one does not." or "this is not a whole Klaviyo private API key" Copy the key again with Klaviyo's copy button, or create a new one.
- "Klaviyo did not accept this private API key." The key was mistyped, revoked, or belongs to a different Klaviyo account. Klaviyo's own reason follows when it gave one. Nothing was saved.
- "Klaviyo accepted the key, but it has No Access to Accounts" Klaviyo does not let you change an existing key's access, so create a new Custom Key with read access to Accounts and Metrics and full access to Events and Profiles.
- "Klaviyo is limiting how often this check can run" Klaviyo's Get Accounts limit is one call a second and 15 a minute. Wait and save again.
- "Klaviyo did not grant ... Connect again and leave every permission on." The sign-in was approved without one of the three delivery scopes. Sign in again.
- "Klaviyo accepted the sign-in but did not name the account it opens" Nothing was saved. Try the sign-in again in a minute.
- "Klaviyo recorded HonestTag_Purchase but not HonestTag_Purchase_NC" (or another goal metric). One goal event failed; HonestTag retries the order, and Klaviyo's
unique_idrule keeps the events already accepted from being recorded twice. - Reconnect needed. When Klaviyo answers a delivery with HTTP 401 or 403, the key was deleted or lacks Events or Profiles access, or the sign-in was removed. The card asks you to reconnect: paste a new key, or sign in again.
Disconnecting
Disconnect from the Klaviyo card: delivery stops shortly after, and the stored key or sign-in is deleted. For a sign-in, HonestTag first asks Klaviyo to revoke it, as Klaviyo asks apps to do "when a user uninstalls your app from your platform." Uninstalling the app also stops delivery, and HonestTag asks Klaviyo to revoke a sign-in; the stored key or sign-in is deleted with the rest of your store's data, on the schedule in the privacy policy. Everything already measured stays, per the published retention schedule. The events and metrics already in Klaviyo stay there, and a private API key stays in Klaviyo until you delete it on its API keys page. If you are moving from another tracking app, see switching apps.
Frequently asked questions
Klaviyo's Shopify integration already records Placed Order. What does HonestTag add?
Klaviyo's Shopify integration syncs its own Placed Order metric. HonestTag sends its own events from its server, under names Klaviyo's Shopify integration does not use: a HonestTag_Purchase event for every order it sends to Klaviyo (this page lists which orders are sent), plus HonestTag_Purchase_NC for a new customer or HonestTag_Purchase_RC for a returning one once the customer's history is confirmed, and HonestTag_Purchase_FCNC as well when a new customer's first recorded click was on a paid ad platform. It also sends a HonestTag_Refund event for full and partial refunds on an order Klaviyo received, when HonestTag has a saved Klaviyo profile link for the shopper, where Klaviyo says its Shopify integration only receives fully refunded orders.
Will Klaviyo count an order twice?
Not inside one metric: HonestTag sends every retry of a purchase with the same unique_id to the same profile, and Klaviyo keeps only the first event per profile, metric and unique_id. HonestTag's metrics never share a name with Klaviyo's Shopify integration's, so Placed Order stays the Shopify integration's alone. A flow, segment or report that adds HonestTag_Purchase to Placed Order counts each order twice, so build each one on one of them.
Which permissions does the Klaviyo API key need?
A Custom Key with read access to Accounts and Metrics and full access to Events and Profiles. Accounts, Events and Profiles match the scopes accounts:read, events:write and profiles:write that Klaviyo lists for Get Accounts, Create Event and Create Profile. Metrics read access is for Klaviyo's own order claims on every paid plan. A Full Access Key also works.
Does HonestTag send customer email addresses to Klaviyo?
Never inside an event. Events are matched to a profile by a Klaviyo profile ID, or by Klaviyo's own click ID with HonestTag's random visitor ID beside it. On higher plans, HonestTag also sends a recorded visitor's order email address, unhashed, to your Klaviyo account whenever HonestTag has no usable saved Klaviyo profile link for that visitor, including another attempt after a failed match, a failed save, or the link's expiry or erasure, to find the shopper's existing profile or create one, and keeps only the profile ID Klaviyo returns, for up to 365 days.
Should I use an API key or sign in with Klaviyo?
Either works, and both send the same events. When the card offers sign-in, you can move from a key to sign-in at any time. Do not go back from sign-in to a key: Klaviyo says that move "will result in a divergent metric", which splits HonestTag_Purchase and the goal metrics in two.
Do server-side events from HonestTag trigger Klaviyo flows?
Ordinary purchase events and their accompanying goal metrics can trigger flows. Purchases sent late, after delivery was held, and their accompanying goal metrics, use Klaviyo's backfill flag and do not trigger flows. Goal metrics sent later, after the customer's history is confirmed, also use backfill and do not trigger flows. Klaviyo says a backfill event "is still recorded and is visible in metrics, segmentation, and the events API, but it does not trigger flows." A flow triggered on HonestTag_Purchase runs on HonestTag's events, not on the Shopify integration's Placed Order.
Related: every HonestTag integration, server-side delivery, first-click attribution, which decides the FCNC metric, and first-party tracking.