Marketing 9 min read

Klaviyo Shopify Segmentation & Personalization: Practical Guide (2025)

Turn Shopify data into targeted Klaviyo segments and personalized emails: VIP, at-risk, product recommendations, and conditional content.

Segmentation and personalization are the easiest ways to make your Klaviyo emails feel “1:1” without sending more campaigns. This guide assumes your integration is already connected. If not, start here: Klaviyo Shopify integration setup. For flow templates, see: Klaviyo Shopify email flows.

Klaviyo
integrates with
Shopify
Marketing 4.6
TOP PICK

Klaviyo: Email Marketing & SMS

Marketing Integration for Shopify
4.6
2561 reviews
Price
Free plan available
Active Users
Last Updated
2025-12-19
KEY FEATURES:

What Data You Can Segment On

With Shopify connected, you can segment by:

  • Purchase behavior (order count, AOV, product/category purchased)
  • Engagement (opened/clicked in last X days)
  • Intent (viewed product, added to cart) if onsite tracking is enabled
Data Flow
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#e0f2fe', 'primaryTextColor': '#0369a1', 'primaryBorderColor': '#0369a1', 'lineColor': '#64748b', 'secondaryColor': '#f0fdf4', 'tertiaryColor': '#fef3c7'}}}%% graph LR A[Shopify Store] -->|Customer Data| B[Klaviyo] A -->|Order History| B B -->|Segments & Tags| C[Shopify] C -->|Campaigns| D[Email/SMS] D -->|Engagement| A
Real-time sync Scheduled sync

Core Segments to Create (Simple First)

SegmentDefinition (starting point)Use for
EngagedOpened or clicked in last 90 daysMain campaigns
VIP3+ orders or high LTVEarly access, bundles
At-riskEngaged before, inactive 60-90 daysWin-back
New customersFirst order in last 30 daysOnboarding, education

Tip: Keep segments broad until you have enough volume to test (otherwise reporting gets noisy).

More Segment Ideas (Once the Basics Work)

These are common Shopify segments that are easy to build and usually useful:

SegmentStarting definitionGood for
Repeat customersPlaced Order count >= 2Loyalty, bundles, referrals
High AOVAverage order value above your store averagePremium drops, upsells
Discount shoppersUsed a discount code in last 180 daysPromo targeting (careful with margins)
Category affinityPurchased (or viewed) from a key categoryCategory campaigns, product education
Recent purchasersPlaced Order in last 7-14 daysExclusions (avoid blasting new buyers)
Win-back eligibleNo order in 60-90 days (was engaged before)Win-back flows and surveys

You do not need 20 segments to start. A handful of well-sized segments beats a long list of tiny segments that never get enough data.

How to Build a Segment (Practical Steps)

When you create a segment in Klaviyo, your goal is to define who and when:

  1. Start with one core condition (e.g., “Placed Order at least once”).
  2. Add a timeframe when it matters (e.g., last 30/60/90 days).
  3. Add one exclusion to keep targeting clean (e.g., exclude recent purchasers from promos).
  4. Check segment size before you ship a campaign (if it’s too small, results are noisy).
  5. Name it clearly so future you understands it (“Engaged 90d - Email”).

If you’re unsure which timeframe to use, default to 90 days for engagement segments and 60-90 days for at-risk segments, then adjust after you see your purchase cycle.

Intent Segments (Browse/Cart) for Faster Wins

If onsite tracking is enabled, intent segments can make campaigns feel dramatically more relevant:

Intent segmentStarting definitionExample use
BrowsersViewed Product in last 7 days, no checkout started“Continue where you left off” + alternatives
CartedAdded to Cart in last 3 days, no orderCart reminder campaign (if flow isn’t enough)
Checkout startersCheckout Started in last 2 days, no orderSupport/FAQ message (shipping, returns, sizing)
Category interestViewed products in Category X 2+ timesCategory drop, new arrivals in that category

Treat intent segments as “high signal” audiences. Keep frequency low and messaging highly contextual.

Predictive / High-Intent Segments (When You’re Ready)

Klaviyo includes predictive properties for some accounts. Here are practical examples you can model:

High churn risk:
- Predicted churn risk: High
- Has placed order
Action: Win-back series with a strong reason to return

