Data-driven email and SMS marketing platform purpose-built for ecommerce brands with predictive analytics and deep integrations.
Full ReviewThe Shopify and Klaviyo integration connects your ecommerce store with Klaviyo's email and SMS marketing platform, enabling you to send highly targeted campaigns and automations based on real-time customer behavior. This is a native, first-party integration — Klaviyo offers a dedicated Shopify app that provides deep data syncing far beyond what most email platforms offer.
Once connected, Klaviyo ingests your entire Shopify customer database, order history, product catalog, and on-site browsing behavior. This data powers Klaviyo's segmentation engine, letting you build segments based on purchase frequency, average order value, specific products viewed, cart activity, and dozens of other behavioral signals. The integration also enables revenue-attributed reporting so you can see exactly how much revenue each email and SMS campaign generates.
Klaviyo is widely considered the leading email marketing platform for Shopify stores, and the depth of this integration is the primary reason. The setup takes about 15 minutes, and once active, your store data flows continuously into Klaviyo for use in campaigns, flows (automations), and analytics.
Log in to your Shopify admin and go to Apps > Shopify App Store. Search for "Klaviyo" and find the official Klaviyo: Email Marketing & SMS app. Click Add app, then Install app when redirected to your Shopify admin. Review the permissions and confirm the installation.
After installation, you will be prompted to log in to Klaviyo or create a new account. If you already have a Klaviyo account, click Log in and enter your credentials. Klaviyo will automatically detect your Shopify store URL and begin the connection process. If you have multiple Klaviyo accounts, select the correct one from the dropdown.
Klaviyo will display a setup wizard. On the data sync screen, confirm which data you want to sync. By default, Klaviyo syncs: customer profiles, order history (including historical orders), product catalog, and on-site browsing events. Enable Active on Site tracking to track which products visitors view and which pages they browse. Click Continue.
Choose the Klaviyo list where Shopify subscribers will be added. Klaviyo recommends using a single primary list for all subscribers. Customers who opt in to email marketing at Shopify checkout will be synced to this list. Existing customers from past orders will be synced as profiles (but not necessarily subscribed unless they opted in).
Klaviyo automatically installs its tracking snippet on your Shopify store. Verify this is working by going to Klaviyo > Settings > Setup > Website Tracking and checking the status. The snippet tracks page views, product views, add-to-cart events, and started checkout events. This data powers browse abandonment and cart abandonment flows.
In Klaviyo, go to Signup Forms in the left navigation. Klaviyo provides pre-built popup and flyout form templates. Select a template, customize the design to match your brand, set the display rules (e.g., show after 5 seconds, show on exit intent, show only to new visitors), and publish the form. New subscribers are automatically added to your selected list and synced with Shopify.
Go to Flows in Klaviyo's left navigation. Klaviyo offers pre-built flow templates for Shopify stores. Set up these essential flows: Abandoned Cart (triggers when a customer adds items to cart and leaves), Welcome Series (triggers when someone subscribes), Post-Purchase Follow-Up (triggers after a completed order), and Browse Abandonment (triggers when someone views a product but does not add to cart). Each flow comes pre-configured with recommended timing and content blocks.
Klaviyo's Shopify integration syncs data continuously in real-time. You can configure sync settings in Klaviyo under Settings > Integrations > Shopify. Options include: syncing customer tags from Shopify as Klaviyo profile properties, syncing order tags, enabling back-in-stock notifications, and configuring which Shopify custom fields map to Klaviyo profile properties. Product catalog sync frequency is typically every 6 hours for full catalog updates, with individual product changes syncing in real-time.
| Data | Direction | Frequency |
|---|---|---|
| Customer profiles and email addresses | Shopify to Klaviyo | Real-time |
| Order history and revenue data | Shopify to Klaviyo | Real-time |
| Product catalog (images, prices, URLs) | Shopify to Klaviyo | Every 6 hours / real-time on change |
| Browsing behavior (page/product views) | Shopify to Klaviyo | Real-time |
| Cart activity (add to cart, started checkout) | Shopify to Klaviyo | Real-time |
| Coupon codes (for flow emails) | Shopify to Klaviyo | On-demand |
| Subscriber consent status | Two-way | Real-time |
Klaviyo syncs up to 90 days of historical order data by default. If you need more, contact Klaviyo support to request a full historical sync. Large stores may take 24-48 hours for the complete history to import.
Verify the Klaviyo snippet is installed by viewing your store's page source and searching for "klaviyo." If you are using a headless Shopify setup or a custom theme that overrides the standard layout, you may need to manually add the Klaviyo snippet. Check Klaviyo > Settings > Setup > Website Tracking for the snippet code.
Only customers who explicitly opt in to marketing at Shopify checkout are synced as subscribed contacts in Klaviyo. Non-subscribed customers appear as profiles but cannot receive marketing emails. Check your Shopify checkout settings under Settings > Checkout to ensure the email marketing opt-in is visible.
For Shopify Plus merchants, Klaviyo supports Shopify Flow integration, allowing you to trigger Klaviyo events from Shopify Flow automations and vice versa. You can also use Klaviyo's API to send custom events from your Shopify theme or apps, enabling tracking of custom interactions like quiz completions, loyalty point redemptions, or subscription activations. Advanced users can leverage Klaviyo's data science features including predictive analytics, custom calculated properties, and machine learning-powered product recommendations in email templates.