Blog post
Insights

Klaviyo Shopify Integration: Setup, Sync Checks and Flows

A clean, minimalist slide with the text Klaviyo Shopify Integration: Setup, Sync Checks and Flows.

You connect Klaviyo on a Tuesday, the welcome flow goes live on Thursday, and by the end of the month the dashboard shows a healthy five-figure sum under flow revenue. Then someone in finance asks the obvious question: did the emails create that revenue, or did the emails take credit for orders that were already going to happen? In the same week, two smaller problems usually surface. The browse abandonment flow has an audience a fraction the size of the traffic Shopify Analytics reports, and a test profile you created yourself never produced a single Viewed Product event.

Neither of those is a broken integration. Both are the direct result of decisions made at setup, in the theme, in consent settings and in how customer identities get matched. These gaps affect a lot of stores because the Klaviyo Shopify integration sits at the center of a long-running partnership: Klaviyo has been in the Shopify ecosystem since 2017, and on August 2, 2022 the two companies announced a formal product partnership making Klaviyo the recommended email solution partner for Shopify Plus, as Shopify's partner blog records. Plenty of merchants now run both platforms together, which means plenty of dashboards carry numbers nobody has verified.

The way through is to stop treating setup as a one-time install and start treating it as a series of tests. Each step either passes or fails. Can Klaviyo see the product view? Does the checkout event carry the right email address? Does the attributed order exist in Shopify with a matching total? A flow that fires is not proof a flow works, and a revenue figure on a dashboard is not proof the flow earned it.

That is the frame for everything below: confirm what each flow can see before you trust the revenue numbers built on top of it.

Table of Contents

Set Up the Shopify Connection Step by Step

The connection itself takes about ten minutes. What decides whether everything after it works is the store and account pairing and the tracking embed, and both are easy to click past when you're moving fast.

There are six steps. Each one either passes or fails, and a failed step produces a specific broken symptom later, so treat the list as a series of checks rather than a formality.

A step by step guide illustration showing how to connect and integrate Shopify with the Klaviyo platform.

  1. Start the connection from inside Klaviyo. Open the Integrations page in your Klaviyo account, add Shopify, and begin there rather than from the Shopify App Store. Starting in Klaviyo forces you to name the destination account before any data leaves Shopify, which is exactly the decision that causes the most damage when it goes wrong.

  2. Authorize with an owner or admin login. The permission screen lists what Klaviyo will read: customers, orders, products. A connection set up by a staff account without install rights can look finished on both sides while syncing almost nothing, and you won't find out until a flow fails to fire. The pass test here is simple: the account authorizing has install permissions in Shopify admin.

  3. Confirm the store and the Klaviyo account together. If you run several stores, a sandbox, or an agency-managed account alongside your own, write the pairing down before you click. A mismatched pairing routes every later order, customer and event into the wrong account, and pulling two stores' customers apart inside one profile set is slow, manual work.

  4. Switch on the Klaviyo app embed in the active theme. In Shopify admin, go to Online Store, Themes, Customize, and open the App embeds panel. The embed drives on-site tracking, including Viewed Product. Leave it off and order data still arrives, but browse abandonment and product-interest flows have no trigger at all. This step fails without any alert because nothing tells you it is off.

  5. Wait for the integration status to update. Authorization is not the same event as a completed integration update. Coming back to Klaviyo too early, before the status reflects the new connection, is how stores end up testing against a half-configured link and concluding the data is broken.

  6. Record the connection date and store name. In six months, when a browse flow goes quiet or a report looks wrong, the first question will be which Shopify store was paired with which Klaviyo account, and when. One line in your launch notes answers it.

A finished connection has four visible marks: the correct store listed, the status showing as updated, the app embed active in the current theme, and no errors on the integration page. If any one of the four is missing, the setup is incomplete, whatever the dashboard suggests.

What Syncs on Day One and What Follows

The first thing that happens after you connect is not a full migration. Klaviyo imports the previous 90 days of order and customer data first, continues importing older records up to 10 years by default, and only once that history has landed does newly generated Shopify data sync in real time, as set out in Klaviyo's Shopify integration guide. That staging is why a store can message recent buyers on the day it connects while a lifetime-value analysis still looks thin.