High CLV potential:
- Predicted CLV: High
- Order count: 1-2
Action: VIP-style education + curated recommendations

Segmentation That Improves Deliverability (Not Just Revenue)

Segmentation isn’t only about conversions. It also protects your sender reputation:

  • Send most campaigns to Engaged subscribers (opened or clicked recently).
  • Gradually re-introduce less engaged subscribers via a re-engagement series.
  • Suppress people who never engage to reduce spam complaints and bounces.

This is one of the easiest ways to keep open rates stable as your list grows.

RFM-Lite (A Simple Customer Value Framework)

You don’t need a complicated model to do RFM-style targeting. Start with three simple signals:

  • Recency: How recently they purchased (0-30, 31-90, 90+ days)
  • Frequency: How many orders they have (1, 2-3, 4+)
  • Monetary: How much they spend (above/below your store average)

From those, you can create practical segments:

SegmentSimple ruleMessage angle
New buyersFirst order in last 30 daysOnboarding, tips, second-purchase offer
Loyal3+ ordersBundles, early access, referrals
Big spendersLTV above averagePremium drops, concierge tone
At-riskNo order in 60-90 days“What’s new” + social proof

Even this lightweight approach usually outperforms “send the same newsletter to everyone.”

Personalization Building Blocks

Dynamic product recommendations (template block)

{% catalog product_feed %}
  {% for product in products %}
    <a href="{{ product.url }}">
      <img src="{{ product.image }}" />
      {{ product.title }} - {{ product.price }}
    </a>
  {% endfor %}
{% endcatalog %}

Use this for: recently viewed, best sellers, and related items.

Conditional content (VIP vs first-time)

{% if person.Placed Order|count > 3 %}
  VIP early access: new drops, limited bundles, concierge support
{% else %}
  Start here: best sellers, reviews, and first-order incentive (optional)
{% endif %}

Personalization Map (Segment -> Message)

Use this table as a quick playbook:

SegmentWhat they care aboutPersonalization to useCTA
New customersConfidence and clarityBest sellers + reviews + guarantee“Shop best sellers”
VIPExclusivityEarly access + limited bundles“Get early access”
At-riskReason to returnNew arrivals + UGC + light incentive“See what’s new”
High AOVPremium valueHigher-end collections + bundles“Explore premium”
Discount shoppersDealsPromo-only campaigns (limit frequency)“Redeem offer”

Safe Personalization (Avoid Broken Emails)

Two rules prevent most personalization mistakes:

  1. Always include a fallback (if you don’t have first name, show a generic greeting).
  2. Don’t over-personalize early (use broad relevance like category affinity before deep predictions).

Example fallback greeting:

{% if person.first_name %}
  Hi {{ person.first_name }},
{% else %}
  Hi there,
{% endif %}

Measuring Segment Performance

When you look at results, compare segments on the same campaign type:

  • Open rate: subject line + deliverability signal
  • Click rate: relevance and offer signal
  • Conversion / revenue: landing page + offer + audience fit
  • Unsubscribes: frequency and mismatch signal

If a segment has strong clicks but weak conversion, the email is doing its job and your product page or offer likely needs work.

Common Mistakes (Quick Fixes)

  • Micro-segments too early: If a segment has only a few dozen people, results swing wildly. Broaden it until you have volume.
  • No exclusions: Exclude recent purchasers from promos and exclude unengaged subscribers from most campaigns.
  • Personalization without fallbacks: Always add default text and backup product blocks so emails don’t look broken.
  • Mixing intent levels: Don’t send the same message to browsers and purchasers. Match the CTA to the intent.
  • Changing definitions constantly: Keep segment definitions stable for a few weeks so you can compare performance.

If you’re unsure where to start, build Engaged + VIP first, then iterate. This keeps reporting simple and improvements easy to measure.

Quick QA Checklist

  • Segments have enough people to test (avoid micro-segments early)
  • Browse-based segments only run if onsite tracking is verified
  • Exclusions are in place (recent purchasers, unengaged, etc.)
  • Every email has one primary CTA and matches the segment intent
  • Dynamic blocks have fallbacks (no broken greetings or empty product blocks)

Shopify + Klaviyo implementation checklist (2025)

