Shopify customer segments explained
A saved rule, not a saved list
A customer segment is a saved group of customers who all match a rule you set. Spend more than $500. Ordered in the last 30 days. Live in California. Bought a specific product. The difference from a tag is that the list is live: Shopify keeps it current as customer behavior changes, so a segment built today still means the same thing next month.
The mechanics come down to three parts. A filter, the attribute you sort on, like amount_spent or last_order_date. An operator, the comparison, like greater than, equal to, or between. And a value, the number, date, or text you match against. Put together, a rule reads like number_of_orders greater than 10, and that is one segment: every customer who has placed more than ten orders.
How to build one
Go to Customers in Shopify admin and click Segments. Click Create segment and a query editor opens with a default query already in place. Every segment starts with locked FROM customers and SHOW lines you cannot edit. You build the segment by filling in the WHERE line, picking a filter name, then an operator, then a value.
Add more conditions with AND to narrow the group or OR to widen it. Amount spent greater than 500 AND number of orders greater than 3 is a high-value repeat buyer. Click Run query to preview the matching customers and the total count, then save the segment with a clear name. You can also start from a template, like first-time buyers or lapsed customers, or use Sidekick to generate a segment from a plain-language description.
Five segments worth building first
Start with the five that cover the highest-value marketing. Repeat buyers, who have ordered more than once. High spenders, over a threshold that fits your average order value. Recent buyers, ordered in the last 30 days, who are warm for a second purchase. Lapsed buyers, who have not ordered in 90 days and need a win-back. And email subscribers who have never bought, who need a first-purchase offer, not a loyalty message.
The mistake is building twenty segments before using five. Each segment only earns its keep when a campaign, a discount, or an email actually targets it. A segment with no message attached is a report, not a tool.
Where the native tool runs out of road
Shopify's built-in segmentation cannot trigger complex automated flows, and combining multiple behaviors gets awkward past a few conditions. When a store needs behavior-based flows across channels, that is where a tool like Omnisend or Klaviyo takes over, with a visual builder that combines lifecycle stage, shopping behavior, and channel in one segment. The native tool is the right place to start, and the right place to outgrow.
Related reading
If this topic is useful, these earlier guides go deeper on connected questions: Shopify discount stacking explained, Shopify purchase orders explained, and Shopify shipping rates guide.
Frequently asked questions
What is a Shopify customer segment?
A saved group of customers who all match a rule you set, like spending more than $500 or ordering in the last 30 days. The list is live, so Shopify keeps it current as customer behavior changes, unlike a tag, which is a flat label you apply by hand.
How do I create a customer segment in Shopify?
Go to Customers, click Segments, then Create segment. A query editor opens. Pick a filter name like amount_spent, an operator like greater than, and a value like 500, then run the query to preview matches and save the segment with a clear name.
What is the difference between a segment and a tag?
A tag is a flat list of strings with no type and no schema, applied by hand. A segment is a rule built from filters, operators, and values that updates itself. Tags are fine for one-off labels. Segments are for groups you market to repeatedly.
Can I use segments in email marketing?
Yes. Segments built in Shopify can be used to target email campaigns, and email tools like Omnisend and Klaviyo can read them or build richer versions with lifecycle and behavior filters the native tool does not have.