WE’LL MIGRATE YOU TO KLAVIYO FREE – LEARN MORE
Home / Blog Article / How to Set Up the Klaviyo Shopify Integration

How to Set Up the Klaviyo Shopify Integration

Decorative title card illustration for Klaviyo Shopify integration article

You can connect Klaviyo to Shopify in minutes using the Klaviyo app, then enable onsite tracking and subscriber sync to power automated email and SMS flows. The fastest path: open Klaviyo, go to Integrations > Explore apps > Shopify, paste your store URL, and follow the OAuth install prompt in Shopify.

Three things to confirm before you move on:

  • Your store URL is in the exact format mystore.myshopify.com (no “www,” no custom domain)
  • You see a green success callout in Klaviyo after the install completes
  • The Klaviyo app embed is toggled on in your Shopify theme’s App embeds tab

Get those three right and the rest of the setup is configuration, not troubleshooting.


Key Takeaways

A clean Klaviyo Shopify integration requires the correct store URL format, the app embed enabled in your theme, and a consent-compliant subscriber sync before any flows go live.

Point Details
Store URL format is critical Use mystore.myshopify.com exactly — a custom domain or typo blocks the OAuth connection.
App embed must be active Toggle Klaviyo on in Shopify’s App embeds tab; re-check after every theme change or update.
SMS consent needs manual import Historical SMS subscribers don’t sync automatically — export, verify consent records, then import.
Start flows narrow, then expand Launch welcome and abandoned cart first; run a 7-day revenue parity check before adding more flows.
Swyftinteractive for complex setups For multi-market stores, custom data mapping, or post-install cleanup, a Klaviyo lifecycle audit from Swyftinteractive reduces risk and speeds time to revenue.

Table of Contents

What do you need before starting the Klaviyo Shopify setup?

A clean install starts with a clean environment. Skipping these checks is the most common reason the integration stalls or sends duplicate messages on day one.

Accounts and access:

  • An active Klaviyo account (free tier works for initial setup)
  • Shopify admin access at the owner or admin level — collaborator accounts often lack the permissions needed to install apps
  • If you run two Shopify stores, each must connect to a separate Klaviyo account; Klaviyo does not support more than one Shopify store per account

Store URL check:

Your URL must be mystore.myshopify.com. A frozen or paused Shopify store will block the OAuth connection entirely, so confirm the store is active before you start.

Hand toggling active status on phone

Disconnect your old ESP first:

If you’re migrating from Mailchimp, Omnisend, or any other platform, disconnect that integration in Shopify before installing Klaviyo. Leaving the old connector active is the primary cause of duplicate messages — Shopify’s native marketing emails can also fire alongside Klaviyo if you don’t disable them.

Decide your sync scope:

Before you hit install, decide whether you want to sync orders only, or orders plus customers, products, and Shopify Markets. Changing this later is possible but adds cleanup work.

Pro Tip: Limit your historical import window to 30–90 days on the first sync. A full-store backfill on a large catalog can queue for hours and delay your first live flows.


How do you complete the Klaviyo Shopify integration step by step?

The official Klaviyo setup flow follows a specific path. Here’s exactly what you’ll see at each stage.

The install sequence

  1. Log into Klaviyo and click Integrations in the left nav.
  2. Select Explore apps, then search for Shopify.
  3. Click Install on the Shopify integration card.
  4. Paste your store URL in the format mystore.myshopify.com into the Store URL field.
  5. Click Connect to Shopify — this opens the Shopify OAuth permission screen.
  6. Review the permissions Shopify lists (read/write access to customers, orders, products, and marketing). Click Install app to confirm.
  7. Shopify redirects you back to Klaviyo. You should see a green “Integrate” confirmation banner and land on the integration settings page.

The store URL field is unforgiving. A trailing slash, a capital letter, or your custom domain instead of the .myshopify.com subdomain will throw an error. Copy the URL directly from your Shopify admin’s store details page to avoid typos.

Settings to configure immediately after install

Once you’re on the integration settings page, set these four toggles before closing the tab:

  • Sync email subscribers — maps checkout opt-ins and Shopify sign-up form subscribers into your Klaviyo list
  • Sync SMS subscribers — pulls new SMS opt-ins automatically (historical SMS subscribers require a separate import; more on that below)
  • Sync Shopify Markets — required if you sell to multiple regions with localized pricing or language
  • Profile sync direction — choose whether Klaviyo pushes data to Shopify, Shopify pushes to Klaviyo, or both; most stores start with Shopify → Klaviyo

After saving those settings, Klaviyo will prompt you to enable onsite tracking. Don’t skip it.


How do you enable Klaviyo onsite tracking and the app embed?

Onsite tracking is what lets Klaviyo fire behavioral events — the data that powers abandoned cart flows, browse abandonment, and on-site forms. Without it, those automations simply don’t trigger.

