Skip to main content
Saleor → KlaviyoIntegration guide

Connecting Saleor to Klaviyo

Saleor is headless and GraphQL-first, which means the storefront and the commerce engine are separate applications and the identifier has to survive a boundary that traditional platforms do not have. Klaviyo drives the flows, so an event it never receives is a flow that never triggers and revenue that never happens. The join between them succeeds or fails on one thing: whether the profile identity — email or phone reaches the Saleor order before the conversion happens, because Klaviyo can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Saleor to Klaviyo: order metrics from webhooks, browse from storefront

Saleor lacks a full plug-and-play Klaviyo sync, so check the published Saleor Klaviyo app or build from webhooks: Placed Order on payment, Ordered Product per line, Fulfilled Order and Refunded Order. Storefront browse events must land on the same profile, so identify by checkout email there and reuse it server-side. Set a unique ID per order to block retries.

Klaviyo works for Saleor DTC brands, but there is no plug-and-play store sync building every ecommerce metric the way hosted platforms get. Saleor has published a Klaviyo app in its apps repository; check whether it is still maintained and which events it sends before relying on it. Otherwise build from webhooks: Placed Order on payment, Ordered Product per line, Fulfilled Order on fulfillment and Refunded Order on refund, using the metric names Klaviyo's flow templates expect.

Browse and cart events are the headless gap. Viewed Product and Started Checkout happen in your storefront, so they come from Klaviyo's script there with the __kla_id cookie, while order events come from the server. Both must land on the same profile, which means identifying the visitor with their email at checkout in the storefront and using that exact email on the server event.

Placed Order should carry the total the customer saw, because templates display it; net reporting belongs elsewhere. Saleor can redeliver a webhook after a timeout, so set a unique ID per order on the event (check the Events API field) to stop a retry from creating a second order and a second confirmation-triggered flow.

Saleor → Klaviyo · what breaks

Why this join usually fails — Saleor → Klaviyo

  1. 01

    The profile identity — email or phone never reaches Saleor

    The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.

  2. 02

    A storefront that knows the click and an API that holds the money

    Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.

  3. 03

    Duplicate events trigger duplicate emails

    Unlike an ad platform, a duplicate here is visible to your customer. Two order confirmations for one order is a support ticket, not a reporting discrepancy.

  4. 04

    Nothing reconciles afterwards

    Klaviyo shows the event on the profile's activity feed within moments. Check the profile, not the API response — and specifically check whether the same metric is arriving twice from two sources.

Saleor → Klaviyo · the fix

What working looks like — Saleor → Klaviyo

  • The profile identity — email or phone on every order

  • Conversions arriving in Klaviyo

    The event lands on the profile, triggers the flows that depend on it, and becomes available for segmentation.

  • Reconciled against the source

Saleor → Klaviyo · architecture

How Saleor and Klaviyo actually connect

  1. 1

    Saleor holds the truth

    In a headless setup the storefront is one of several possible clients. Attributing from it means measuring one channel of a system designed to have many.

  2. 2

    Klaviyo needs a click to match

    Klaviyo needs to resolve the event to a profile. Given an email it will create or update; given nothing it discards the event.

  3. 3

    The identifier is the bridge

    The profile identity — email or phone, captured at the visit and carried into the Saleor order.

  4. 4

    The event source decides reliability

    Send fully paid orders at their net total, sourced from the API.

  5. 5

    Deduplication at the destination

    Klaviyo does not deduplicate events for you. Sending the same purchase from both the store integration and your own server produces two events, two flow triggers and potentially two emails to a customer who bought once.

Saleor → Klaviyo · normal or broken

Working vs. broken, side by side — Saleor → Klaviyo

Normal, not a fault

  • The profile identity — email or phone present on the order

  • Sent from the Saleor order webhook

  • Deduplicated correctly

    Klaviyo does not deduplicate events for you. Sending the same purchase from both the store integration and your own server produces two events, two flow triggers and potentially two emails to a customer who bought once.

  • Reconciles with the source

Actually broken

  • The profile identity — email or phone missing on most records

    The storefront holds the browser session; the commerce API holds the order. Nothing carries between them unless the storefront puts it there.

  • Sent from the browser

    Headless architectures split exactly the two things attribution needs to join. If the storefront does not deliberately write the identifier into order metadata, the connection does not exist anywhere.

  • Counted twice, or not at all

    Unlike an ad platform, a duplicate here is visible to your customer. Two order confirmations for one order is a support ticket, not a reporting discrepancy.

  • Nobody has reconciled it

Saleor → Klaviyo · diagnose

Diagnostic order — Saleor → Klaviyo

  1. 01

    Count orders carrying the profile identity — email or phone

  2. 02

    Follow one real conversion end to end

  3. 03

    Inspect order metadata on a live order for the identifier

    Either it is on the order or the attribution is guesswork. There is no middle state.

  4. 04

    Open the profile's activity feed after a test event

    One event or two? Check whether the native store integration is already sending the same metric before you add a second source.

  5. 05

    Read the match rate, not the success message

    Klaviyo shows the event on the profile's activity feed within moments. Check the profile, not the API response — and specifically check whether the same metric is arriving twice from two sources.

Saleor → Klaviyo · prove

How it gets proven — Saleor → Klaviyo

Source of truth

Saleor orders by payment status, read from the API rather than inferred from the storefront.

  • The profile identity — email or phone confirmed present on a live order.
  • The profile activity feed confirmed to show one event per conversion, with no overlap against the native integration.
  • Paid orders reconciled from the API against imported conversions.

Saleor → Klaviyo · free audit

What we check in the free audit

  • Count orders carrying the profile identity — email or phone
  • Follow one real conversion end to end
  • Inspect order metadata on a live order for the identifier
  • Open the profile's activity feed after a test event
  • Read the match rate, not the success message

Checked against

Saleor orders by payment status, read from the API rather than inferred from the storefront.

Get my free conversion tracking audit

Free30 minutesNo obligation

Saleor → Klaviyo · when not to buy

When you don't need this — Saleor → Klaviyo

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the profile identity — email or phone.
  • If you run a single storefront and no other clients, the added complexity of headless attribution buys you nothing over a standard integration.
  • If Klaviyo's native store integration already sends the events your flows need, adding a second source creates duplicates rather than value.

Saleor → Klaviyo · what we deliver

What gets built — Saleor → Klaviyo

  • Identifier capture into Saleor

    Capture in the storefront and write the identifier into order metadata through the API at checkout, so it lives on the order rather than in a session.

  • Event source: the Saleor order webhook

    Send fully paid orders at their net total, sourced from the API.

  • Dispatch to Klaviyo

    The Klaviyo Events API with the profile identifiers and the event properties, sent server-side.

  • Reversals where they exist

    Refunds and cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Saleor orders by payment status, read from the API rather than inferred from the storefront.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Saleor → Klaviyo questions, answered

Saleor has published a Klaviyo app in its apps repository; check its current status and event coverage. Many stores build their own from Saleor webhooks to Klaviyo's Events API.

Free · 30 min

Get Saleor and Klaviyo joined properly

Free30 minutesNo obligation