Customers

Shopify customer segments that work: rules and examples

Build Shopify customer segments that stay current: rules with date windows, three worked examples, useful segments and how to use them in ads and email.

·6 min read·By the ROASaurus team

Key takeaways
  • A customer segment is a rule, not a list: customers join and leave it as their orders change, so it never needs exporting again.
  • Write rules with date windows ("2 or more orders in the last 365 days") instead of lifetime labels ("repeat customer"), or old customers stay in segments they no longer belong to.
  • Start with a handful of segments that each lead to a different action: VIPs, first-time buyers, lapsed customers, recent buyers to exclude, and cart abandoners.
  • A segment is only useful once it reaches your ads and email; keep it synced instead of uploading CSV files.
  • Judge each segment by the profit of the customers in it, not just by their number.

Shopify customer segments that work are rules, not lists: groups such as "customers with two or more orders in the last 365 days" or "customers whose last order was more than 120 days ago" that update by themselves as people buy, and that you can use directly in your email and ads. Build a few segments that each lead to a different action, write their rules with date windows, and connect them to the tools that send the messages.

This guide explains what customer data Shopify gives you, how to build segments that stay current, how to read a segment rule, three examples step by step, a table of useful segments, and how to use them in campaigns.

Exploring customer data in Shopify

For every customer, Shopify keeps their orders, how much they spent, when they last ordered, where they live, their tags and whether they accepted email marketing. You can see all of it in the admin, one customer at a time or as a list. The problem is getting from that data to a campaign.

Most stores start by exporting customers to a spreadsheet, filtering them there and uploading the result to Meta, Google Ads or their email tool. That works once, but:

  • The list goes stale. The day after the export, new customers order, repeat buyers buy again and some go quiet. The uploaded list no longer matches.
  • It has to be repeated. Every update means export, filter, upload again, so it rarely happens.
  • Campaigns fall back to broad targeting. Because segments take effort, most campaigns end up treating every customer the same.

A segment that works needs three things: a clear rule, automatic updates, and a direct connection to the tool that uses it.

How to create customer segments that work

In the Shopify admin, segments live under Customers › Segments. You can start from a template, copy an existing segment, or write your own rule. Under the hood, each segment is a query: you choose filters (such as number of orders, amount spent or last order date), an operator and a value, combine conditions with AND or OR, run it to see who matches, and save it. Customers join and leave the segment automatically as they start or stop meeting the rule.

  1. Start from the action

    Decide what you will do with the segment first: a win-back email, a VIP early-access offer, an exclusion from acquisition ads. A segment without an action is only a number.

  2. Write the rule with a date window

    Use "in the last 90 days" or "more than 120 days ago" instead of lifetime totals, so the segment follows current behaviour.

  3. Run it and check the size

    A segment of 12 customers is too small for ads and most tests. Widen the window or loosen a condition until it is large enough to act on.

  4. Check for overlap

    A customer can be in several segments. Decide which message wins, for example by excluding VIPs from a discount campaign.

  5. Connect it to the tool that sends

    Use the segment in Shopify's own email, or keep it synced to your ad platforms and email tool so it updates there too.

Reading a segment rule: date windows, not lifetime labels

A rule like "customers with more than one order" sounds like "repeat customers", but it includes someone who ordered twice three years ago and never came back. Put a window on every rule that describes behaviour:

Lifetime label
  • More than 1 order
  • Spent more than $500
  • Bought product X
  • Grows forever, never shrinks
Date window
  • 2 or more orders in the last 365 days
  • Spent more than $500 in the last 12 months
  • Bought product X in the last 60 days
  • Customers move in and out as they behave
The same intent, written two ways. Only the right-hand rules describe what customers do now.

The window also decides when a customer leaves. "Last order more than 120 days ago" keeps a lapsed customer in the segment until they buy again, which is exactly when your win-back message should stop.

Three segment examples, step by step

1. VIP customers for early access

Rule: amount spent in the last 12 months is in the top 10% of customers, and the customer accepts email marketing. Action: early access to a new collection without a discount. In an example store with 8,000 active customers, that is about 800 people who receive the launch a day early.

2. First-time buyers, ready for a second order

Rule: exactly one order, placed 14 to 45 days ago. Action: a reminder about a product that goes well with their first purchase. The second order is the hardest one to get, and the window keeps the message from reaching people too early or too late.

3. Lapsed customers for a win-back

Rule: at least two orders in total, and the last order more than 120 days ago. Action: a win-back email, then a retargeting ad for those who do not open it. Customers who order again leave the segment by themselves.

Useful customer segments for Shopify stores

