SEO and store growth

Customer Segmentation for Online Stores: Spotting Loyal Customers and Those at Risk

By the Directchi team Published 11 min read

A store with a few hundred customers usually treats them all the same: one kind of message, one kind of offer, one kind of content. But a customer who placed their first order last week, a customer who has bought from you every month for two years, and someone who hasn’t come back in a while all need different things. Customer segmentation is about seeing those differences and putting them to use.

In this article, you’ll learn how to group your customers with a simple method called RFM, how to spot loyal customers and those at risk, and what you can do for each group in ways that are both effective and in line with Instagram’s messaging rules.

Our hypothetical example is a store that sells natural personal care and cleaning products: plant based soaps, shampoo bars, dish soap and laundry powder without harsh chemicals. These are products that get used up, so repeat purchases are essential for this store.

Why small stores need segmentation too

You might think segmentation is something big companies do with thousands of customers. But a small store also has three limited resources: time, ad budget and chances to talk with customers. Segmentation helps you spend those resources where they’ll have the most impact.

A few practical questions segmentation answers:

  • Who should get a small free gift in their package?
  • Should this week’s content focus on attracting new buyers or bringing back past customers?
  • Which customers would hurt the most if we lost them?
  • Does most of our revenue come from a small group of regulars or from people who bought only once?

Segmentation is different from sales KPIs. KPIs tell you how the whole store is doing, for example what share of this week’s orders came from repeat customers. Segmentation tells you exactly who those repeat customers are. If you don’t have a regular weekly report yet, we suggest reading our guide to sales KPIs for online stores first.

Different ways to segment customers

You can group customers from several angles:

BasisExample groupsHow a small store uses it
GeographicLocal, in state, out of state or remote areasSetting shipping costs and methods, delivery times
DemographicAge, gender, householdChoosing content tone and products, though accurate data is often missing
Needs and motivationSensitive skin, families with kids, eco minded shoppersDesigning bundles and product descriptions
Buying behaviorNew, repeat, big spender, inactiveDaily decisions about offers and follow up
Order sourceDM, website, phone or in personMeasuring the role of each channel

For a small online store, buying behavior is the most practical basis, because you already have the data: every order has a date, an amount and a customer name. You can add the other bases gradually with notes and tags.

The RFM method in plain terms

RFM stands for the first letters of three measures. For each customer, you ask three questions:

Recency: when was their last purchase?

A customer who bought two weeks ago probably still remembers you, and their buying experience is fresh. A customer who hasn’t bought in a year may have forgotten your store’s name altogether. That’s why recency is usually one of the clearest signs of how likely someone is to buy again.

Frequency: how many times have they bought?

A customer who has bought five times trusts your product quality and your shipping. A customer who has bought once is still testing you. The gap between the first and second purchase is one of the most delicate stages of the relationship.

Monetary: how much have they spent in total?

The total of a customer’s purchases shows how much they’re worth to your store financially. A customer might have bought only twice but stocked up for the whole family for a full month each time.

Simple scoring

You don’t need a complicated formula. Define three levels for each measure: high, medium and low. Set the boundaries based on your own store. For the natural cleaning products store, whose products usually get used up within a few weeks, a hypothetical setup could look like this:

MeasureHighMediumLow
RecencyBought in the last 45 days45 to 120 daysMore than 120 days
Frequency4 or more orders2 to 3 orders1 order
Total spendMore than 300 USD100 to 300 USDLess than 100 USD

These numbers are only examples. For a store that sells furniture or bikes, “high recency” might mean a year. The right yardstick is the natural buying cycle of your own product: how long until a customer usually needs it again?

Six groups most stores have

Combining the three measures can produce dozens of groups, but six are enough for a small store:

  1. New customers: just one purchase, and a recent one. They haven’t decided yet whether they’ll become regulars.
  2. Returning customers: have bought again at least once. They’ve passed the first test.
  3. Active customers: buy regularly, at their usual intervals.
  4. VIP customers: buy often and have a high total spend. An important share of your revenue depends on them.
  5. Customers at risk: used to buy regularly, but the time since their last purchase is longer than usual.
  6. Lost customers: haven’t bought in a long time and are unlikely to come back.

Spot customers at risk early

The most important group to act on is usually the fifth one, because it’s not too late yet. Imagine a customer we’ll call Sarah who used to order a shampoo bar and dish soap from the natural cleaning store every five to six weeks, but it’s now been ten weeks since her last order. She may have found a similar product elsewhere, been unhappy with her last order, or simply forgotten.

To spot this group, compare each customer’s usual gap between purchases with the current gap. If the current gap is noticeably longer than usual, flag that customer. Then look at the history of their last order: was it canceled or delayed? Was the product they always buy out of stock? The answers to these questions often matter more than any discount offer.

What to do with each group

There’s an important limitation here. Under Meta’s official rules, a business can only reply to a customer in DMs after the customer has messaged first, and automated messages are only allowed within 24 hours of the customer’s last message. Mass messaging past customers, whether manually or with unofficial tools, can be treated as spam and put your account at risk of restrictions. So segmentation should guide your decisions, not unsolicited messages.

Within that limitation, these are the actions you can take for each group:

GroupGoalSuitable actions
NewGet them to a second purchaseA flawless first order, a card in the package explaining how to use the product, a careful reply if they message you
ReturningBuild a buying habitNote their preferences in your customer records, suggest an extra item in your next conversation
ActiveKeep them happyKeep frequently bought items in stock, post a general heads up in Stories before items run out
VIPThank them and keep themA gift or free sample in their next order, priority replies, ask for feedback
At riskUnderstand the cause and fix itReview their last order, fix any problem, create general content about the products they bought
LostLearn from themAnalyze why they left, but don’t spend much trying to win them back

A few notes on carrying out these actions:

  • The customer chooses the moment of contact. When a VIP customer or a customer at risk messages you, look at their history and personalize your reply: “Hi Sarah, the chamomile shampoo bar you always order is back in stock.” This message goes out in reply to her own message and within the allowed window.
  • Your package is your communication channel. A thank you card for a VIP customer, a sample of a new product for a returning customer and a soap care guide for a new customer all reach them without any extra message.
  • Build your public content around your groups. If a large share of your customers at risk were dish soap buyers, it may be time to create content about that product or review its quality and price.
  • Get help from happy customers. VIP customers are your best source of genuine feedback and referrals. We cover how to ask for feedback and permission to share it in our guide to collecting genuine customer reviews, and how to design a referral offer in our article on referral marketing.

More ways to get customers to come back on their own, from the experience after purchase to content made for your existing customers, are in our guide to customer loyalty.

Where to start: the data you need

Segmentation is only as accurate as its data. It has three prerequisites:

  • A consistent ID for each customer. If one customer is recorded once with their full name, once with their first name and once with a different phone number, they look like three separate customers. A cell phone number is usually the best ID.
  • Every order recorded in one place. DM orders, website orders and phone orders all need to be added to the same customer’s record. We explain the routine for recording orders in one place in our guide to managing Instagram orders.
  • Accurate order statuses. A canceled order shouldn’t count toward a customer’s frequency or spend.

Keeping this customer list has another benefit: if access to a platform is ever disrupted or your account is restricted, your customer history and contact details stay in your hands. We go deeper into this in our article on reducing your dependence on Instagram.

The manual version with a spreadsheet

If you don’t have a system, go through these steps once a month:

  1. Enter your list of valid orders into a spreadsheet, with columns for phone number, date and amount.
  2. For each phone number, use a pivot table to calculate the date of the last order, the number of orders and the total amount.
  3. In a separate column, calculate the number of days since the last order.
  4. Using the boundaries you set, give each measure a high, medium or low score.
  5. Combine the scores to decide each customer’s group.
  6. Pull out the lists of VIP customers and customers at risk and write one action for each.

As your store grows: one source for every order

As your store grows, updating this table by hand takes a lot of time, and most of that time goes into collecting orders from different places. In Directchi, orders from Instagram DMs and from your online store land in one order list, each labeled with its source (Instagram or Website) and its status. That gives your monthly segmentation a single, clean source: you copy the orders from one list instead of piecing them together from chats and notebooks, and canceled orders are easy to leave out because every order has a status. The grouping itself, and any tags like “sensitive skin” or “bulk buyer,” stay in your spreadsheet, where you control the boundaries.

Traps to avoid

Segmentation is a tool for serving customers better, but it has a few common misuses:

  • Giving discounts to every group. Active customers buy without a discount. Giving them one just cuts your margin.
  • Ignoring new customers. Focusing on VIP customers is natural, but tomorrow’s VIP customers come from today’s new customers.
  • Spending a lot on lost customers. Put most of your time and money into the group at risk, which can still be won back.
  • Fixed boundaries forever. As your products and seasons change, review your recency and spend boundaries every few months.
  • Using data for unwanted messages. Having a customer’s phone number and purchase history doesn’t give you permission to send them promotions. Limit contact to the channels and situations the customer has agreed to.

Next steps for your store

Don’t start customer segmentation with perfectionism. This month, take your order list from the past few months, calculate recency, frequency and spend, and separate just two groups: VIP customers and customers at risk. For the first group, plan a small thank you in their next order. For the second, review each person’s last order to understand what might have pushed them away. After a month or two, once this routine is in place, add the other groups and tags based on needs.

Frequently asked questions

What is customer segmentation?

Segmentation means dividing your customers into groups with similar behavior or needs so you can treat each group according to where it stands. For a small online store, the most common basis is buying behavior: when the last purchase was, how many times they have bought and how much they have spent.

What is the RFM method, in plain terms?

RFM is three questions about each customer: how recent their last purchase was, how often they have bought and how much they have spent in total. With these three measures you can separate new customers, loyal customers, high value customers and people who haven't come back in a while.

How do I spot a customer who is about to churn?

A customer who used to buy regularly but whose time since their last purchase is noticeably longer than their usual gap between orders is probably at risk. That gap depends on the type of product and should be set for your own store.

Can I message all my past customers in Instagram DMs?

Through official tools, a business can only send automated messages to a customer within 24 hours of that customer's last message. Mass messaging past customers can also be treated as spam and put your account at risk of restrictions.

Do I need special software for customer segmentation?

Not to start. A spreadsheet with your order list is enough. But once you have a lot of customers, a system that keeps each customer's order history in one place and updates the groups for you saves a lot of time.

Related articles

Orders & shipping

Instagram Order Management: From Order to Shipment

A practical guide to Instagram order management: order stages, separate order, payment and shipping statuses, checking bank transfer receipts, inventory control, packing routine and returns.

13 min read

An independent online store, next to your Instagram page

Add your products once. Selling in Instagram DMs and on your online store is then managed from one dashboard.

Start Free 3 days free. No credit card required. See Directchi’s online store