Data or eventInitial importAfter the importFlows it supports
Orders and customersPrevious 90 daysReal-time sync for new dataRecent buyer and contact activation
Older order and customer recordsUp to 10 years by defaultImported after the 90-day syncLonger purchase history for segments
Checkout events (Checkout Started, Added to Cart)Live from connection onwardReal-time sync for new dataAbandoned checkout flows
Order events (Placed Order, Cancelled Order, Refunded Order)Backfilled with the 90-day order importReal-time sync for new dataPost-purchase and winback flows
Fulfillment events (Fulfilled Order, Confirmed Shipment, Delivered Shipment)Live from connection onwardReal-time sync for new dataShipping and post-purchase flows
Browse events (Viewed Product, Viewed Collection, Submitted Search)Only once onsite tracking is liveReal-time sync once tracking is liveBrowse abandonment flows

The event list matters more than it looks. Klaviyo receives checkout events, order events, fulfillment events and browse events, and it supports both Shopify's one-page checkout and multi-page checkout, so Checkout Started fires whichever version your store uses. Order and fulfillment data comes through the Shopify connection itself. Browse data does not; it depends entirely on the embed from the previous step.

The practical consequence is a two-speed launch. Say a store connects on a Monday. By Monday afternoon, the last 90 days of buyers exist as profiles with order history, which is enough to launch a welcome series aimed at recent purchasers or a winback segment for anyone who bought once in that window. What shouldn't launch that day is a segment built on "customers who have purchased three times in two years," because the older orders are still arriving and a purchase-count filter will exclude people whose history hasn't imported yet. Read the same data into your ecommerce and CRM reporting too early and you'll misjudge repeat rate for weeks.

Predictive features have their own gate. Klaviyo needs at least 500 customers who have placed an order plus an ecommerce integration such as Shopify before customer-lifetime-value predictions appear on profiles, and predicted CLV is defined as the amount a customer is expected to spend during the prediction period, one year by default, with the model retraining at least weekly, per Klaviyo's predictive analytics documentation. A store three weeks into its import has no business making decisions from those segments.

Validate Tracking Before Flows Go Live

The most expensive assumption in this process is that a successful OAuth approval means tracking works. It doesn't. Expired credentials, an integration update nobody confirmed, the wrong store paired to the wrong account, or a theme published last week can each stop the data while the integration page still looks green.

Klaviyo's own tracking validation guidance splits the job into two phases for exactly this reason.

A checklist showing five steps for validating tracking in the Klaviyo Shopify integration process for e-commerce.

Check the account, the update and the embed

Phase one is plumbing. Confirm the authorized Shopify store and the Klaviyo account are the pair you intended, confirm the integration update, and verify the Shopify app embed is enabled in the active theme. Changing or publishing a theme can disable on-site tracking and Viewed Product events, so this check belongs before any flow is enabled, not after something breaks. Historical ingestion is worth a look too: the 90-day import should show up as profiles with order history before you build on them.

Prove the events with a test profile

Phase two is behavioral. Open the integration's Recent Data panel and compare the latest Placed Order event against the most recent order in Shopify. If the two match in timing and value, the order pipe is healthy. Then run a controlled test on a profile you own, covering at least these signals:

  • Viewed Product: open a product page in a clean browser session with no ad blocker, then check the event lands on the test profile with a current timestamp.
  • Added to Cart: add an item, then confirm the event and the product identifier attached to it.
  • Started Checkout: begin a checkout and leave. Run this on the checkout type your customers see, because one-page and multi-page flows behave differently under test.
  • Placed Order: complete a purchase with an email address you control, then verify the order value and its link to the profile.
  • Subscription status: tick the marketing opt-in box and confirm the consent state reaches Klaviyo, not just Shopify.
  • Product and catalog attributes: check that the product block in a template renders the right title, price and image from synced catalog data.

Launch gate: no SMS flow and no purchase-triggered message goes live until every event above shows a timestamp within minutes and attaches to the test profile.

When events are missing or delayed, re-authenticate and recheck Recent Data first. That is the vendor's documented starting point, and it resolves the majority of cases before anyone needs to touch code.

Why Events Go Missing and How to Fix Them

A technically correct installation can still produce an incomplete audience. The symptom shoppers notice first is silence: browse flows that ran all spring stop overnight because a new theme went live without the Klaviyo embed, and nothing in the admin flags it.

