Blog
StrategyNovember 30, 20269 min read

Ecommerce Customer Segmentation: How to Build Better Campaign Audiences

A segment is a group of customers. A campaign audience is the combination you assemble for one send: the interests, purchase history and engagement that qualify someone, plus the exclusions and the product that send actually needs.

Ashok Gudibandla — Founder, Nexie

On this page+
Nexie banner: Ecommerce Customer Segmentation — How to Build Better Campaign Audiences

An engaged customer is not automatically interested in every product you sell. Two people may click your emails regularly while shopping in completely different categories.

Segmentation helps you decide what each customer should receive. Start with engagement and purchase history, add product interests and buying behavior, then combine the signals the campaign you want to run needs.

How ecommerce customer segmentation usually works

Customers are grouped by shared characteristics and behavior

Customer segmentation groups people using information such as location, purchases, spending, interests, and activity. Ecommerce teams use those groups to choose audiences and personalize communication.

Common approaches include:

  • Demographic: information customers share about themselves, when it affects product relevance.
  • Geographic: location, language, delivery region, and seasonal needs.
  • Behavioral: purchases, browsing, campaign responses, and promotion use.
  • Lifecycle: subscribers who have not bought, first-time buyers, repeat buyers, and customers who may be overdue.
  • Value-based: past spending, order frequency, and the contribution of the relationship.

Engagement and RFM provide a useful starting point

Email teams may start with highly engaged, moderately engaged, and inactive groups. Purchase-based segmentation often adds recency, frequency, and monetary value, commonly called RFM.

Those signals answer different questions. Recency describes when someone last bought, frequency describes how often they buy, and monetary value describes spending over the period you measure.

A high-spend group can still contain customers with different interests and buying habits. The next step is to identify which differences should change the campaign.

Why email engagement alone is no longer enough

An open or click does not tell you what to sell

Customers receive messages from many brands. A message still needs a product, benefit, or reason to act, even when the recipient regularly engages with your emails.

An email click can show interest in the link someone selected. It does not establish interest in every product in your catalogue or prove that the customer is ready to buy.

A headphone buyer clicking a setup guide and a shopper clicking a premium-headphone comparison may both look engaged. One may need help using their purchase; the other may be considering an upgrade.

Open tracking cannot reliably establish attention

Apple’s Mail Privacy Protection can download email content in the background without the recipient opening the message. An open alone is therefore a weak basis for deciding that someone is actively considering a purchase.

Use email engagement alongside relevant clicks, available store activity, and purchase history. A customer who rarely opens marketing emails but keeps ordering should not automatically be treated as a lost customer.

Engagement should help decide how to contact someone

Engagement remains useful for contact frequency, channel choices, and understanding changes in response. Category interest, product history, and current behavior help decide what the message should be about.

Define what high and medium engagement mean in your store. Record the activity measured and the time window rather than leaving those labels open to interpretation.

Which customer signals should change the campaign

Choose signals that change the audience, product, offer, message, or timing. You do not need every available field in every campaign.

Metric or signalWhat to look atWhat it helps decide
Engagement and its directionRelevant clicks, campaign responses, and whether activity is rising or decliningContact approach and whether the customer is still responding
Purchase recencyDays since the last qualifying orderWhether a recent purchase changes the next message
Purchase frequencyOrders over a defined period and usual gaps between purchasesWhether buying is regular, occasional, or slowing
Order count and lifecycle stageNo orders, one order, or several repeat ordersFirst-purchase, second-purchase, or established-customer campaigns
Monetary value or customer spendTotal spending over a defined period and, where available, contribution after costs and returnsWhich customer relationships to prioritize and what an offer can cost
Average order valueAverage spending per order over the chosen period, alongside individual product pricesWhich products and price ranges may be relevant
Customer lifetime value, where availableHistorical value or an estimate of future value, clearly labeledWhich relationships may merit longer-term attention, checked against recent purchases and actual spending
Category interestCategories purchased, browsed, saved, or selected in preferencesWhat category to feature
Current product interestRecent repeated product views, wishlists, relevant clicks, and cart activityWhich product or buying question deserves attention now
Promotion behaviorFull-price purchases and purchases made with offersWhether to test an incentive or start with a product-led message
Replenishment patternProduct, quantity, pack size, and previous reorder intervalsWhen another purchase may become useful
Loyalty or subscription statusMembership, available rewards, active subscriptions, or cancellationsWhether to show a benefit, avoid a duplicate offer, or invite a return
Location and product requirementsDelivery region, confirmed size, variant, or model compatibilityWhether the customer can buy and use the featured product
Customer experienceReturns, feedback, and unresolved product or service questionsWhether support or guidance should come before another promotion