Events Klaviyo tracks once the embed is on:

  • Viewed Product
  • Added to Cart
  • Viewed Collection
  • Submitted Search
  • Active on Site

Klaviyo enables some of these by default after integration, but the full event set requires the app embed to be active in your theme.

How to enable the app embed:

  1. In Shopify admin, go to Online Store > Themes.
  2. Click Customize on your active theme.
  3. In the theme editor, open the App embeds tab (usually in the left sidebar).
  4. Find Klaviyo and toggle it on.
  5. Save the theme.

Sign-up forms also depend on this embed being active. If your popups stop firing after a theme update, this is the first place to check.

Pro Tip: Any time you switch themes or push a major theme update, go back to App embeds and confirm the Klaviyo toggle is still on. Shopify does not always carry embed settings over to a new theme.


Understanding what syncs automatically versus what needs a manual step saves you from compliance headaches later.

Email subscribers:

Checkout opt-ins and Shopify sign-up form submissions map directly into your Klaviyo email list. The sync is automatic once the toggle is on. Profile fields that carry over include name, email, phone, subscription status, locale, and any custom properties you’ve mapped.

SMS consent:

New SMS opt-ins sync automatically. Historical SMS subscribers — people who gave consent before you installed Klaviyo — do not sync automatically. To add them:

  1. Export your SMS subscriber list from Shopify (or your previous SMS platform).
  2. Confirm each record includes an explicit consent timestamp and source.
  3. Import the file into Klaviyo using the Import tool, mapping the consent field correctly.

SMS consent is not transferable by assumption. You must have a documented record of where and when each subscriber opted in. Importing a list without consent records puts you in violation of TCPA rules. When in doubt, re-collect consent rather than import.

Profile sync direction options:

  • Shopify → Klaviyo: Shopify is the source of truth; updates in Shopify overwrite Klaviyo profiles.
  • Klaviyo → Shopify: Klaviyo pushes profile updates back to Shopify customer records.
  • Bidirectional: Both systems update each other; useful for stores using Shopify’s customer-facing account pages alongside Klaviyo segments.

Most stores starting fresh do best with Shopify → Klaviyo until they’ve confirmed data quality on both sides.


How do you diagnose and fix common integration problems?

Most Klaviyo Shopify integration errors fall into four categories. Work through them in order before contacting support.

Step-by-step fixes

  1. Wrong store URL — Go to Klaviyo > Integrations > Shopify > Update Settings and re-enter the URL in mystore.myshopify.com format.
  2. App embed disabled — Open Shopify theme editor > App embeds > toggle Klaviyo on > save.
  3. Old ESP still active — Disconnect the previous integration in Shopify’s Apps section and disable Shopify’s native marketing emails.
  4. Missing permissions — Confirm the Klaviyo app appears as active in Shopify admin under Apps. If it’s missing, reinstall from the Shopify App Store.
  5. Re-authenticate — In Klaviyo, go to Integrations > Shopify > Update Settings and click through the OAuth flow again. This resolves most token-expiry and webhook failures.

After re-authenticating, place a test order to confirm data is flowing. Use a discount code, then process a refund on a second test to verify those edge cases map correctly.

Quick first-hour QA checklist:

  • Test order with a discount code — verify order total and discount field in Klaviyo
  • Test order with multiple line items — confirm all SKUs appear
  • Process a refund — check that the refund event fires in Klaviyo
  • Verify customer profile fields: email, phone, consent status, locale

Data validation reference:

Data object What to check Why it matters
Customers Email, phone, consent status, locale Drives segmentation and compliance
Orders Order total, discount, tax, line items Powers revenue attribution in flows
Line items SKU, product title, quantity, price Required for product-specific triggers
Fulfillments Tracking number, carrier, status Triggers shipping/fulfillment flows
Catalog Product titles, images, prices, variants Feeds dynamic product blocks in emails

When to escalate to Klaviyo support:

If sync errors persist after re-authentication, or if you’re seeing API rate-limit warnings or webhooks that aren’t firing, open a support ticket. Include the exact error message, the timestamp of the last successful sync, and a screenshot of your integration settings page. That context cuts resolution time significantly.

Per Klaviyo’s troubleshooting guide, re-authenticating the integration and verifying the app is active in Shopify resolves the majority of common failures.


What flows and segments should you launch right after integration?

Once your QA checklist passes, the integration is just infrastructure. Revenue comes from what you build on top of it. Klaviyo’s post-install capabilities include pre-built flow templates, catalog sync, and multi-channel automation across email and SMS.

Five flows to enable first:

  • Welcome series — triggers on list subscription; introduce the brand and set expectations before the first purchase
  • Abandoned cart — fires on the Added to Cart event when no purchase follows; typically the highest-revenue flow for new installs
  • Checkout abandonment — triggers when a customer starts checkout but doesn’t complete; catches a different, higher-intent segment than cart abandonment
  • Post-purchase / fulfillment — fires on order fulfillment; use it for review requests, cross-sells, and shipping updates
  • Winback — targets customers who haven’t purchased in 90–180 days; re-engagement before they go fully cold