SymptomLikely causeFix
Viewed Product events stop after a theme changeApp embed disabled in the new active themeRe-enable the Klaviyo embed in the active theme and recheck Recent Data
Placed Order events lag behind the storeIntegration not fully updated or credentials expiredRe-authenticate and compare the latest order in Recent Data with Shopify
No browse events from EU, EEA, UK or Swiss visitorsConsent not granted, so onsite events are not collectedAccept a smaller browse audience and build core flows on checkout and purchase events
One customer appears as two profilesDifferent email and phone identifiers across ordersStandardize email and phone capture at checkout and review duplicate profiles
Customers who opted out in Shopify still get messagesShopify and Klaviyo hold separate consent statesChoose one authoritative source for subscription status and map it consistently

The middle rows are the ones most setup guides skip. According to an integration audit published by Badger Blue, on-site events such as Viewed Product and Active on Site may not be collected for visitors in the EU, EEA, UK or Switzerland until the required consent is granted. A store with heavy European traffic can therefore show a browse audience far smaller than its real one, and predictive or product-interest flows trained on that audience inherit the bias.

Identity does the rest of the damage. Klaviyo can receive an event without being able to attach it to a known profile, and a customer who uses one email at checkout and a different phone number later becomes two records that never reconcile. Consent states can also diverge between the two platforms, so someone who opted out in Shopify may still be mailable in Klaviyo if the mapping was never settled.

Practical rule: decide which platform is authoritative for subscription status before you send anything, and build the core flows on checkout, purchase and explicit signup events when browsing data is thin.

The honest question isn't whether the integration works. It's which customers and which events remain observable once consent rules and identity matching have done their work.

Avoid Setup Mistakes That Break Data

Most of the failures worth worrying about are quiet. Nothing turns red; a flow just reaches fewer people than it should.

  • Connecting the wrong store. Write the production store and Klaviyo account pairing down before you click connect, then confirm it on the integrations page afterwards. Sandboxes and second stores are the usual culprits.
  • Testing only the checkout you personally use. Run test checkouts on the version your shoppers see. One-page and multi-page checkout behave differently under test, and a flow that fires in one can look broken in the other.
  • Treating launch day as the only check. Rerun the event checklist after any theme change, app install or consent policy update, because a silent embed failure is the most common way browse data disappears.
  • Enabling purchase-triggered messages while Recent Data lags. Wait until the newest Placed Order in Klaviyo matches the newest order in Shopify, then switch the flow on.
  • Assuming a flow works because it shows no errors. Open the send logs and the test profile's activity history for each message. Delivery failures hide there, not in the flow builder.

If you push data through Klaviyo's API with middleware, server-side enrichment or a historical replay, plan around both burst and sustained limits. The documented fixed-window caps are account-level and return HTTP 429 when exceeded: the M tier allows 10 requests per second and 150 per minute, L allows 75 per second and 700 per minute, and XL allows 350 per second and 3,500 per minute, per Klaviyo's API documentation. Partitioning traffic by endpoint doesn't remove the account-level constraint, so a backfill replaying old Shopify orders alongside live events will starve production traffic. Queue the writes, apply exponential backoff with jitter after a 429, make ingestion idempotent so retries don't duplicate events, and schedule backfills outside peak trading hours.

Test Core Email and SMS Flows

You subscribe a test profile, start a checkout, and walk away. If the first reminder arrives before the delay you set, the flow saw Checkout Started and ignored the schedule. That is a fail, even when the upstream event checks looked clean.

A flow can pass every data check and still send the wrong thing on the wrong schedule. Run each core automation against one controlled profile before it reaches a shopper. Write down the date, the flow name, and pass or fail. Email flows clear the gate first. SMS waits until they do.

  1. Welcome flow. Subscribe through the storefront signup form using the test profile, then confirm each email sends on schedule, every link resolves to your own store domain, and product blocks show the items you expect. A link pointing at a staging domain only shows up in a real inbox.
  2. Abandoned checkout. Start a checkout with the test profile, leave before payment, and verify the Checkout Started event triggers the flow after the delay you configured rather than instantly.
  3. Exit on purchase. Complete a test purchase and confirm the profile leaves the flow once Placed Order arrives. Without that exit, buyers receive reminders for orders they have already paid for.
  4. SMS consent. Check that the test phone number has a recorded opt-in, send one message, and confirm the consent status matches the mapping you chose between the two platforms. If they disagree, stop and fix the mapping before any SMS flow goes live.
  5. Unsubscribe. Unsubscribe the test profile and confirm nothing else arrives.

Post-purchase and thank-you emails are where content carries the flow, and small packaging details earn their place in them. This guide to memorable candle unboxings shows how a delivery detail becomes a reason for a customer to open the next message rather than archive it. Still test the send itself: the thank-you message should fire only after Placed Order, use the order's real items, and stop if the profile unsubscribes mid-series.