Historical spending is not the same as predicted lifetime value. Keep those labels separate, and use a consistent period when comparing purchase frequency or spending.

Combine metrics to identify useful customer groups

Read purchase recency, frequency and spending together. A recent first-time buyer, a regular repeat buyer and a previously frequent buyer who is now overdue need different follow-ups, even when two of them have spent the same total amount.

For example, a recent purchase and one qualifying order identify a first-time buyer who may need product guidance or a second-purchase campaign. Several earlier orders and a gap beyond the customer’s usual buying interval identify a repeat buyer who may need a reminder to come back.

Average order value helps distinguish customers who place many small orders from those who place fewer larger orders. Combine it with actual product choices and category interest before deciding which products or price range to show.

Category interest matters most in a multi-category store

A store selling headphones, speakers, and gaming equipment should not send the same product selection to everyone marked engaged. Someone repeatedly browsing speakers may have little reason to open another headphone promotion.

Use several sources of category interest:

  • Categories bought before.
  • Recent category and product browsing, where it is available.
  • Relevant products saved or added to a wishlist.
  • Category links selected in emails.
  • Preferences shared through a form, quiz, or account setting.

Customers can be interested in more than one category. Recent speaker browsing can add a new interest without erasing a history of headphone purchases.

Treat inferred interests and offer preferences as signals

One purchase may have been a gift. One discounted order may have used a welcome offer that almost every first-time buyer received.

Repeated behavior gives you a stronger starting point than a single event. Keep uncertain interests marked as uncertain, and ask customers for their preferences when that would help.

Missing browsing data means you lack that information. It does not prove the customer has no interest in the category.

Use segments as building blocks for campaign audiences

A segment describes a group; a campaign audience combines the groups a campaign needs

A customer can belong to several segments: interested in headphones, repeat buyer, medium engagement, and usually purchases at full price. Those memberships can support different campaigns at different times.

Keep the definitions consistent, then combine the segments, or their underlying conditions, that each campaign needs. You do not need to maintain a separate permanent segment for every possible combination.

Add a condition when it changes the product, message, offer, timing or exclusion, or when you are deliberately testing that distinction.

Your starting audience could be:

Category X interest AND (high engagement OR medium engagement).

High or medium engagement is a starting condition for this campaign, not a permanent rule for every audience.

Both engagement groups must also match Category X. Shopify’s segmentation documentation explains how AND narrows a group and OR broadens it, with brackets keeping combined conditions clear.

An upsell needs evidence that the upgrade fits

For an illustrative premium-headphone campaign, start with customers interested in headphones who have high or medium engagement. Then check whether they bought the entry-level model, have shown interest in the upgrade, and have not already purchased it.

The fuller audience becomes:

Category X interest AND (high engagement OR medium engagement) AND entry-level model purchased AND recent upgrade interest, NOT already bought the upgrade.

Check marketing eligibility, recent campaign exposure, and availability before sending. A case offered to a headphone buyer is a cross-sell; a higher-end headphone model is an upsell.

Different campaigns use different combinations

CampaignUseful combinationWhat the message should address
UpsellEntry-level product buyer + recent upgrade interest + relevant engagementWhat the upgraded model changes and why that difference may matter
Cross-sellRelevant product purchased + complementary-product interest + add-on not already boughtHow the additional product works with the original purchase
Category launchRecent category interest + appropriate engagementWhat is new in that category and which need it serves
ReplenishmentRelevant consumable purchased + expected reorder window approaching + no reorderThe correct replacement, quantity, or refill
Win-backCustomer past their usual buying window + a relevant current interestA concrete reason to return based on what they may want now
PromotionCategory interest + repeated promotion purchasing + an affordable approved offerRelevant products and clear offer terms

