Retention marketing covers everything you do to make an existing customer buy again. Email and SMS flows, loyalty mechanics, segmentation, win-back campaigns, subscription offers, all of it aimed at people already in your customer table.
Most retention advice was written for businesses with a subscription and a cancel button, and a DTC store has neither. This article covers the version that fits a store. Which numbers to read, where to find them in Shopify, what you can afford to spend, what a discount really costs you, which strategy to start with, the segments to build, and how to prove any of it worked.
Where retention programs go wrong
|
What you see |
What is behind it |
Section that fixes it |
|
Flow revenue looks strong, total revenue is flat |
Flows are claiming orders that were coming anyway |
How to tell whether your retention marketing worked |
|
Repeat rate holds steady while new customers rise |
Newer cohorts are worse and the blended average hides it |
Which retention metrics to track for a store |
|
Win-back emails get opened, almost nothing converts |
The send window came from a template, not your own data |
Which retention marketing strategy to start with |
|
Retention revenue grows, margin does not move |
Discounts and points are paying for the repeat orders |
What a repeat purchase discount costs in margin |
|
Loyalty signups climb, behavior does not change |
Nothing is measuring whether those orders needed the reward |
How to tell whether your retention marketing worked |
What retention marketing means for a Shopify store
Someone who bought a jacket in March has not cancelled anything in June. They are somewhere between loyal and gone, and the only evidence either way is whether another order shows up. That is why a retention program can run for a year without anyone knowing whether it worked.
In practice it comes down to three decisions:
-
Who you contact
-
When you contact them
-
What you are willing to pay for the order you get back
Which retention metrics to track for a store
Four numbers do the work.
repeat purchase rate = customers with 2 or more orders ÷ total customers, over a fixed window
time to second order = median days between a customer's first and second order
cohort revenue curve = cumulative revenue per customer, by month of first order
revenue per customer at day 365 = total revenue from a cohort ÷ customers in that cohort
That last one is LTV with a fixed window on it, which stops your oldest and best customers inflating the number.
The four metrics, with the question each one answers.
Repeat purchase rate on its own is a trap.
It moves when acquisition moves, so a brand that doubles new customer volume watches its repeat rate fall even when every cohort performs exactly as before. Read it by cohort rather than as one store-wide number.
Median time to second order sets every timing rule in the program. If half your returning customers come back within 34 days, a win-back campaign firing at day 90 arrives long after the decision was made.
New vs returning customers report, built in the ShopifyQL editor.
Shopify does not report it directly, but you can get it in ten minutes:
-
Go to Analytics > Reports > Returning customers and export it. The export carries first order date, most recent order date and number of orders.
-
Keep the rows where the number of orders is 2.
-
Subtract one date from the other and take the MEDIAN in a spreadsheet.
Customers with three or more orders drop out of that calculation, so the answer runs slightly long. Fine for a first pass. If your account qualifies for Klaviyo's predictive analytics, the Avg time between orders field on a profile gives you a second read.
If you run subscriptions alongside one-off orders, net revenue retention measures the subscriber side separately, and the two should never be blended into one figure.
Where your retention numbers live in Shopify admin
You do not need an analytics app for the first pass.
Analytics > Reports, open the Category filter, select Customers.
Nine reports sit there, including Customer cohort analysis, RFM customer analysis, Returning customers and One-time customers.
The Customers category in Analytics > Reports, with the cohort report arrowed.
Shopify groups cohorts by the date of a customer's first order. Set the metric to Amount spent per customer, then switch the visualization from the default heatmap to Retention curve.
Amount spent per customer by first-purchase cohort, with projections switched on.
Three settings are worth knowing:
-
Metric. Number of customers, customer retention rate, gross sales, net sales, average order value or amount spent per customer. Customer retention rate here is the cohort version, the share of a cohort that ordered again in each period, which is the store-friendly measure. Projections appear only on amount spent per customer, and only once the store has 24 months of order history.
-
Cohort definition. Under First order you can filter by sales channel, marketing channel, marketing type, product name or subscription. This is the setting people miss. It shows whether customers who first arrived from paid social come back as often as customers from search, and whether buyers of one entry product return more than buyers of another.
-
Plan access. The reports are not gated. Shopify's plan documentation states that Basic comes with all reports, including custom reports built with data explorations.
What GA4 adds, and what it does not
GA4 reports retention too, under Reports, then View user engagement and retention. It answers a different question. Returning users are people who came back to the site, and the cohort chart is built on users rather than orders, so neither number is your repeat purchase rate.
GA4’s retention overview, with new against returning users on the left and user retention by cohort on the right.
Read GA4 for whether people come back to the site. Keep repeat purchase rate and the cohort curve on the Shopify side, where the unit is an order.
How much you can afford to spend on retention
Retention pitches often open with a multiplier. Acquisition costs five times more than retention, or seven, depending on which page you land on. Those numbers come from studies across industries that look nothing like yours, and none of them can tell you whether to approve a $4,000 a month SMS program.
Work out your own ceiling instead. Take the contribution margin on a repeat order, before any marketing cost.
contribution margin before ad spend = order value − COGS − fulfillment − payment fees
Take an $85 repeat order as the example:
|
Line |
Amount |
|
Repeat order value |
$85.00 |
|
COGS at 38% |
−$32.30 |
|
Pick, pack and shipping |
−$9.50 |
|
Payment fees at 2.9% + $0.30 |
−$2.77 |
|
Contribution margin before ad spend |
$40.43 |
If your return rate is meaningful, subtract the expected cost of returns as well. For apparel brands that line is often larger than payment fees.
That $40.43 is break-even. Spend all of it to produce one repeat order and you did the work for nothing. Most brands want each dollar of retention spend to bring back two to three dollars of contribution margin, which puts the usable budget between $13 and $20 per incremental repeat order.
Now run it against the program you already have. Take a retention stack costing $900 a month across email, SMS and a loyalty app:
|
What the program has to produce each month |
Repeat orders |
|
To break even at $40 of margin |
23 |
|
To hit a two times target |
45 |
|
To hit a three times target |
67 |
Incremental is the word doing the work there. Those are orders that would not have happened without the program, which is harder to produce and much harder to prove.
What a repeat purchase discount costs in margin
Discounting lifts a repeat rate faster than anything else, and it is the easiest way to grow retention revenue while shrinking profit. Same $85 order, same cost base:
|
Discount |
Order value |
Contribution margin |
Margin given away |
Extra repeat orders needed to break even |
|
None |
$85.00 |
$40.43 |
n/a |
n/a |
|
10% |
$76.50 |
$32.18 |
20% |
+26% |
|
15% |
$72.25 |
$28.05 |
31% |
+44% |
|
20% |
$68.00 |
$23.93 |
41% |
+69% |