For workflow templates and sequencing examples, the email automation workflow guide covers the exact build order.

Segmentation examples that use Shopify data:

  • High-value customers by RFM score (recency, frequency, monetary value)
  • Recent purchasers filtered by product category — useful for category-specific upsells
  • Customers who viewed a product but never added to cart — requires onsite tracking to be active

Quick experiment to run in week one:

Enable just the welcome series and abandoned cart flow. Let them run for seven days, then compare Klaviyo-attributed revenue against your Shopify revenue report for the same period. That parity check tells you whether the integration is attributing correctly before you build anything more complex. The Klaviyo advantages guide explains why starting narrow and measuring first produces better long-term results than launching all flows at once.

Hand resting near phone and keyboard on desk


How long does the install take, and what does it cost?

Timeline:

  • OAuth install flow: 5–10 minutes
  • Initial data sync (30–90 day window): a few minutes to a couple of hours, depending on store size
  • Full historical backfill (multi-year): can take several hours or longer; not recommended for the first sync

Live event latency is notably fast. Shopify’s partners blog notes that commerce events flow into Klaviyo with sub-200 millisecond latency, which means abandoned cart flows can trigger within seconds of a customer leaving your site rather than waiting for a batch sync.

Cost:

The Klaviyo app is free to install from the Shopify App Store. The free email tier covers up to 250 contacts, with SMS credits also available on the free plan at limited thresholds. Paid tiers scale with contact count; check the Klaviyo pricing page directly for current rates, as they update with list size.


Should you DIY the integration or hire an agency?

Most store owners can complete the basic install in under an hour. The question isn’t whether you can do it — it’s whether the complexity of your store justifies the time and risk of doing it alone.

The DIY path works well when you have a single Shopify store with a straightforward catalog, an internal marketer who can own the Klaviyo account, and no custom data objects or subscription logic to map. Install, verify, launch two flows, and you’re generating value within a day.

The calculus shifts when you’re dealing with subscriptions, product bundles, multi-market stores, or custom Shopify metafields that need to map into Klaviyo profile properties. Those scenarios require deliberate data architecture decisions upfront — get them wrong and you spend weeks cleaning up duplicate profiles, broken segments, and flows firing on the wrong triggers. Revenue at stake matters too: a store doing $500K/year can absorb a messy integration; one doing $5M cannot.

Decision checklist:

  • Single store, simple catalog, internal marketer available → DIY
  • Multi-market, subscriptions, or bundles → consider agency help
  • Custom data mapping or metafield sync needed → agency
  • Limited dev resources and flows needed in under two weeks → agency
  • Previous integration left data drift or duplicate profiles → agency for cleanup first

Swyftinteractive handles Klaviyo and Shopify integrations end to end

Getting the integration live is step one. Getting it right — clean data mapping, consent-compliant subscriber sync, flows that attribute revenue accurately — takes the kind of QA that most teams skip under launch pressure.

Swyftinteractive

Swyftinteractive specializes in exactly this: Klaviyo lifecycle audits and integration setup for Shopify brands that want their automation to work from day one, not after three rounds of troubleshooting. The service covers integration configuration, data mapping, consent audit, and post-launch flow management — so your team inherits a system that’s already been stress-tested. Whether you’re starting fresh or cleaning up a previous install, the ecommerce growth strategy guide is a good starting point to see how integration fits into a broader revenue plan. To get a hands-on audit of your current or planned setup, book a Klaviyo lifecycle audit with Swyftinteractive.


Sources


FAQ

How do you connect a Shopify store to Klaviyo?

In Klaviyo, go to Integrations > Explore apps > Shopify, paste your mystore.myshopify.com URL, and complete the OAuth install in Shopify. The full step-by-step flow is documented in the Klaviyo Help Center.

Is Klaviyo free to use on Shopify?

The Klaviyo app is free to install from the Shopify App Store. The free plan covers up to 250 email contacts, with limited SMS credits; paid tiers scale with your list size.

Is Klaviyo better than Shopify Email for store automation?

Klaviyo offers significantly more depth: behavioral triggers, advanced segmentation using Shopify order and product data, multi-channel SMS automation, and pre-built flow templates. Shopify Email handles basic campaigns but lacks the event-driven automation that drives abandoned cart and winback revenue.

How much of Klaviyo does Shopify own?

Shopify acquired a minority equity stake in Klaviyo as part of their deepened partnership, but Klaviyo operates as an independent company. The two platforms maintain a tight technical integration, including the sub-200 millisecond event latency noted in Shopify’s partners blog.

What should you do if Klaviyo stops syncing after a theme change?

Go to your Shopify theme editor, open the App embeds tab, and confirm the Klaviyo toggle is on. Theme changes and new theme installs frequently disable the embed, which stops onsite tracking and can break form display and event-triggered flows.