A customer may qualify for several audiences. Deduplicate the final list and choose which message has the strongest reason to reach them now.

Dynamic segments can update as customers meet or stop meeting their rules. A purchase can remove someone from an upsell audience, while new browsing can add another category interest.

Recheck a downloaded audience before sending, because that file may no longer reflect the current segment.

Personalize the message after choosing the audience

The audience tells you who belongs in the campaign. Personalization changes what those customers see.

For the headphone upgrade, show the model they are considering and explain its differences. Write the subject line and copy around that product rather than sending the same general promotion with a different name at the top.

Past full-price purchases can support starting without a coupon. Promotion history can justify testing an approved incentive, but it does not prove that a discount is necessary.

How AI agents can use these building blocks

Give the agent clear definitions and a campaign goal

An AI agent with access to customer, product and campaign data can help combine signals, propose audiences and prepare campaign versions. The available integrations determine which data and actions it can use.

For an upsell, the inputs are:

  • Goal: introduce a premium model to customers with a reason to consider it.
  • Customer evidence: qualifying purchases, recent product interest, engagement, and previous offers.
  • Product facts: available models, compatibility, price, stock, and supported benefits.
  • Business rules: permitted offers, minimum margin, contact limits, and approval requirements.

Turn customer signals into a campaign proposal

AI can compare recency, order count, category interests, engagement and promotion behavior together. That can reveal a customer who is still buying from the store but is past their usual buying interval in one category.

If that customer is again browsing the category, the agent can propose a category campaign. A customer with no recent purchases or engagement across the store may need a broader win-back assessment.

The agent’s proposal should identify the audience rules, explain why the group fits, show who is excluded, and suggest the product and message. The marketer can then review the decision before activation.

With the right tools, AI can also draft the message and prepare versions for the different groups. This reduces the need to inspect profiles, rebuild audiences and write every variation by hand. The marketer still reviews the audience, product, offer and sending rules.

The same broad segment can lead to different decisions

Consider three customers at an illustrative electronics store. All belong to the headphone-interest group and have high or medium engagement.

CustomerAdditional contextAppropriate next step
AlexBought the entry-level model last year, recently viewed the premium model several times, and usually buys at full pricePropose an upgrade campaign focused on the premium model’s benefits, without automatically adding a discount
MiraPurchased the premium model yesterdayExclude from the upgrade campaign and let the recent purchase determine any useful follow-up
DevBought the entry-level model last week and has been clicking setup instructionsPrioritize useful setup help; those clicks alone do not justify an upgrade offer

Now suppose Alex’s selected variant is unavailable. The audience still exists, but that version of the campaign should wait unless a suitable available alternative fits.

This is the practical purpose of combining customer context with business context. The same segment label does not require the same send every time.

Check whether the segmentation changed buying behavior

Compare purchases and profit per eligible customer, alongside unsubscribes and contact frequency. A higher click rate alone does not establish that the segmentation improved buying behavior.

Where volume permits, randomly split the same eligible audience between your usual message and the personalized version. Include everyone assigned to each version when comparing results, including people who do not buy. Use the result to revise the audience or message.

Build the audience around the campaign, not the label

Engagement tells you part of the customer story. Purchase history, category interest, current behavior, and buying patterns help you decide what to do with that information.

Build segments, combine them around a specific campaign goal, and check whether the product and offer still fit. That gives marketers—and connected AI agents—a clear basis for deciding who should receive the next message and why.

Nexie is an AI-native ESP for e-commerce brands. It reads your customer data across engagement, recency, category interest and lifetime value together, surfaces the audiences worth campaigning to, and builds those campaigns for your team to review and approve, inside the guardrails and marketing policies you set. See how it works →

You've read the thinking.
Now see the product.