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

Where to find what the card asks

Private API key

You need to be an Owner or Admin in Klaviyo to make this key.

  1. In Klaviyo, click your organization name in the bottom left, then Settings, then API keys. The link below opens that page.
  2. Make the key as the step-by-step list above shows, then paste it here.

Open API keys in Klaviyo

Connect Klaviyo, step by step

  1. 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."
  2. 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.
  3. 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.
  4. 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.
  5. 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 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:

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

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

How to check it works

  1. 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.
  2. 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_Purchase and HonestTag_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.
  3. 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

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.