Share of contribution margin given away at three discount levels.
COGS, shipping and the $0.30 fee stay fixed in dollars, so the discount comes entirely out of contribution margin and a percentage off the order is always a bigger percentage off the profit. The margin given away is the full cost only for customers who would have reordered anyway.
The last column is the test that matters. A 15% code has to produce 44% more repeat orders than full price would have, just to leave you where you started.
Which retention marketing strategy to start with
Read the cohort curve. The shape of the break tells you where to work.

Three break points on a cohort revenue curve.
|
Curve shape |
What it means |
Where to work |
|
Flat after the first order |
They buy once and never return |
The first 30 days |
|
Late rise, after your flows have fired |
They do return, but your messages arrive at the wrong time |
Timing |
|
Shallow rise |
They return and spend less |
Merchandising |
Flat curve: fix the first 30 days
Fix post-purchase sequencing, shipping and unboxing, and ask whether your best seller is a product anyone buys twice. A thank you page earns its keep here, because it reaches every buyer at the one moment they are paying attention. A win-back campaign cannot fix this, because these customers never formed a buying habit to win back.
Late curve: fix the timing
Pull your median time to second order and set the first reminder just before it. Replace the 60 and 90 day delays that ship as defaults in flow templates with your own number. If you sell items that run out at different speeds, set the delay per product, using the cohort report's product name filter to see how each entry product behaves. The campaign itself is a lifecycle automation with a timing rule on the front.
Shallow curve: fix what returning customers see
Look at what returning customers land on, whether the replenishment item is findable, and what the bundle options are. Turning the second order from a decision into a default is the whole argument for a subscription program, and if you already run one, the problem may be subscription churn rather than merchandising.
|
Break point |
First flow to build |
What it sends |
|
Flat |
Post-purchase education |
How to use the product a few days after delivery, then a review request once it has been used |
|
Late |
Replenishment or reminder |
One message just before your median and one after, set per product where usage differs |
|
Shallow |
Second-order merchandising |
The most common second product among repeat buyers, a bundle, or a subscribe option on the item they reorder |
To find that second product, export the Returning customers list and look at what those customers bought the second time.
One caution before any of it.
Retention cannot repair a badly acquired cohort. Customers brought in by a 40% off code on broad prospecting usually repeat worse than customers who arrived on brand search. Check it in your own data by filtering the cohort report on marketing channel and comparing revenue per customer at the same month.
The segments retention marketing runs on
Shopify’s default customer segments, with the share of customers in each.
The filters are plain enough to type by hand.
|
Segment |
Query |
|
Repeat buyers |
number_of_orders >= 2 |
|
Lapsed, past your median |
last_order_date < -45d AND number_of_orders >= 1 |
|
High value, one order only |
number_of_orders = 1 AND amount_spent > 150 |
|
Best customers |
rfm_group = 'CHAMPIONS' |
|
Predicted high spenders |
predicted_spend_tier = 'HIGH' |
Replace 45 with your own median in days. The segment editor takes relative dates in days, weeks, months or years, so -45d and -6m both work.
If typing queries is not your thing, the RFM customer analysis report sorts every customer into 11 groups, including Champions, At risk and Previously loyal. Click a group, choose Preview segment, and Shopify builds the segment for you.
Two data thresholds decide whether the predictive options work at all:
-
Shopify predicted spend tier appears once a store has made more than 100 sales.
-
Klaviyo predictive analytics needs 500 customers who have placed an order, some with three or more orders, 180 days of history, and orders inside the last 30 days.
Below those lines it is easy to build a flow around a predicted next-order date that never populates. Use your own median instead. One number out of the Returning customers export beats a model running on too little data.
Stores without Klaviyo have a native option. Shopify Messaging carries a Win back customers automation that fires when a customer joins a segment, which is exactly what the lapsed query above builds. It is email only, and it lives at Apps > Messaging > Automations > Create automation.
How to tell whether your retention marketing worked
Flow revenue in Klaviyo is not evidence. The platform credits an order to a message when the order follows the message inside a conversion window, whether or not the message caused it. A post-purchase flow sent to people who were going to reorder will keep reporting strong revenue for as long as it runs.
You need a comparison the platform cannot claim credit for.
Hold out a slice of the segment
Exclude 10% of the eligible segment and compare order rates across both groups over the same window. Keep it running for at least twice your median time to second order, so most of the people who were going to come back have had the chance.
Holdouts need volume to say anything:
-
3,000 eligible customers, 10% held out, means 300 people sit out
-
At a 6% reorder rate that is 18 orders in the holdout
-
A one point difference between the groups is smaller than the noise
Below a few thousand eligible customers, hold out a larger share, 25% to 50%, or test one change across all your flows at once. In Klaviyo the mechanism is a random split inside the flow with one branch sending nothing. On a Shopify-only store, tag a random slice of the segment and exclude it.
Compare cohorts, not months
Read the same point on two curves. Day 90 revenue per customer for the January cohort against day 90 for the March cohort. Month over month totals mix cohorts together and will show you a promotion rather than a retention improvement.
If you have never run either, start with a holdout on one flow.
Where to start with retention marketing this week
Most stores we audit are paying for a retention stack that has never been measured against a holdout. A retention marketing audit finds what the program is actually producing, adds deliverability and list health, and comes back with a prioritised plan inside two week