This section adds practical “make it stable” steps you can use after you install the app/connector. It’s intentionally lightweight: the goal is fewer sync surprises, cleaner reporting, and easier troubleshooting.

1) Quick setup checklist

  • Permissions first: grant only the scopes you need (orders/customers/products as required) and document who owns the admin credentials.
  • Data mapping: confirm how email, phone, currency, and SKU are mapped between Shopify and Klaviyo.
  • Historical import: decide how far back to import orders/customers (avoid importing years of data if you don’t need it).
  • Deduplication rules: pick one unique identifier per object (usually email for customers, order ID for orders) to prevent doubles.
  • Alerts: set a lightweight alert path (email/Slack) for failed syncs, auth expiry, and API rate limits.

2) Data you should verify after connecting

Most integration issues show up in the first hour if you test the right things. Use the table below as a QA checklist (create a test order if needed).

Data objectWhat to checkWhy it matters
CustomersEmail/phone format, marketing consent fields, duplicatesPrevents double messaging and broken segmentation
OrdersOrder total, tax, discount, shipping, currencyKeeps revenue reporting and automation triggers accurate
Line itemsSKU, variant ID, quantity, refunds/returns behaviorAvoids inventory and attribution mismatches
FulfillmentStatus changes + timestamps, tracking numbers, carrier fieldsDrives customer notifications and post-purchase flows
CatalogProduct titles, handles, images, collections/tagsEnsures personalization and reporting match your storefront

3) Automation ideas for Marketing

  • Welcome series: new subscriber → educational sequence + first-purchase offer in Klaviyo.
  • Abandoned cart: cart started but not purchased → reminder email/SMS from Klaviyo (timing based on your AOV).
  • Post-purchase: order created → delivery/usage tips + cross-sell for complementary products in Klaviyo.
  • Win-back: no purchase in 60–90 days → reactivation campaign using Klaviyo segments.
  • VIP: customer hits LTV threshold → move into VIP tier and trigger perks via Klaviyo.

API sanity check (Shopify Admin API)

If your integration UI says “connected” but data isn’t flowing, a quick API call helps confirm whether the store is accessible and returning the objects you expect.

# List the 5 most recent orders (GraphQL)
curl -X POST "https://your-store.myshopify.com/admin/api/2025-01/graphql.json" \
  -H "X-Shopify-Access-Token: $SHOPIFY_ADMIN_TOKEN" \
  -H "Content-Type: application/json" \
  -d "{\"query\":\"{ orders(first: 5, sortKey: CREATED_AT, reverse: true) { edges { node { id name createdAt totalPriceSet { shopMoney { amount currencyCode } } customer { email } } } } }\"}"

Tip: keep tokens/keys in environment variables, and test in a staging store/site before rolling changes to production.

4) KPIs to monitor (so you catch problems early)

  • Sync freshness: how long it takes for a new order/customer event to appear in Klaviyo.
  • Error rate: failed syncs per day (and which object types fail most).
  • Duplicates: number of merged/duplicate contacts or orders created by mapping mistakes.
  • Revenue parity: weekly spot-check that Shopify totals match downstream reporting (especially after refunds).
  • Attribution sanity: confirm that key events (purchase, refund, subscription) are tracked consistently.

5) A simple 30-day optimization plan

  1. Week 1: connect + map fields, then validate with 5–10 real orders/customers.
  2. Week 2: enable 1–2 automations and measure baseline KPIs (conversion, AOV, repeat rate).
  3. Week 3: tighten segmentation/rules (exclude recent buyers, add VIP thresholds, handle edge cases).
  4. Week 4: document the setup, create an “owner” checklist, and set a recurring monthly audit.

Sources

FAQ

What segments should I create first in Klaviyo for Shopify?

Start with Engaged (90 days), VIP (high lifetime value), At-risk (recently inactive), and New customers (first order in 30 days).

Do I need onsite tracking for segmentation?

For purchase-based segments, no. For browse-based segments (viewed products/categories), yes: onsite tracking is required.

How do I personalize Klaviyo emails for Shopify products?

Use dynamic product blocks (recently viewed, best sellers, related items) and conditional content rules based on order count, category affinity, or VIP status.

What's the easiest personalization that usually works?

Show recently viewed products for non-buyers, and cross-sell accessories or refills for customers who already purchased.