SegmentRule (example)Use it for
VIPsTop 10% by spend in the last 12 monthsEarly access, lookalike seed
Repeat buyers2+ orders in the last 365 daysLoyalty offers, new products
First-time buyers1 order, 14–45 days agoSecond-order push
Lapsed customersLast order 120+ days agoWin-back email and ads
Recent buyersOrdered in the last 30 daysExclude from acquisition ads
Cart abandonersStarted checkout in the last 7 days, no orderReminder email, retargeting
Discount-only buyersEvery order used a discount codeExclude from heavy promotions
Product buyersBought product X in the last 60 daysRefills, accessories, reviews
SubscribersActive subscriptionExclude from one-off offers
Example rules. Adjust the windows and thresholds to your own order frequency.

Using customer segments in campaigns

Store dataOrders, spend, products, visits
Segment ruleUpdates as customers buy
Email and SMSFlows and campaigns
Ad platformsRetarget, exclude, lookalike
One rule, used everywhere: the same customers get the email and see the ad, and drop out of both when they buy.
  • Email and SMS: send different messages to VIPs, first-time buyers and lapsed customers instead of one newsletter to everyone.
  • Retargeting: show ads to lapsed customers and cart abandoners.
  • Exclusion: keep recent buyers and subscribers out of acquisition campaigns, so you do not pay to reach people who just bought.
  • Lookalikes: give the ad platforms your best customers as a seed, so they look for similar people.

Measure each segment on the profit of the customers in it. A win-back campaign that brings back lapsed customers with a 40% discount may lose money on every order; one that brings them back at full price is worth scaling.

Customer segments in ROASaurus

The ROASaurus Mac app showing RFM segments: champions, loyal, at-risk and hibernating customers with their revenue and orders. Fictional demo store, simulated data.
The ROASaurus iPhone app showing RFM segments: champions, loyal, at-risk and hibernating customers with their revenue and orders. Fictional demo store, simulated data.
Customers › Segments & audiences in the public demo (ROASaurus Demo Store, a fictional store): RFM segments with their customers and value.

Customers › Segments & audiences › Segments sorts every customer into 11 RFM segments, from Champions and Loyal to At risk, Hibernating and Lost, based on how recently, how often and how much they buy, with a CSV per segment. Under Customers › Segments & audiences › Audiences you build segments from templates (top 10% or 20% by predicted LTV, repeat buyers, lapsed customers, recent purchasers, cart abandoners, recent visitors, active subscribers) or from your own rules on orders, revenue, contribution margin, days since last order, products, RFM segment, predicted 12-month LTV, first-order details and storefront visits. Segments you build in Shopify can be sent too: in the Shopify admin, Customers › Segments › Use segment › Send to ROASaurus audiences.

Audiences can be kept in sync with nine ad platforms and Klaviyo, as a target, an exclusion or a lookalike seed with a value. Some of those connections wait for the platform's approval: Meta and TikTok audiences need their app review first, so check the status on the destination before you plan a campaign on it.

Next step

Sources

  1. Shopify Help Center: Customer segmentation
  2. Shopify Help Center: Creating customer segments
  3. Shopify Help Center: Customer segment reference guide

In ROASaurus

Keep reading

CustomersCustomer acquisition strategies that pay backCustomer acquisition strategies for each stage of the buyer journey, and how to check which ones pay back: CAC, first-order profit and LTV:CAC per channel.CustomersCustomer profitability: are repeat customers earning enough?Customer profitability analysis for online stores: the formula, a worked example per segment, cohort analysis of repeat customers and the metrics to watch.CustomersCustomer retention checklist: retention as a profit leverWhy retention decides profit: the real CAC, the discount trap, the leaky bucket, a retention checklist, and the numbers that show your strategy is working.

FAQ

Questions, answered

More answers in the FAQ and the help center.

How do I create customer segments in Shopify?

In the Shopify admin, go to Customers › Segments. Start from a template or click Create segment, choose filters, operators and values, combine them with AND or OR, run the segment to see who matches, and save it.

Do Shopify customer segments update automatically?

Yes. A segment is a rule, so customers are added and removed as they start or stop meeting it. A CSV export, by contrast, is a snapshot that goes stale.

What are the most useful customer segments?

VIPs, repeat buyers, first-time buyers who have not ordered again, lapsed customers, recent buyers to exclude from acquisition ads, and cart abandoners. Each leads to a different message.

Why use date windows in segment rules?

Lifetime rules keep customers in segments they no longer belong to, such as someone who ordered twice years ago counted as a repeat buyer. A window like "in the last 365 days" describes current behaviour.

How large should a segment be?

Large enough to act on. Ad platforms need a minimum audience size before they show ads to a list, and tests need enough people to show a difference. Widen the window if a segment is very small.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.