Shopify Customer Segmentation: How to Group Your Customers and Market to Each Segment

Niko MoustoukasUpdated

Quick summary

This post explains how to segment Shopify customers using Shopify's native segment builder and Klaviyo, which segments to build first, how RFM analysis works in practice, and how to measure segment performance over time. Aimed at merchants who want to move beyond batch-and-blast emails and send messages that match where customers are in their journey.

Sending the same email to every customer on your list is the single most common reason email marketing underperforms. A new customer needs to be welcomed. A loyal repeat buyer needs to feel recognised. A customer who bought once 18 months ago needs a compelling reason to return. All three need different messages, at different times, with different offers.

Customer segmentation is how you make that happen. And the Shopify merchants doing it well are seeing meaningfully better results: Klaviyo's own benchmark data shows that segmented campaigns generate 58% more revenue per email sent than broadcast-only campaigns. The difference is not more frequency. It is more relevance.


What is customer segmentation and why does it drive better results?

Segmentation means grouping your customers based on shared characteristics, typically purchase behaviour, spending history, or engagement, and then communicating with each group in a way that matches their current relationship with your brand.

The result is messages that feel like they were written for the recipient, not blasted to a list. This drives:

  • Higher open and click rates (relevant messages get read)
  • Better conversion rates (targeted offers match customer intent)
  • Improved deliverability (engaged segments keep your sender reputation healthy)
  • Higher customer lifetime value (right message at the right stage drives repeat purchase)

It also protects your list. Sending irrelevant campaigns to lapsed, unengaged customers damages your sender reputation and inflates unsubscribe rates.


How does Shopify's built-in segment builder work?

Shopify introduced its native customer segment builder in 2022. You access it from the Customers section of Shopify Admin, then Segments.

The segment builder uses filter logic. You can combine conditions to define exactly the group you want. Available filters include:

  • Number of orders: distinguish one-time buyers from repeat customers
  • Total amount spent: identify high-value customers by lifetime spend
  • Last order date: find active, at-risk, and lapsed customers
  • First order date: isolate new customers for onboarding sequences
  • Product or collection purchased: target by category or specific product
  • Predicted spend tier: Shopify's machine learning score (high, medium, low potential spender)
  • Location: useful for regional campaigns, events, or UK-only promotions
  • Email subscription status: ensure you only send to opted-in contacts

Shopify segments update dynamically. A customer who makes a purchase automatically exits your lapsed segment and re-enters your active segment. You do not need to rebuild segments manually.

These segments sync directly to Klaviyo via the native integration. Once synced, they are available as dynamic segments in Klaviyo for campaign targeting and flow filters.


Which segments should you build first?

Build segments you have a clear commercial action for. A segment with no corresponding campaign or flow is just unused data.

New customers (first purchase within 30 days)

Filter: first order date is within the last 30 days.

Action: trigger your post-purchase onboarding flow. The period immediately after a first purchase is your highest-opportunity window for securing a second. These customers have just demonstrated intent and trust. Capitalise on it with an onboarding sequence before their brand recall fades.

One-time buyers (single order, older than 60 days)

Filter: number of orders equals 1, first order date is more than 60 days ago.

Action: this is one of the highest-value segments to work on. Single-purchase customers who never return represent a failure of your retention strategy. A targeted campaign with a specific reason to return: a product recommendation based on their purchase, a new related product, or a limited incentive, can convert a meaningful percentage into repeat buyers.

Repeat customers (two or more orders)

Filter: number of orders is greater than 1.

Action: loyalty programme invitations, new product launches, cross-sell campaigns. Repeat customers are far more likely to buy again than cold audiences. They also have the highest referral potential.

VIP customers (top spenders)

Filter: total amount spent above your top 20% threshold (calculate this from your Shopify reports).

Action: early access to new products, exclusive offers, personal acknowledgement. Your top 20% of customers typically generate 60-80% of your revenue. Treating them like VIPs measurably increases retention and average order value.

At-risk customers (gone quiet)

Filter: placed at least one order, last order date is more than 90 days ago and less than 270 days ago.

Action: win-back sequence before they fully lapse. Customers in this window still have brand recall. Earlier intervention converts better and costs less than a full win-back campaign for dormant contacts.

For a detailed breakdown of win-back flows, see Win-Back Campaigns for Shopify: Recovering Lapsed Customers.

Lapsed and dormant customers

Filter: last order date is more than 270 days ago.

Action: a sunset or final win-back campaign. Customers this far out are harder to recover. Send a significant incentive in the first email. If there is no response, move them to a suppression candidate list to protect your deliverability.


How does RFM segmentation work for Shopify?

RFM stands for Recency, Frequency, Monetary value. It is a framework that scores customers on three dimensions simultaneously, producing a more nuanced view of customer quality than any single metric.

Dimension What it measures
Recency How recently did the customer last purchase?
Frequency How many times have they purchased?
Monetary How much have they spent in total?

Each dimension is typically scored 1-5. A customer scoring 5-5-5 is your best customer: bought recently, buys often, spends a lot. A customer scoring 1-1-1 bought a long time ago, only once, and spent very little.

Practical RFM segments for Shopify merchants

