Why Customer Segmentation Drives Revenue
Sending the same marketing message to every customer is like shouting into a crowd — some people hear you, but most tune out because the message is not relevant to them. Customer segmentation solves this by dividing your customer base into groups with shared characteristics, allowing you to send the right message to the right people at the right time.
The data supporting segmentation is compelling. Segmented email campaigns generate 58% of all email revenue according to DMA research. Personalized product recommendations based on customer segments increase conversion rates by 150-300%. And targeted re-engagement campaigns for at-risk customers recover 15-25% of churning revenue that would otherwise be lost.
For Shopify merchants specifically, segmentation enables strategies that are impossible with one-size-fits-all marketing. You can offer exclusive discounts to your highest-value customers to reward loyalty without eroding margins across your entire customer base. You can send product recommendations based on purchase history, which feels helpful rather than pushy. You can create win-back campaigns for customers who have not purchased in 90 days, targeting them with specific incentives before they forget about your brand entirely.
The good news is that Shopify has built a powerful native segmentation system that requires no third-party apps. You can create sophisticated segments based on dozens of customer attributes, and these segments update automatically as customer data changes. This guide walks you through setting up segments that will immediately impact your marketing effectiveness.
Understanding Shopify Customer Segments
Shopify customer segments are dynamic groups defined by conditions (filters) that customers must meet to be included. Unlike static lists, segments automatically add and remove customers as their data changes. If you create a segment for "customers who have made 3+ purchases" and a customer makes their third purchase today, they are automatically added to the segment.
Segments are created in the Customers section of your Shopify admin using a query-based interface. You can build queries visually (using dropdowns and filters) or type them directly using Shopify segmentation query language. Both methods produce the same result.
Key concepts to understand:
Filters: The conditions that define segment membership. Examples include number_of_orders, total_spent, last_order_date, email_subscription_status, and customer_tags. Each filter has operators like equals, greater than, less than, contains, and between.
AND/OR logic: Combine multiple filters using AND (customer must match all conditions) or OR (customer must match any condition). For example, "total_spent > 200 AND number_of_orders > 3" targets high-value repeat customers.
Dynamic updates: Segments recalculate continuously. You never need to manually refresh or rebuild a segment. The customer count always reflects current data.
How to Create Your First Segment
Step 1: Go to Customers in your Shopify admin. Click on "Segments" in the top navigation.
Step 2: Click "Create segment." You will see a query editor with a search/filter bar.
Step 3: Choose your first filter. Click into the query bar and start typing a filter name, or click "Filter" to browse available options. For example, select "number_of_orders" and set it to "is greater than 0" to create a segment of customers who have made at least one purchase.
Step 4: Add additional filters if needed. Click "Add filter" to layer on more conditions. For example, add "last_order_date is after 2025-12-01" to narrow to recent purchasers.
Step 5: Review the customer count. Shopify shows how many customers match your segment criteria in real-time as you build the query. This helps you validate that your segment is sized appropriately — too broad and it loses targeting value, too narrow and it does not have enough reach.
Step 6: Name your segment clearly. Use descriptive names like "High-Value Repeat Customers" or "At-Risk 90-Day Inactive" rather than vague names like "Segment 3." You and your team will reference these segments frequently, so clarity matters.
Step 7: Click "Save segment." The segment is now available for use in marketing campaigns, discount targeting, and Shopify Flow automations.
Essential Segment Filters and Conditions
Shopify provides dozens of filters. Here are the most valuable for ecommerce segmentation:
number_of_orders: How many orders a customer has placed. Use "= 1" for first-time buyers, "> 3" for loyal repeat customers. This is the foundation of lifecycle-based segmentation.
total_spent: Total revenue from a customer across all orders. Identify your VIPs (top 10% spenders), mid-tier customers, and low-value segments for differentiated treatment.
last_order_date: When the customer last purchased. Critical for identifying active, lapsing, and churned customers. Customers who last ordered 30-60 days ago are "active," 60-120 days is "lapsing," and 120+ days is "at risk of churn."
email_subscription_status: Whether the customer is subscribed to marketing emails. Target subscribed customers with email campaigns and create strategies to re-subscribe those who opted out.
customer_tags: Custom tags you apply to customers. Tags give you unlimited flexibility — tag customers by acquisition source ("instagram-ad"), product interest ("skincare-buyer"), or any other attribute you track.
orders_placed product_id: Whether a customer has purchased a specific product. Use this for cross-sell campaigns (customers who bought product A but not product B).
customer_cities and customer_countries: Geographic filters for location-based campaigns, regional promotions, or market-specific messaging.
Five Must-Have Customer Segments
1. First-Time Buyers (number_of_orders = 1): These customers need nurturing to make their second purchase. The second purchase is the most critical conversion in the customer lifecycle — customers who buy twice are 9x more likely to buy again compared to one-time buyers. Send product care tips, cross-sell recommendations, and a modest second-purchase incentive (5-10% off) within 14 days of their first order.
2. Loyal Repeat Customers (number_of_orders > 3 AND last_order_date after -90d): These are your best customers. Reward them with exclusive early access to new products, loyalty discounts, and VIP treatment. They are also your most likely source of referrals and reviews. Do not over-discount to this segment — they already love your brand.
3. High-Value Customers (total_spent > [your top 10% threshold]): Calculate the spend amount that defines your top 10% of customers and create a segment for them. These customers deserve white-glove treatment: personal thank-you notes, exclusive offers, priority support, and first access to new collections. They generate a disproportionate share of your revenue.
4. At-Risk Customers (number_of_orders > 1 AND last_order_date before -90d): Customers who have purchased before but have not bought in 90+ days are at risk of churning. Send a re-engagement campaign with a compelling reason to return: new product announcements, a "we miss you" discount, or a reminder of products they previously purchased that might need replenishing.
5. Email Subscribers Who Have Not Purchased (email_subscription_status = subscribed AND number_of_orders = 0): These people are interested enough to subscribe but have not converted. They need a push: welcome series with social proof, best-seller recommendations, first-purchase discount, or free shipping offer. This is often your largest untapped revenue segment.
Advanced Segmentation Strategies
RFM segmentation: Recency, Frequency, Monetary analysis divides customers based on how recently they purchased, how often they purchase, and how much they spend. Combine Shopify filters to create RFM segments: a "Champion" customer has high recency, high frequency, and high monetary value, while a "Hibernating" customer has low recency but historically high frequency and value.
Product affinity segments: Create segments based on what products or categories customers have purchased. A customer who has bought three different skincare products is a skincare enthusiast and should receive skincare-focused marketing, not generic store-wide promotions.
Acquisition source segments: Tag customers by how they found your store (organic search, Instagram ad, referral, etc.) and create segments by source. This lets you tailor messaging based on the customer initial context — someone who found you through an Instagram ad may respond to different messaging than someone who found you through Google search.
Seasonal buyer segments: Identify customers who only purchase during specific seasons or events (holiday shoppers, back-to-school buyers). These segments are valuable for pre-season marketing campaigns. Start messaging seasonal buyers 2-3 weeks before their expected purchase window.
Cross-sell opportunity segments: Identify customers who have bought product A but not the complementary product B. These segments power highly targeted cross-sell campaigns with strong relevance. Use EA Upsell & Cross-Sell to automate cross-sell offers to these segments.
Using Segments for Marketing Campaigns
Shopify Email: When creating an email campaign in Shopify Email, you can select a customer segment as the recipient list. This ensures the email only goes to customers matching your criteria. Segment-targeted emails consistently outperform broadcast emails in open rate, click rate, and revenue per email.
Discount targeting: When creating discount codes or automatic discounts, you can restrict eligibility to specific customer segments. This lets you offer exclusive discounts to VIP customers without making them available store-wide, protecting your margins while rewarding loyalty.
Shopify Inbox: Prioritize customer service based on segments. When a high-value customer reaches out, your team can see their segment membership and provide VIP-level support.
Facebook and Instagram ads: Export customer segments to create custom audiences for social media advertising. Upload your high-value customer segment to Facebook to create a lookalike audience that targets people similar to your best customers. This typically produces higher ROAS than broad targeting.
Enhance your segmented marketing with EA Email Popup & Spin Wheel to capture email subscribers and tag them based on the offer they won, creating pre-segmented lists from day one.
Automating Segment-Based Actions
Shopify Flow (available on Shopify, Advanced, and Plus plans) lets you trigger automated actions based on segment membership changes. When a customer enters or exits a segment, you can automatically send emails, apply tags, update customer metafields, or trigger third-party app actions.
Welcome series automation: When a customer enters the "First-Time Buyer" segment, trigger a 5-email welcome series over 30 days with product education, care instructions, cross-sell recommendations, and a second-purchase incentive.
VIP tier automation: When a customer enters the "High-Value" segment, automatically apply a "VIP" tag, send a congratulatory email, and enroll them in a loyalty program tier.
Win-back automation: When a customer enters the "At-Risk" segment (90+ days since last order), trigger a re-engagement sequence with escalating incentives: first email is product news, second is a 10% discount, third is a 15% discount with free shipping.
Review request automation: When a customer enters the "Repeat Buyer" segment (second purchase), trigger a review request email. Repeat customers who are satisfied enough to buy again are the most likely to leave positive reviews.
Measuring Segment Performance
Track these metrics for each segment to understand its value and the effectiveness of your targeting:
Segment size and growth: How many customers are in each segment, and is the segment growing or shrinking? A shrinking "Active Repeat Customer" segment is a warning sign that needs immediate attention.
Revenue per customer by segment: Compare average revenue per customer across segments. Your "VIP" segment should show significantly higher revenue per customer than your "First-Time Buyer" segment. If not, your VIP criteria may need adjustment.
Campaign performance by segment: When you send targeted campaigns to segments, track open rates, click rates, conversion rates, and revenue per email. Compare these to your store-wide averages. Segment campaigns should consistently outperform broadcast campaigns.
Segment migration rates: Track how customers move between segments over time. What percentage of first-time buyers become repeat customers? What percentage of active customers become at-risk? These migration rates reveal the health of your customer lifecycle funnel.
Lifetime value by segment: Calculate the average customer lifetime value for each segment. This helps you determine how much you can invest in acquiring and retaining customers in each segment while remaining profitable.
Frequently Asked Questions
Are customer segments available on all Shopify plans?
Yes. Shopify customer segments are available on all plans including Basic. The segmentation query language and filter options are the same across plans. However, Shopify Flow (for automating actions based on segments) requires the Shopify plan or higher. Basic plan merchants can still create and use segments for manual campaigns.
Do segments update automatically?
Yes. Shopify customer segments are dynamic and update automatically as customer data changes. When a customer places a new order, their number_of_orders, total_spent, and last_order_date filters update, which may add them to new segments or remove them from existing ones. You never need to manually refresh segments.
How many segments can I create?
There is no documented limit on the number of segments you can create. However, for practical marketing purposes, most stores benefit from 10-20 well-defined segments. Too many segments create management overhead and make it difficult to maintain targeted campaigns for each one. Start with the five essential segments and add more as your marketing sophistication grows.
Can I export customer segments?
Yes. Go to Customers, apply your segment, and click Export. You can export to CSV format with all customer data fields. This is useful for uploading to external marketing platforms, Facebook Custom Audiences, or CRM systems. Note that exporting customer data must comply with your privacy policy and applicable data protection regulations.
What is the difference between segments and tags?
Segments are dynamic groups based on customer data that update automatically. Tags are static labels you manually or automatically apply to individual customers. They serve different purposes: segments are for targeting groups, while tags are for marking individual customers. Tags can be used as segment filters, so the two work together — tag customers with acquisition source, then create segments based on those tags.
Get All 10 EasyApps — Completely Free
Email popups, upselling, free shipping bars, countdown timers, speed optimization, accessibility, translation, and more. All free, all lightweight, all designed to work together.
Browse All Free Apps