Customer analysis guide

Customer cohort analysis for Shopify

Follow first-purchase groups over time, read a retention table and compare repeat purchasing across equivalent observation periods.

Conceptual illustration of customer rows and a stepped cohort grid beside a calendar and shopping parcels

What is customer cohort analysis?

Customer cohort analysis follows a group of customers who share a starting event and compares their behavior as time passes. For an ecommerce store, a useful starting point is the month of each customer’s first purchase. You can then ask how many of those customers buy again in later months.

The key comparison is the same age of each cohort: April customers in their first later month versus May customers in their first later month. Comparing lifetime purchases across groups acquired at different times gives older customers more opportunity to return.

This guide uses first-purchase cohorts and repeat purchasing. Membership retention is a separate question: a member can remain subscribed without placing a merchandise order, and a repeat buyer need not be a member.

Find and configure the Shopify cohort report

In Shopify Analytics, open Reports and search for Customer cohort analysis. Shopify’s customer reports documentation describes first-order cohorts, configurable metrics and intervals, and heatmap or retention-curve views. Confirm the selected metric before interpreting a cell.

Shopify’s default report separates first orders from period 0, which captures returning orders in the same period as the first order. Do not assume every Month 0 retention cell should be 100%. Our simplified worked table below starts at Month 1 and omits first-order and Month 0 columns.

The report configuration guide explains cohort definitions and intervals. Record your metric, date range, first-order filters and customer filters so a later comparison uses the same settings.

Before using your own export, confirm how it handles customer identity, cancellations, refunds, test orders and imported history. A customer’s first order in a short export is not necessarily their first-ever store order. Use the store’s reporting definition consistently and document any custom exclusions.

Calculate a period-specific repeat-purchase rate

For the worked example, a customer belongs to the calendar month of their first qualifying purchase. Count each customer at most once in each later month, even if they place several orders. Keep the original cohort size as the denominator.

Period repeat-purchase rate = unique cohort customers who purchase in that period ÷ original cohort customers × 100

For 100 customers first acquired in April, 20 distinct customers buying in May gives a Month 1 rate of 20%. If those 20 customers place 27 orders, the customer rate is still 20%, not 27%. Revenue, orders and customers are different measures.

Calendar Month 1 is not the same as days 1-30 after each purchase. An April 1 buyer and an April 30 buyer are both measured in May here, although their elapsed time differs. For an exact 30-, 60- or 90-day question, build and label an elapsed-day analysis instead.

Worked customer cohort analysis example

Fictional data, complete through August 31, 2026. Each cell shows unique purchasing customers and their share of the original cohort. Only complete calendar months are included. These are illustrative numbers, not Memberply customer results or industry benchmarks.

Repeat purchasing by cohort age, through August 31, 2026
First-purchase cohortCohort sizeMonth 1Month 2Month 3Month 4
April 202610020 (20%)15 (15%)18 (18%)12 (12%)
May 202612024 (20%)18 (15%)12 (10%)Not observed
June 20268020 (25%)16 (20%)Not observedNot observed
July 202610030 (30%)Not observedNot observedNot observed

Read across: April’s Month 1 is May, Month 2 is June, Month 3 is July and Month 4 is August. Its rate rises from 15% to 18% between Months 2 and 3. That is possible because customers can skip a month and return later; this is not continuous subscription survival.

Read down: Month 1 is 20% for April and May, 25% for June and 30% for July. July’s 30% versus April’s 20% is a 10-percentage-point difference, or a 50% relative increase. It is an observation to investigate, not proof that a particular campaign improved retention.

Read the gaps: July’s Month 2 would be September, which is outside this example’s cutoff. “Not observed” is not zero. If you run the report during September, an incomplete September period still should not be compared as a finished month.

The table uses calendar months, so month lengths also vary. Use the same interval convention throughout, and choose an elapsed-day method if an equal number of days is essential to the decision.

Avoid three misleading cohort calculations

Common interpretation mistakes
MistakeWhy it misleadsBetter approach
Add 20% in Month 1 to 15% in Month 2Some customers purchased in both monthsDeduplicate customer IDs over the combined window.
Average rates from unequal cohorts without considering sizeA small group gets the same weight as a large oneSum eligible customer counts and divide by the combined original cohort sizes.
Include unobserved periods as zerosNewer groups are penalized for time that has not elapsedCompare complete periods at the same cohort age.

Overlap example: if April has 20 buyers in Month 1 and 15 in Month 2, with five customers in both, there are 20 + 15 − 5 = 30 unique buyers across those two periods. The combined rate is 30%, not 35%. This example deliberately excludes any repeat purchases in Month 0.

Weighted example: April, May and June together have 15 + 18 + 16 = 49 Month 2 buyers out of 100 + 120 + 80 = 300 original customers. The pooled rate is 16.33%. The unweighted average of 15%, 15% and 20% is 16.67%, which answers a different question. July is excluded because its Month 2 is not observed.

A missing value can also reflect a reporting or data issue. Investigate the reason before labeling it as unobserved, and keep that separate from a genuine completed period with zero repeat buyers.

Cohort analysis vs RFM and repeat purchase rate

Choose the analysis for your question
MethodQuestion it helps answerMain limitation
First-purchase cohort analysisHow do acquisition groups behave at the same age?Differences may reflect seasonality, product mix or acquisition quality.
RFM analysisWhich customers have recent, frequent or high-value purchase histories now?It is a customer classification at a point in time, not the same age-based comparison.
Overall repeat purchase rateWhat share of the defined customer population bought more than once in the chosen window?A changing mix of new and established customers can hide cohort differences.
Membership retentionHow many members remain active under a defined membership measure?Merchandise purchases alone do not establish active membership.