You do not need to implement a full numerical scoring model to use RFM thinking. These segments capture the most commercially useful groupings:

Champions: High on all three dimensions. Recent buyers, frequent buyers, high spenders. Keep them engaged with early access, loyalty rewards, and recognition. They are also your most likely advocates.

Loyal but lower-spending: High frequency but moderate monetary value. These customers like your brand. The lever is increasing their average order value through cross-sell and upsell campaigns.

At-risk high-value customers: High on frequency and monetary, but recency has dropped. These are formerly loyal, high-spending customers who have gone quiet. A high-value win-back campaign is warranted immediately.

New, high-potential customers: High recency (bought recently), low frequency (only once). These are your promising segment. The second purchase is the critical conversion. Focus post-purchase flows on this group.

Cannot lose: Very low recency, previously high frequency. Formerly loyal, now dormant. Aggressive win-back with a significant incentive, followed by suppression if no response.

Klaviyo's predictive analytics features calculate RFM-style scoring automatically. You can segment by "customer lifetime value tier" (high, medium, low) and "churn risk" directly in Klaviyo without building manual scoring rules.


How do you use segments in Klaviyo for targeted campaigns?

Once segments are defined in Shopify or Klaviyo, the commercial value comes from using them to send more relevant communications.

Campaign targeting

When you create a campaign in Klaviyo, you choose which lists or segments to include and exclude. Instead of selecting your full subscriber list, select the specific segment the message is intended for.

A new product launch in your skincare range goes to skincare buyers and your Champions segment, not to customers who only bought homeware. A win-back offer goes to at-risk contacts, not to active buyers who would have purchased anyway.

This approach reduces unsubscribes, improves open rates, and increases revenue per send.

Flow triggers and filters

Klaviyo flows can be filtered so they only trigger for contacts in specific segments. Your win-back flow should only trigger for at-risk customers. Your VIP early-access flow should only trigger for customers who have reached your top-tier spend threshold. Without segment filters, your automations fire for the wrong people.

A/B testing at segment level

Testing across a full list produces averages that obscure what is actually happening. A 15% discount code may convert one-time buyers effectively but have no measurable impact on already-loyal customers who would have purchased anyway. Segment-level A/B testing reveals this, whereas full-list tests bury it.


How do you measure segment performance?

Segmentation only delivers value if you track whether it is working. Define success metrics for each segment and review them monthly.

Segment Primary performance metric
New customers Second purchase rate within 60 days
One-time buyers Re-activation rate from targeted campaigns
Repeat customers Average order value trend
VIP customers 12-month retention rate
At-risk customers Win-back conversion rate
Lapsed customers Re-engagement rate from win-back sequence

Track segment sizes over time. A growing at-risk or lapsed segment signals a retention problem that needs structural attention. A growing VIP segment signals that your retention strategy is working.

Compare email performance by segment. If your VIP segment opens emails at 55% and your one-time buyer segment opens at 18%, you know exactly where to focus copy and offer improvements.


Key actions to take now

  1. Open Shopify Admin, go to Customers then Segments, and create the five core segments: new customers, one-time buyers, repeat customers, VIPs, and at-risk
  2. Sync your Shopify segments to Klaviyo via the native integration so they are available for campaign targeting and flow filters
  3. Update your next campaign send to target a specific segment rather than your full list
  4. Build or update your post-purchase flow to filter to new customers only
  5. Create a dedicated one-time buyer campaign targeting customers with a single order older than 60 days
  6. Define your VIP threshold based on your customer spend data and build a VIP segment in Klaviyo
  7. Review segment sizes monthly and set second-purchase rate for new customers as your primary retention KPI

Frequently Asked Questions

How many customer segments should a Shopify store have?

Start with five to eight segments focused on clear commercial actions: new customers, one-time buyers, repeat customers, VIPs, at-risk, and lapsed. More segments are only worthwhile if you have the capacity to create genuinely different campaigns for each one. A segment with no corresponding campaign is just unused data. Build what you will actually use.

Do I need Klaviyo to segment Shopify customers effectively?

No. Shopify's native segment builder is capable of creating all the core segments described here, and they can be used with Shopify Email for basic campaigns. However, Klaviyo adds significant value: behavioural filters based on email engagement, predictive analytics, flow-based automation triggered by segment entry, and cross-channel targeting (email and SMS together). For merchants treating email as a serious revenue channel, Klaviyo is worth the investment.

What is the difference between a Shopify segment and a Klaviyo list?

A Shopify segment is a dynamic group of customers based on Shopify purchase and profile data, and it updates in real time. A Klaviyo list is a group of contacts based on email engagement, subscription status, and profile properties. When synced via the native integration, Shopify segments flow into Klaviyo as dynamic segments that update automatically. Use Shopify segments for purchase-behaviour targeting and Klaviyo lists for engagement-based targeting.

What data do I need before I can start segmenting?

For basic segmentation, you only need what Shopify collects automatically: order history, order dates, order values, and products purchased. This is available from your first sale. For more advanced personalisation, such as browsing behaviour or email engagement segmentation, you need Klaviyo or a similar platform connected to your store. Start with purchase data and add sophistication as your customer base grows.