Klaviyo is the most popular email and SMS marketing platform for Shopify stores, used by over 100,000 e-commerce brands. Its deep native integration with Shopify allows you to build automated email flows, advanced customer segments, and personalized campaigns based on real purchase behavior and browsing data. This guide walks you through the complete setup process from installation to your first automated flows.
TL;DR: Klaviyo integrates natively with Shopify in about 15 minutes. It syncs customer profiles, order history, and browsing behavior in real-time. The five essential flows to set up immediately are: Welcome Series, Abandoned Cart, Browse Abandonment, Post-Purchase, and Win-Back. Stores using Klaviyo's automated flows typically generate 25-30% of total revenue from email and SMS. Pair Klaviyo with a dedicated popup app like EA Spin Wheel for 2-3x higher email capture rates than Klaviyo's built-in forms.
Why Klaviyo for Shopify
Klaviyo is purpose-built for e-commerce and has the deepest Shopify integration of any email marketing platform. Unlike general-purpose email tools like Mailchimp or Constant Contact, Klaviyo understands e-commerce concepts natively: products, orders, cart value, customer lifetime value, and purchase frequency. This means you can create segments and automations based on actual shopping behavior without manual data mapping.
The platform syncs with Shopify in real-time, meaning when a customer places an order or abandons a cart, Klaviyo knows within seconds. This real-time sync enables time-sensitive automations like abandoned cart emails sent within one hour of abandonment, which consistently outperform delayed emails. Klaviyo also provides predictive analytics including predicted next order date, predicted customer lifetime value, and churn risk scores based on your store's actual data.
For revenue impact, Shopify stores using Klaviyo's full automation suite typically attribute 25-30% of total revenue to email and SMS channels. The abandoned cart flow alone recovers 3-8% of abandoned carts, representing significant recovered revenue that would otherwise be lost.
Step-by-Step Installation
Step 1: Install Klaviyo from the Shopify App Store
Navigate to the Shopify App Store and search for "Klaviyo: Email Marketing & SMS." Click "Add app" and authorize the installation. Klaviyo will request permissions to access your customers, orders, products, and store data. These permissions are necessary for the integration to function and enable all automation features.
Step 2: Create or Connect Your Klaviyo Account
If you already have a Klaviyo account, log in during the setup flow. If not, create a new account. Klaviyo's free tier supports up to 250 contacts and 500 email sends per month, so you can set up and test everything before committing to a paid plan. Enter your store name, website URL, and select your industry (e-commerce).
Step 3: Authorize the Shopify Connection
Klaviyo will prompt you to authorize the connection to your Shopify store. Click "Connect" and confirm the permissions. Once connected, Klaviyo begins syncing your historical data: all customer profiles, past orders, product catalog, and existing email subscribers. For stores with large order histories, the initial sync may take 15-30 minutes to complete.
Step 4: Enable On-Site Tracking
Klaviyo automatically installs an on-site tracking snippet on your Shopify store when you connect the integration. This snippet tracks visitor behavior including product page views, add-to-cart actions, and active on-site time. Verify the tracking is working by visiting your store in an incognito browser, browsing a few products, and checking that "Active on Site" and "Viewed Product" events appear in your Klaviyo account under the Analytics tab.
Step 5: Configure Your Sending Domain
For optimal email deliverability, set up a dedicated sending domain in Klaviyo. Navigate to Settings > Domains and add your store's domain. Klaviyo provides DNS records (DKIM and SPF) that you need to add to your domain's DNS settings. This authenticates your emails and significantly improves inbox placement rates. Without domain authentication, your emails are more likely to land in spam folders.
Data Sync & Tracking Setup
Klaviyo syncs the following data from Shopify in real-time:
| Data Type | What Syncs | Sync Frequency |
|---|---|---|
| Customer Profiles | Name, email, phone, address, tags | Real-time |
| Orders | Products, value, discounts, fulfillment | Real-time |
| Product Catalog | Title, images, price, description, inventory | Every 6 hours |
| Browsing Behavior | Product views, add-to-cart, active on site | Real-time (via snippet) |
| Cart Data | Cart contents, value, abandoned cart URL | Real-time |
Essential Email Flows
Welcome Series Flow
The welcome series triggers when a new subscriber joins your email list. This is your first impression and typically has the highest open rates (40-60%) of any flow. A strong welcome series includes 3-5 emails: (1) Welcome email with a first-purchase discount code, sent immediately. (2) Brand story email introducing your values and what makes you different, sent 1 day later. (3) Social proof email featuring customer reviews and best-selling products, sent 2 days later. (4) Product education email highlighting product features or usage tips, sent 4 days later. (5) Final reminder email with the discount code expiration, sent 6 days later.
Abandoned Cart Flow
The abandoned cart flow triggers when a customer adds products to their cart but does not complete the purchase within a set time window. This is typically the highest-revenue flow. Set up 2-3 emails: (1) First reminder sent 1 hour after abandonment, showing the cart contents with a "Complete Your Order" CTA. (2) Second email sent 24 hours later with social proof or a benefit-focused message. (3) Optional third email sent 48-72 hours later with a small incentive (free shipping or 10% off) if the first two did not convert.
Browse Abandonment Flow
The browse abandonment flow triggers when an identified visitor views a product but does not add it to their cart. This flow requires Klaviyo's on-site tracking snippet to be active. Send 1-2 emails: (1) Product reminder sent 2-4 hours after viewing, featuring the product they viewed with customer reviews. (2) Optional follow-up 24 hours later featuring similar or complementary products. Be careful not to make this flow too aggressive, as it can feel intrusive to customers who were casually browsing.
Post-Purchase Flow
The post-purchase flow triggers after a customer completes an order. Use it to build loyalty and encourage repeat purchases: (1) Thank-you email with order confirmation, sent immediately after purchase. (2) Product usage tips or care instructions, sent 3-5 days after delivery. (3) Review request email, sent 7-14 days after delivery. (4) Cross-sell email featuring complementary products, sent 21-30 days after purchase.
Win-Back Flow
The win-back flow targets customers who have not purchased in a specified period (typically 60-90 days). This flow re-engages lapsed customers before they churn completely: (1) "We miss you" email with personalized product recommendations based on past purchases. (2) Special offer or exclusive discount for returning customers. (3) Final email with a stronger incentive and urgency messaging.
SMS Marketing Setup
Klaviyo supports SMS marketing alongside email, allowing you to reach customers through both channels from a single platform. To enable SMS, navigate to your Klaviyo account settings, go to SMS, and set up a sending number. You can use a toll-free number (included with Klaviyo) or a short code (requires additional setup and costs).
SMS consent must be collected separately from email consent. Add SMS consent collection to your checkout flow, popup forms, or a dedicated SMS signup landing page. SMS messages have 98% open rates compared to 20-25% for email, making them ideal for time-sensitive promotions, flash sales, and order updates. However, SMS also has higher unsubscribe rates if overused, so limit promotional SMS to 2-4 messages per month.
Segmentation Best Practices
Klaviyo's segmentation engine is one of its strongest features. Create these essential segments for your Shopify store:
- Engaged Subscribers: Opened or clicked an email in the last 90 days. Use this segment for regular campaigns to maintain high deliverability.
- Repeat Customers: Placed 2+ orders. These are your most valuable customers — send them early access to new products and VIP offers.
- High-Value Customers: Total spend above your average customer lifetime value. Target them with premium offers and exclusive products.
- At-Risk Customers: Purchased before but have not engaged with emails in 60+ days. Target with win-back campaigns before they churn.
- New Subscribers (No Purchase): Joined your list but have not purchased yet. Nurture with product education and social proof content.
Popup & Lead Capture Integration
While Klaviyo includes built-in signup forms, dedicated popup apps like EA Email Popup & Spin Wheel typically capture 2-3x more emails because gamified popups (spin wheels, scratch cards) create engagement that standard form popups cannot match. When a visitor spins the wheel and wins a discount, they are significantly more motivated to enter their email to claim the prize.
Emails captured through third-party popup apps sync to Klaviyo automatically via Shopify's customer system. When a visitor enters their email in a Shopify-connected popup, the email is added to Shopify's customer list, which then syncs to Klaviyo in real-time. The subscriber will then enter your Klaviyo welcome series flow and receive their first automated email within minutes of signing up.
Common Issues & Troubleshooting
Emails Landing in Spam
If Klaviyo emails are going to spam, the most common cause is missing domain authentication. Verify that your DKIM and SPF DNS records are properly configured in Settings > Domains. Also check that your sending domain matches your website domain. Other causes include sending to unengaged subscribers (clean your list regularly) and using spam-trigger words in subject lines.
Abandoned Cart Flow Not Triggering
The abandoned cart flow requires the customer to be identifiable (have an email associated with their session). If a visitor has never entered their email on your site, Klaviyo cannot send them an abandoned cart email. This is why email popups are critical — they identify visitors before they reach checkout, enabling abandoned cart emails for a much larger percentage of your traffic.
Data Not Syncing from Shopify
If customer or order data is not appearing in Klaviyo, first check the integration status in Klaviyo under Integrations > Shopify. The status should show "Connected" with a recent sync timestamp. If disconnected, reauthorize the integration. For persistent sync issues, try removing and reinstalling the Klaviyo app from your Shopify admin.
Duplicate Profiles
Duplicate profiles occur when the same customer has entries with different email addresses or when data is imported from multiple sources. Use Klaviyo's profile merge feature to combine duplicates. To prevent future duplicates, ensure all lead capture sources (popups, checkout, manual imports) use consistent formatting and are connected through the Shopify integration rather than direct API connections.