The same pass-or-fail check applies to the audience behind the send. Building an ecommerce email program around these flows only works if the segment is real, and a test profile is the cheapest way to find that out before customers do.

Pass or fail: log every result with the date, the flow name and whether it passed. Email flows clear the gate first, and SMS waits until they do.

Reconcile Flow Revenue With Shopify Orders

Here's where the numbers stop being flattering. Klaviyo's attribution report is not an accounting record, and it was never designed to be one.

Start with the measurement gap. Klaviyo's own attribution documentation notes that email and SMS received, opened and clicked events are not individually viewable in Shopify, even though they appear in Klaviyo's attribution reports. On top of that, Shopify order changes may not be reflected after the original event, so refunds, edits and cancellations can leave operational revenue and platform-reported revenue drifting apart. Neither system is lying. They answer different questions.

A sketched illustration of a laptop showing email marketing metrics next to Shopify records and financial scales.

Which view answers which question

Revenue viewSourceWhat it countsDecision it supports
Operational revenueShopify finalized orders and refund recordsNet sales after refunds, edits and cancellationsFinance reporting and the baseline total
Attributed flow revenueKlaviyo attribution reportOrders credited to email and SMS within the attribution windowFlow contribution, read with its window in mind
Independent cross-checkGA4 or an ad platformSessions and conversions from separate trackingWhether the direction of change agrees
Incremental liftHoldout groupOrders that happen only because the flow ranWhether flows add profit rather than credit

The method is straightforward once you accept the table. Use the same attribution window across all comparisons. Exclude refunded revenue before you compare anything. Report first orders and repeat orders separately, because a welcome flow and a winback flow don't earn their keep in the same way. And where traffic allows, hold a small share of the audience out of the flow entirely, so lift is measured rather than assumed.

Take a store whose flows get credit for a third of monthly revenue. A meaningful share of those buyers are regulars who reorder on a predictable cycle, and another slice arrived through paid search and would have converted without an email. The attributed number survives; the incremental number shrinks. That doesn't make the flows worthless, but it changes which ones you keep funding.

A retention measurement framework earns its place here, because the answer you need is financial rather than promotional.

The question to settle is not how much revenue the flows are credited with. It's how much additional profit they produced once refunds, organic demand and overlapping channels are stripped out.

Launch Your Core Flows Once Data Checks Pass

Launch when three things are true: Recent Data matches the Shopify store, every test event has passed with the right timestamp and profile link, and the consent and subscription-status mapping is settled. Not before all three.

  1. Welcome flow first. It runs on explicit signup, which is the cleanest signal in the account and the easiest to verify.
  2. Abandoned checkout second. It depends on a checkout event you've already proven fires, and it recovers revenue while you keep watching the browse numbers.
  3. Browse abandonment third. Only enable it once you know the browse audience is large enough for your traffic and consent mix to support meaningful volume. On a store with heavy EU traffic, that audience may never be as large as the product-page view count suggests.

Set a review point now: compare flow revenue against Shopify after the first full attribution window closes, and revisit the consent mapping whenever a theme or privacy policy changes. If in-house time is short, a Klaviyo agency such as Class A Media, an official Klaviyo Partner, can build and check flows inside your own account, with the work fully implemented, quality-assured and live by Day 15.

Open the Recent Data panel today and fix the first event that fails before you enable anything that sends.


Class A Media builds Klaviyo email and SMS flows for Shopify brands, covering welcome, checkout abandonment, browse abandonment and winback sequences, and every flow is built inside your own Klaviyo account so you keep the logic and templates. If your integration is connected but the browse audience never matched the traffic, or the attributed revenue still doesn't reconcile against Shopify orders, the team can audit the data feed and rebuild the flows around what tracks. Visit Class A Media to see the flow packages and start with the sequence your store can prove.

Let’s build retention systems that drive predictable, scalable revenue—without ad spend, without retainers, without guesswork.
Get Your Custom Tailored Plan
Subscribe to our newsletter

Stay Up to Date

Subscribe to our Growth Vault newsletter to receive actionable eCommerce growth insights directly in your inbox, in real time.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Your competitors are making more from email than you. That changes today.

Ready To Turn Email In To Your Most Profitable Channel?

Let's build retention system that drive predictable, scalable revenue - without ad spend, without retainers, without guesswork.