← All articlesMeasurement

Shopify customer cohort analysis for repeat purchases

4 min read

Shopify customer cohort analysis groups customers by a shared starting point, such as the month of their first purchase, and follows what happens next. It can reveal differences hidden by a store-wide average. Compare the same amount of time after entry for each group; a cohort that has had six months to reorder cannot be judged fairly against one that has had only two.

Choose a clear starting event

Common choices include first purchase month or signup period. Keep the definition consistent and avoid changing it halfway through the analysis. Record major conditions such as a large acquisition offer or an unusual product launch.

Use Sendvio customer data and segments to organize the groups you can reliably identify. Do not infer detailed motivations from a cohort label. “First purchase in November” is a fact; “only buys discounts” is a stronger claim that requires more evidence.

Define the cohort once and keep the starting population

For a first-purchase cohort, record which qualifying order counts as the first purchase and how cancellations or refunds affect the definition. Keep the starting customer count visible. Changing the starting population after seeing results can make a weak cohort appear stronger simply by excluding inconvenient records.

Add context such as the main product category, acquisition source, or offer, but do not make the groups so narrow that every comparison contains only a few people. Begin with the question you need to answer, then use only the distinctions that help interpret it. A month label alone does not explain why customers behaved differently.

Use reliable customer and order data, exporting and analysing it through an appropriate process if needed. Do not assume that a segment name automatically supplies all the historical information required for a cohort analysis.

Give each group equal time

A group that started six months ago has had more opportunity to reorder than one that started last week. Compare outcomes at the same elapsed interval, such as a defined number of days after the first purchase.

Use clear metrics: second-purchase rate, time to the next order, revenue per starting customer, or relevant engagement. Keep returns and cancellations treated consistently. Separate product categories when their natural replacement cycles differ substantially.

Compare the same amount of time after entry

Suppose a January group contains 200 first-time customers and 40 make a second purchase within 60 days: a 20% second-purchase rate for that definition. A February group with 300 first-time customers and 45 second purchasers within the same 60 days has a 15% rate. Keep the counts beside the percentages and consider uncertainty before treating the difference as stable.

A group that entered only 20 days ago cannot yet be judged on its 60-day result. Leave that outcome incomplete or compare an earlier interval that all groups have reached. Do not mark customers as non-repeaters simply because they have not had the same opportunity to return.

Turn the pattern into a useful question

If one cohort returns less often, inspect the acquisition promise, product experience, and follow-up journey. Do not assume the welcome email caused the difference when the products or discount conditions also changed.

Use the finding to plan a focused improvement, then follow the next comparable group. Cohort analysis is valuable because it keeps timing and context visible. It should help you identify where customers need a better experience, not turn every difference into a confident explanation without supporting evidence.

Investigate differences with the commercial context intact. A deep promotion, a stock shortage, a new product mix, or slower delivery can change a cohort's experience. If several factors changed, the result does not isolate the welcome email or any other single touchpoint. Use the pattern to choose a focused investigation or future test.

Review more than the second-purchase percentage where appropriate: time to return, revenue or contribution per starting customer, returns, and recurring support themes can add meaning. The practical conclusion should identify a customer experience to improve, such as clearer first-use guidance or a better replenishment interval. Cohorts help you compare fairly over time; they do not turn a descriptive difference into a causal explanation by themselves.