How to Use Klaviyo with Shopify: A Complete Guide to Email Marketing Success

How to Use Klaviyo with Shopify: A Complete Guide to Email Marketing Success
Email marketing remains one of the highest-ROI channels for ecommerce businesses, and Klaviyo has emerged as the leading platform for Shopify stores. With its deep integration capabilities, powerful automation features, and advanced segmentation tools, Klaviyo enables merchants to create personalised customer experiences that drive revenue.
This comprehensive guide will walk you through everything you need to know about using Klaviyo with Shopify — from initial setup and key events to advanced strategies that will help you maximise your email marketing potential.
Why Klaviyo for Shopify?
Before diving into the technical details, it's worth understanding why Klaviyo has become the go-to email marketing platform for Shopify merchants:
Native Shopify Integration: Klaviyo's integration with Shopify is seamless, syncing customer data, order history, browsing behaviour, and product catalogues in real-time.
Revenue Attribution: Unlike generic email platforms, Klaviyo tracks revenue directly attributed to your email campaigns, giving you clear visibility into ROI.
Predictive Analytics: Built-in machine learning predicts customer lifetime value, churn risk, and optimal send times.
Pre-built Flows: Klaviyo provides templates for essential ecommerce automations, reducing setup time significantly.
Scalability: From startups to enterprise brands, Klaviyo scales with your business without compromising on features.
Setting Up Klaviyo with Shopify
Step 1: Create Your Klaviyo Account
Visit klaviyo.com and sign up for an account. Klaviyo offers a free tier for up to 250 contacts, making it accessible for new stores.
Step 2: Connect Your Shopify Store
- In your Klaviyo dashboard, navigate to Integrations
- Search for and select Shopify
- Enter your Shopify store URL (e.g., yourstore.myshopify.com)
- Click Connect to Shopify
- You'll be redirected to Shopify to authorise the connection
- Grant the required permissions and confirm
Once connected, Klaviyo will begin syncing your historical data, including:
- Customer profiles and contact information
- Order history and purchase data
- Product catalogue
- Customer tags and segments
Step 3: Configure Your Sending Domain
To ensure optimal deliverability, set up a dedicated sending domain:
- Go to Settings > Domains
- Add your sending domain (e.g., mail.yourstore.com)
- Add the provided DNS records to your domain registrar
- Verify the domain once DNS propagates
Step 4: Set Up Your Brand Templates
Before creating campaigns, establish your brand identity:
- Navigate to Content > Templates
- Create a master template with your logo, colours, and fonts
- Save reusable content blocks for headers, footers, and product grids
Understanding Klaviyo's Key Events
Events are the foundation of Klaviyo's power. These are actions that customers take on your store, and they trigger automations and enable sophisticated segmentation. Here are the essential Shopify events that Klaviyo tracks:
Core Ecommerce Events
Placed Order Triggered when a customer completes a purchase. This event includes:
- Order value and items purchased
- Shipping and billing addresses
- Discount codes used
- Customer lifetime value updates
Use cases: Post-purchase flows, cross-sell sequences, review requests, loyalty programme updates.
Ordered Product A separate event for each individual product in an order. This granular data enables:
- Product-specific follow-ups
- Related product recommendations
- Category-based segmentation
Fulfilled Order Triggered when an order ships. Includes tracking information when available.
Use cases: Shipping notifications, delivery follow-ups, "How's your order?" sequences.
Cancelled Order Fires when an order is cancelled, enabling win-back attempts.
Refunded Order Tracks full or partial refunds for customer service follow-up.
Browsing Behaviour Events
Viewed Product Captures when someone views a product page. This event is crucial for:
- Browse abandonment flows
- Retargeting based on interests
- Understanding product popularity
Added to Cart Triggered when items are added to the shopping cart. Combined with checkout data, this powers cart abandonment sequences.
Started Checkout Fires when a customer begins the checkout process but hasn't completed it.
Use cases: Checkout abandonment flows (often the highest-converting automation).
Customer Lifecycle Events
Subscribed to List When someone joins your email list via a form.
Placed First Order A special event for first-time purchasers, enabling welcome sequences for new customers.
Ordered Product X Times Klaviyo can trigger events based on purchase frequency, perfect for loyalty recognition.
Custom Events
Beyond standard events, you can create custom events for:
- Wishlist additions
- Product reviews submitted
- Loyalty points earned
- Quiz completions
- Account creation
To implement custom events, use Klaviyo's JavaScript API or server-side integration.
Essential Automated Flows
Flows are automated email sequences triggered by events. Here are the must-have flows for every Shopify store:
1. Welcome Series
Trigger: Subscribed to List
Purpose: Introduce your brand, set expectations, and drive first purchase.
Recommended Structure:
- Email 1 (Immediate): Welcome message + discount code if offered
- Email 2 (Day 2): Brand story and values
- Email 3 (Day 4): Bestsellers showcase
- Email 4 (Day 7): Social proof and reviews
- Email 5 (Day 10): Discount reminder (if unused)
Pro Tips:
- Split the flow based on traffic source
- Exclude customers who purchase between emails
- Personalise based on signup form data
2. Abandoned Cart Flow
Trigger: Added to Cart + time delay + hasn't placed order
Purpose: Recover potentially lost sales.
Recommended Structure:
- Email 1 (1-4 hours): Soft reminder with cart contents
- Email 2 (24 hours): Address objections, include reviews
- Email 3 (48-72 hours): Final reminder, possibly with incentive
Pro Tips:
- Include dynamic cart contents with images
- Show real-time stock availability
- Add urgency for limited stock items
- Consider SMS for high-value carts
3. Browse Abandonment Flow
Trigger: Viewed Product + time delay + hasn't added to cart or purchased
Purpose: Re-engage browsers who showed interest but didn't act.
Recommended Structure:
- Email 1 (2-4 hours): "Still interested?" with viewed products
- Email 2 (24 hours): Related products and alternatives
- Email 3 (48 hours): Category-level recommendations
Pro Tips:
- Set minimum browse time or page views before triggering
- Exclude recent purchasers
- Limit frequency to avoid fatigue
4. Post-Purchase Flow
Trigger: Placed Order
Purpose: Build loyalty, reduce buyer's remorse, encourage reviews and referrals.
Recommended Structure:
- Email 1 (Immediate): Order confirmation with upsells
- Email 2 (Shipment): Shipping confirmation
- Email 3 (Delivery + 3 days): Review request
- Email 4 (Delivery + 7 days): Cross-sell recommendations
- Email 5 (Delivery + 14 days): Referral programme invitation
Pro Tips:
- Branch flows based on product categories
- Different sequences for first-time vs repeat customers
- Include educational content for complex products
5. Win-Back Flow
Trigger: Placed Order + 60-90 days + hasn't ordered since
Purpose: Re-engage lapsed customers before they churn.
Recommended Structure:
- Email 1: "We miss you" + what's new
- Email 2 (7 days later): Personalised recommendations based on purchase history
- Email 3 (14 days later): Exclusive win-back offer
Pro Tips:
- Adjust timing based on your typical purchase cycle
- Use predicted churn risk for prioritisation
- Consider a sunset flow for truly disengaged contacts
6. Customer Thank You / VIP Flow
Trigger: Placed Order X times OR total spend > threshold
Purpose: Recognise and reward your best customers.
Recommended Structure:
- Immediate thank you with exclusive benefits
- Early access to new products
- VIP-only discounts
- Personal touch from founder
Advanced Segmentation Strategies
Segmentation is where Klaviyo truly shines. Here's how to segment effectively:
Behavioural Segments
Engaged Subscribers
- Opened or clicked email in last 30 days
- Use for regular campaigns to maintain deliverability
Highly Engaged
- Opened AND clicked in last 14 days
- Use for new product launches and exclusive offers
Window Shoppers
- Viewed products multiple times
- Never purchased
- Target with stronger incentives
Cart Abandoners
- Added to cart in last 30 days
- No purchase
- Exclude from generic promotions
Purchase-Based Segments
First-Time Buyers
- Exactly 1 order
- Focus on education and second purchase incentives
Repeat Customers
- 2+ orders
- Cross-sell and loyalty messaging
High-Value Customers
- Top 10% by lifetime value
- VIP treatment and exclusive access
At-Risk Customers
- Previously active, declining engagement
- Win-back messaging
Predictive Segments
Klaviyo's AI enables powerful predictive segments:
High Predicted CLV
- Customers likely to spend the most over time
- Prioritise for acquisition and retention
High Churn Risk
- Customers likely to lapse
- Proactive retention efforts
Likely to Purchase Soon
- Based on purchase patterns
- Timely promotional pushes
Maximising Klaviyo's Potential
A/B Testing
Test everything systematically:
Subject Lines: Test length, personalisation, emoji usage, urgency Send Times: Use Smart Send Time for AI-optimised delivery Content: Test layout, image vs text ratio, CTA placement Offers: Test discount amounts, free shipping thresholds
Always test one variable at a time and ensure statistical significance.
SMS Integration
Klaviyo's SMS capabilities complement email perfectly:
- Use SMS for time-sensitive alerts (flash sales, back in stock)
- Send SMS for abandoned cart recovery (higher urgency)
- Respect frequency and only SMS opted-in contacts
Product Recommendations
Leverage Klaviyo's recommendation engine:
Personalised Recommendations: Based on individual purchase and browse history Trending Products: Show what's popular across your store New Arrivals: Feature recently added products Cross-sells: "Customers also bought" style recommendations
Back in Stock Notifications
Set up automated back-in-stock alerts:
- Add back-in-stock signup forms to product pages
- Create a flow triggered by inventory updates
- Send personalised notifications to interested customers
This is particularly valuable for high-demand or limited products.
Review Integration
Connect Klaviyo with your review platform (Judge.me, Yotpo, Stamped):
- Trigger review requests at optimal times
- Include product-specific review links
- Offer incentives for reviews (where permitted)
- Display reviews in email campaigns
Loyalty Programme Integration
If you use a loyalty platform (Smile.io, LoyaltyLion, Yotpo Loyalty):
- Sync points balances to customer profiles
- Trigger emails for points earned, tier upgrades, expiring rewards
- Personalise campaigns based on loyalty status
Deliverability Best Practices
Even the best emails fail if they don't reach the inbox:
List Hygiene
- Remove hard bounces immediately (Klaviyo does this automatically)
- Suppress unengaged contacts after 120-180 days
- Implement a sunset flow before suppression
- Never purchase email lists
Authentication
Ensure proper email authentication:
- SPF record configured
- DKIM signing enabled
- DMARC policy set
Engagement Monitoring
- Track deliverability metrics in Klaviyo's analytics
- Monitor spam complaints (should be < 0.1%)
- Watch for sudden drops in open rates
Analytics and Reporting
Key Metrics to Track
Flow Performance:
- Revenue per recipient
- Conversion rate
- Open and click rates by email in sequence
Campaign Performance:
- Revenue attributed
- Click-through rate
- Unsubscribe rate
List Growth:
- New subscribers by source
- List growth rate
- Suppression rate
Custom Reports
Create dashboards for:
- Monthly email revenue
- Flow performance comparison
- Segment performance
- Campaign A/B test results
Common Mistakes to Avoid
Over-Emailing: Respect subscriber patience. Quality over quantity.
Ignoring Mobile: Over 60% of emails are opened on mobile. Test every email on mobile devices.
Generic Content: Use personalisation and segmentation. Generic blasts perform poorly.
Neglecting Deliverability: Poor deliverability undermines everything else.
Set and Forget Flows: Review and optimise flows quarterly.
Skipping Testing: Always A/B test to continuously improve.
Conclusion
Klaviyo's deep integration with Shopify makes it the ideal email marketing platform for ecommerce businesses. By understanding key events, implementing essential flows, and leveraging advanced segmentation, you can create a highly personalised customer experience that drives significant revenue.
Start with the fundamentals — welcome series, abandoned cart, and post-purchase flows — then progressively add more sophisticated automations as you learn what resonates with your audience. Remember that email marketing is an iterative process; continuous testing and optimisation are key to long-term success.
The investment in properly setting up and managing Klaviyo will pay dividends through increased customer retention, higher lifetime value, and a direct communication channel that you own and control.
If you're looking to set up a new Shopify store with Klaviyo integration from day one, explore our Shopify store creation services. For existing stores needing ongoing support with email marketing setup and optimisation, our Shopify monthly maintenance plans include app configuration and integration support.
Related articles

How to Create a Shopify Store: A Complete Step-by-Step Guide
Learn how to create a Shopify store from scratch with this comprehensive guide. We cover everything from initial setup and adding products to customising your theme and publishing your store.

Shopify Collective vs YouPurr: From Partnering to a Fully-Fledged Marketplace
Discover the key differences between Shopify Collective and YouPurr, and learn how easy it is to transition from a partnering solution to a complete multi-vendor marketplace platform.

How to Fix Common Shopify Store Issues (And When to Get Expert Help)
From slow loading speeds to broken apps and checkout errors, these issues can directly impact your sales. Learn how to fix them and when to call in the experts.