Shopify Discount by Customer Segment: 2026 Setup Guide

Native automatic discounts now support up to 5 customer segments. Here's how to set it up, and what to do once you need more than 5.
For years, Shopify's community forum had one recurring complaint: automatic discounts couldn't target customer segments, only discount codes could. Merchants wanting to give first-time buyers or email subscribers an automatic discount had to build custom Liquid workarounds or pay for an app. That changed, and a lot of merchants still don't know it changed.
Here's how customer segment discounts actually work on Shopify now, the real limit you'll hit, and how to get past it for free.
Can Shopify automatic discounts target customer segments?
Yes, as of Shopify's update to automatic discount targeting, merchants can assign up to 5 customer segments to a single automatic discount, no discount code required. Previously, customer segment targeting was restricted to discount codes only, a limitation that generated years of forum threads and workaround guides, including custom Liquid snippets that fetched discount codes automatically for tagged customers rather than using anything native. Shopify's managing discounts documentation confirms the current state: automatic discounts support up to 5 customer segments per discount, while discount codes support up to 100.
To set it up: from Discounts, create your discount, and under Eligibility, choose Customer segments instead of All customers. Select up to 5 existing segments (or build a new one first under Customers → Segments) and save. The discount applies the moment a matching customer's cart meets the discount's other conditions, no code entry needed. Coverage of the rollout described it as removing the need for third-party apps for the simplest segment-targeted promotions, a genuine reduction in app dependency for stores with modest targeting needs.
What's the difference between customer segment and customer tag targeting?
Customer segments are dynamic groups built from Shopify's segmentation query language (spend history, order count, location, and more), while customer tags are static labels manually or programmatically applied to individual customer profiles, and native automatic discounts only support the segment-based approach, not tags. A segment like "customers with 0 orders" updates automatically as people make their first purchase and drop out of that segment. A tag like "VIP" stays on a customer's profile until someone removes it.
This distinction matters because a lot of merchant tooling, loyalty apps, CRM exports, is built around tags, not segments. If your VIP list lives as a customer tag rather than a native segment, native automatic discounts can't target it directly. You'd need to first build a segment based on that tag, or use an app that reads tags directly. Community threads working through this exact gap confirm it's a recurring point of confusion, merchants who previously had a working tag-based discount often find the option missing after a Shopify update and don't realize segments and tags are handled through entirely separate systems.
Where does the native 5-segment limit become a problem?
The 5-segment cap on automatic discounts becomes a real constraint for stores running more than five distinct customer groups, wholesale tiers, loyalty levels, geographic cohorts, that each need different automatic pricing. A store with Bronze, Silver, Gold, and Platinum loyalty tiers plus a separate wholesale segment is already at the limit with one discount. Add a "first-time buyer" segment and a "lapsed customer win-back" segment, and native automatic discounts can't cover all of them in a single rule, forcing multiple discounts that then have to be checked against Shopify's stacking rules to avoid unintended combinations. Shopify's own guidance on discount combinations is the necessary companion reading once a store reaches this point, since running five or six segment-specific discounts simultaneously means understanding exactly how they'll interact if a customer happens to qualify for more than one.
How do you target more than 5 segments, or use customer tags directly?
A Shopify Functions-based app can evaluate customer segment and customer tag conditions directly inside its own logic, without the native 5-segment cap, since the condition check happens inside the Function rather than through the native eligibility field. Flowly: Discount Functions includes both Customer Segment and Customer Tag as separate, combinable condition types among its 12 total fields.
Building a segment-based discount in Flowly:
Add a Start node.
Add a Condition node set to Customer Segment, and select the segment (or Customer Tag, if your targeting logic is tag-based rather than segment-based).
Chain additional conditions with AND if the discount should also require a minimum cart subtotal or apply only to a specific collection.
Add an Apply Discount node with the reward, Percentage Off, Fixed Amount Off, Free Shipping, or Buy X Get Y, targeting the appropriate discount class.
Repeat for each customer group, since each Flowly rule is its own discount function, there's no shared 5-segment ceiling across separate rules.
Set a selection strategy if a customer could qualify for more than one segment-based rule simultaneously, Maximum generally makes sense so the customer automatically receives the best applicable offer.
Native segment targeting vs. Flowly
Native automatic discount | Flowly | |
Cost | Free | Free |
Max segments per discount | 5 | Unlimited (one rule per segment or group) |
Customer tag targeting | No | Yes |
Combine segment with cart subtotal condition | Limited | Yes |
Combine segment with product/collection targeting | Limited | Yes |
Requires a discount code | No | No |
FAQ
Do customer segment discounts work on Shopify POS?
Automatic discount POS support depends on your subscription tier and configuration; check Shopify's current managing discounts documentation for the latest specifics, since POS-related discount behavior has changed more than once as Shopify expanded targeting options.
Can I combine a customer segment discount with a minimum purchase amount?
Yes, both natively (segment eligibility and minimum purchase requirements are separate settings on the same discount) and through Flowly, where you'd chain a Customer Segment condition with a Cart Subtotal condition using AND logic.
Is there a cost difference between segment-based and tag-based targeting?
Not directly, both are free through native Shopify eligibility settings and through a free Functions-based app like Flowly. The cost difference shows up only if your targeting needs (more than 5 segments, tag-based logic, combined conditions) push you toward a paid third-party app instead.
Why did my segment-based automatic discount stop working for some customers?
Segments are dynamic. If a customer's behavior changes, they place a second order, for instance, and drops out of a "first-time buyer" segment, they'll stop qualifying for a discount targeted at that segment. This is expected behavior, not a bug, but it catches merchants off guard if they assumed segment membership was static like a tag.
Can Shopify Plus stores build fully custom segment-based discount logic?
Yes, through a custom Shopify Function. Community guidance on this exact scenario confirms that Plus stores can implement highly customized discount-processing logic tied to segments through a custom app, though that path requires the same Rust or JavaScript development a hand-built Function always needs, versus the no-code condition-based approach a Functions app like Flowly offers.
Native segment targeting closed a real gap, but the 5-segment ceiling is still a wall most growing stores eventually hit. Download Flowly directly from the Shopify App Store to see the full segment and tag condition set, or book a call with Subscribfy's team if your store's customer targeting needs go beyond what fits in one native discount.

Book a meeting with our sales team now!
Create predictable revenue from the customers you already have.