Use the RFM analysis guide to choose relevant customer groups for action. Use ecommerce metrics to keep reporting definitions consistent. You can combine methods, but label each denominator and observation window.

Turn a pattern into a useful retention test

Someone making a second purchase may need a different follow-up from a first-time buyer. Cohort analysis helps locate the pattern; individual purchase history is still needed to choose the actual audience.

Illustrative patterns and next checks
PatternWhat to investigatePossible test
Newer cohorts have fewer Month 1 repeat buyersChanges in first-order products, channel mix, delivery or promotionsImprove product-use guidance for a clearly defined first-order group.
A replenishable category improves in Month 2Whether its typical usage cycle differs from the store averageTest a relevant replenishment reminder using observed customer timing.
Repeat purchasing rises but net sales per customer fallsDiscounts, low-value orders and refundsCompare contribution and order quality alongside repeat buyers.
One acquisition source appears strongerComparable cohort age, attribution rules, sample size and costEvaluate the source over matched periods before reallocating spend.

For practical messages, see the post-purchase email guide. Use actual purchase history, channel eligibility and stop rules rather than sending to everyone in a cohort indiscriminately.

Where practical, randomize eligible customers into a test and holdout group within the same cohort. Predefine the outcome and time window. Comparing a campaign launched in July with an April cohort alone does not isolate its effect. Small cohorts need particular caution; a handful of customers can move the percentage substantially.

Evaluate membership cohorts without overstating causation

A membership-focused analysis can group people by when they joined and separately track active membership, benefit usage and merchandise purchasing. Define the joining event and treatment of trials, pauses, cancellations and reactivations before interpreting the result.

Keep first-purchase cohorts and membership-join cohorts distinct. Do not classify customers as members at acquisition merely because they joined later: that uses future information and can make the comparison misleading. Current membership status alone does not reconstruct historical status.

Members and non-members may differ before joining, so stronger member repeat purchasing is not automatically caused by the program. Compare similar histories and observation periods, and use a suitable experiment where feasible.

Memberply provides membership tiers and benefits. This guide does not describe a native Memberply cohort report. Use Shopify reporting or a separately prepared analysis, and verify that the historical data needed for a membership comparison exists. The customer segmentation guide covers useful audience distinctions.

A repeatable cohort review checklist

  1. Define entry. Use a documented first-purchase or membership-join event and preserve the original group.
  2. Choose the metric. Separate unique buyers, orders, revenue, contribution and active memberships.
  3. Set the time convention. Record calendar or elapsed-day intervals, timezone and data cutoff.
  4. Check completeness. Exclude incomplete and unobserved periods from like-for-like comparisons.
  5. Check the population. Document identity handling, order exclusions, product mix and acquisition filters.
  6. Choose one next test. Record the hypothesis, audience, cost and outcome window before changing the experience.

Store the definitions alongside the ecommerce KPI worksheet. Keep observed values separate from forecasts; projections are estimates, not completed customer behavior.

Customer cohort analysis questions

What is customer cohort analysis?

It follows customers grouped by a shared starting event, such as their first-purchase month, to compare behavior as the groups age. This makes it easier to compare equivalent periods after acquisition.

How do I calculate cohort retention for repeat purchases?

For a defined period, divide unique purchasing customers from the cohort by the original cohort size. Count each customer once in that period and distinguish this measure from orders, revenue or active membership.

Where is Shopify customer cohort analysis?

Open Analytics, then Reports, and search for Customer cohort analysis. Check the selected metric, interval and filters before interpreting the table.

Does Month 0 always mean 100% retention?

No. Shopify’s default cohort report separates first orders and uses period 0 for returning orders in the same period. Read the metric definition rather than assuming every opening cell should be 100%.

Why are newer cohort cells blank or unavailable?

The relevant period may not have elapsed, or the data may be incomplete or unavailable. Check the cause. Do not replace unobserved periods with zero or compare partial months with complete ones.

Can I add monthly retention percentages together?

Not to get unique repeat buyers across months. Customers can appear in multiple periods. Deduplicate customers across the full window before calculating a cumulative or combined rate.

What is a good cohort retention rate for ecommerce?

There is no universal target for every category and purchase cycle. Compare mature cohorts with consistent definitions and examine product mix, acquisition source, costs and sample size.

Does a higher member retention rate prove the membership worked?

No. Members can differ from non-members before joining. Keep merchandise purchasing separate from active membership, use historical status and comparable observation windows, and test causal effects where feasible.

Merchant reviews

Merchants use Memberply to launch practical membership programs

Read what merchants say about using Memberply for their membership programs. Read reviews on the Shopify App Store.

★★★★★

"The app is great and does exactly what i need it to. It is well priced and Doug is so great."

Olverum Official Store

United Kingdom

★★★★★

"Their pricing is fair, and their support is legendary."

Puzzery

Canada

★★★★★

"Our store is based in Argentina so we don't have access to Shopify Payments... Memberply solved it."

Elemental Outfit AR

Argentina

Build membership value and measure what happens next

Use Memberply to manage membership tiers and benefits, then evaluate purchasing and membership outcomes with clearly defined measures.

Install on Shopify