Sub topic 10
Keep customers coming back
This chapter covers retention for the coffee shop: the steps that turn a first visit into a habit. It assumes you have read the earlier chapters on customer segments and the marketing mix. It also assumes you know basic terms such as revenue, margin and customer, and that you can read a small table of percentages. It ends by handing a short list of retention numbers to the chapter on metrics.
Why retention comes before more advertising
A coffee shop sells a low-priced item that people can buy many times a week. One regular who visits three times a week at about $4.50 per drink brings in roughly $700 a year. A one-time visitor brings in $4.50. Winning a new customer costs ad money or discounts. Keeping an existing one mostly costs consistency.
Retention work protects the budget from the later budget chapter. If a share of customers leaves every month, paid promotion has to refill a leaking bucket. Fixing the leak first makes every acquisition dollar worth more.
Four terms are used throughout this chapter:
- Retention rate is the share of customers from a group who come back within a stated period.
- Repeat purchase rate is the share of customers who have visited at least twice.
- Visit frequency is the average number of visits per customer in a period.
- Churn is the opposite of retention: customers who stop coming.
Always state the period. "Retention is 40%" means nothing. "40% of new customers return within 30 days" is a measurable claim.
The customer lifecycle
Retention is not one tactic. Customers move through stages, and each stage needs a different action.
The second visit matters most. A customer who comes back once within two weeks is far more likely to keep coming than one who has only visited once. The shop's first retention goal should therefore be to get a new customer to a second visit, not to build a big rewards scheme for regulars.
Match the lever to the segment
Retention tactics should follow the segments you defined earlier. The segments below are illustrative. Substitute your own.
| Segment | Why they leave | Retention lever |
|---|---|---|
| Weekday commuters | Queue too long, drink not ready on time | Mobile pre-order, fast line, consistent drink quality |
| Remote workers | Crowded seats, weak wifi, feeling unwelcome after one drink | Reliable seating and power, a small "stay" perk such as a discounted refill |
| Weekend neighbors | Forget the shop exists, find a new place | Seasonal menu, local events, a monthly email |
A single "10% off for everyone" offer fits none of these groups well. Commuters care about speed, so a discount does little for them.
Choose a loyalty mechanism
Loyalty programs differ in cost, effort and fit. The table compares the four common options for a small shop.
| Mechanism | How it works | Cost to run | Main risk |
|---|---|---|---|
| Punch card | Paper card, free drink after N purchases | Very low | No customer data, easy to lose or fake |
| Points app | Points per dollar, redeemed for rewards | Monthly software fee | Setup effort, low sign-up if the process is slow |
| Subscription | Fixed monthly fee for a set number of drinks | Drink cost on heavy users | Heavy users cost more than they pay |
| Recognition perks | Free upgrade, name on the board, early access | Staff time | Inconsistent if staff change |
For a first plan, a punch card or a simple points app is enough. A subscription needs real visit data first, because you must know how often your best customers actually come in. Recognition perks cost almost nothing and work well beside any of the others.
Price the reward before you launch it
A reward costs you either the cash cost of the item or the sale you would have made anyway. The second figure is the one that matters if the customer would have come regardless. The script below prices a "buy 9, get the 10th free" card and also computes a 30-day return rate from a small visit log.
from collections import defaultdict
from datetime import date
# Visit log: (customer, visit date). In practice, export this from your
# point-of-sale system or loyalty app.
visits = [
("ana", date(2026, 9, 2)), ("ana", date(2026, 9, 9)), ("ana", date(2026, 9, 16)),
("ben", date(2026, 9, 3)), ("ben", date(2026, 10, 20)),
("cara", date(2026, 9, 5)),
("dev", date(2026, 9, 8)), ("dev", date(2026, 9, 12)),
("dev", date(2026, 9, 20)), ("dev", date(2026, 9, 27)),
("eli", date(2026, 9, 10)),
]
by_customer = defaultdict(list)
for name, day in visits:
by_customer[name].append(day)
returned = 0
for name, days in by_customer.items():
days.sort()
first = days[0]
if any((d - first).days <= 30 for d in days[1:]):
returned += 1
rate = returned / len(by_customer)
print(f"30-day return rate: {rate:.0%} ({returned} of {len(by_customer)})")
# Reward pricing for a "buy 9, get the 10th free" card.
price = 4.50 # average drink price
drink_cost = 1.20 # ingredients, cup, lid
margin_per_visit = price - drink_cost
cash_cost_per_card = drink_cost # what the free drink costs you
worst_case_cost = price # sale forgone if they'd have come anyway
extra_visits_needed = worst_case_cost / margin_per_visit
print(f"Cash cost per completed card: ${cash_cost_per_card:.2f}")
print(f"Worst-case cost per card: ${worst_case_cost:.2f}")
print(f"Extra paid visits to break even: {extra_visits_needed:.2f}")The output is a 40% return rate (2 of 5) and a worst-case cost of $4.50 per completed card. The program breaks even if it produces about 1.36 extra paid visits for each completed card. If your regulars already visit ten times a month, a card is mostly a discount. If it pushes occasional visitors from four visits to six, it pays for itself.
Retention beyond the card
Most lapses in a coffee shop come from service problems, not from missing rewards. These actions cost little and apply to every segment:
- Consistency. The same drink should taste the same on every shift. Write recipes down with exact doses and times.
- Recognition. Learn the names and orders of regulars. Staff training does this at no cost.
- A reason for the second visit. Give new customers a small card or message, for example "come back this week for a free cookie with any drink". Keep the offer small, time-limited and tied to the second visit.
- Feedback. Put a short feedback channel on the receipt or at the counter and respond to it. A fixed complaint often turns a leaver into a regular.
- Win-back. Send one message to customers who have not visited in a set time, for example 45 days. Use one message with one offer, not a series.
Capture contact details with consent
Email and phone numbers make the second-visit and win-back actions possible. Collect them with a clear reason ("get your points, plus our monthly menu update") and an easy way to opt out. Check the privacy and marketing-message rules for your location before you send anything. Rules on consent differ by country and sometimes by state.
Common errors
- Discounting too deeply. Customers learn to wait for offers and stop paying full price. Keep rewards to about 10% of spend, and prefer perks to price cuts.
- Measuring too early. A program launched on Monday has no retention result by Friday. Wait at least one full cycle of your retention period.
- Ignoring the baseline. Without the return rate before the program, you cannot say whether it worked. Record it first.
- Rewarding the wrong people. If a card only rewards customers who would visit anyway, it moves margin from you to them. Targeted offers, such as the second-visit bonus, avoid this.
- A program too complex to explain at the counter. If staff cannot describe it in one sentence, customers will not use it.
What to hand to the metrics chapter
Retention only counts if you can measure it. Pass these items forward:
- 30-day return rate for new customers, with a baseline and a target.
- Repeat purchase rate across all customers.
- Average visits per active customer per month.
- Loyalty sign-up rate: members divided by total transactions or customers.
- Redemption cost as a share of revenue.
Each has a clear definition, a source, and a period. The next chapter shows how to set them up and decide how often to read them.
Exercise
A shop's loyalty card is "buy 7 drinks, get the 8th free". Average price is $5.00 and the drink costs $1.50 to make. In the worst case, where the customer would have visited anyway, how many extra paid visits must the card produce to break even per completed card? Round to two decimals.
Show answer
Margin per paid visit is $5.00 - $1.50 = $3.50. The worst-case cost of one free drink is the forgone sale, $5.00. Extra visits needed = 5.00 / 3.50 = 1.43.
Exercise
A new shop has 40 first-time customers in October. 14 of them visit again within 30 days of their first visit. What is the 30-day return rate, and why is the period part of the definition?
Show answer
14 / 40 = 35%. Without the period, the number cannot be compared. A 60-day window would count more returners and give a higher rate, so figures are only comparable when they use the same window.