LiftSignals is live. Every plan starts with a 30-day free trial — no credit card required. Start free →
Customer lifetime value

Customer cohort analysis: how to read your customers by the month they arrived

Your average customer value can fall in a month when nothing went wrong. A cohort table tells you whether to panic, and which month to panic about.

By LiftSignals editorial team · Published · 12 min read

A small clay sapling in a pot with one orange fruit

Key takeaways

  • A customer cohort analysis groups customers by the month of their first order and tracks what each group spends afterward.
  • A big acquisition month drags down store-wide customer value even if every customer is fine, because new customers haven't had time to reorder.
  • Only compare cohorts at the same age: month 6 against month 6, never a two-year-old cohort against a two-month-old one.
  • Shopify, Klaviyo and a spreadsheet can all build the table; GA4's cohorts count devices, not customers.
  • Read cohorts on margin as well as revenue, because a discounted first order can hide a weaker group.

A customer cohort analysis groups your customers by when they first ordered, usually by month, and tracks what each group does afterward: how many come back, and how much each customer has spent by month 3, 6 or 12. It's the most reliable way to see whether the customers you're winning now are worth as much as the ones you won last year. This guide shows how to build a cohort table in Shopify or a spreadsheet, how to read it without fooling yourself, and a worked example that asks the question every store has this week: are Black Friday customers worse?

What is customer cohort analysis?

A cohort is a group of customers who share a start date. Everyone whose first order landed in March 2026 is the March 2026 cohort. Customer cohort analysis follows each of those groups forward in time, side by side.

The result is a table. Each row is a cohort. Each column is the number of months since that cohort's first order: month 0 is the month they arrived, month 1 is the month after, and so on. Each cell holds a measure, such as the share of the cohort that ordered again, or the cumulative revenue per customer.

First-order month Customers Month 0 Month 1 Month 2 Month 3
Jan 2026 410 $88 $97 $104 $111
Feb 2026 380 $86 $96 $101 $109
Mar 2026 500 $87 $99 $106 $112

Cumulative revenue per customer for an illustrative store. Read across a row to watch one group mature; read down a column to compare groups at the same age.

The table has one more trick. A diagonal from top right to bottom left is a single calendar month: it shows how every cohort behaved in, say, June. That's where a sitewide sale or a broken checkout shows up across all cohorts at once.

Read down the columns for decisions about acquisition, and read along the diagonals for decisions about the calendar.

Why your customer value drops when you grow

Here's the case for cohorts in one example. It's an illustrative store, so the numbers are made up to show the mechanics, not to benchmark you.

The store has 8,400 customers worth $353 each on average so far, $2,965,200 in all. Over Black Friday week it wins 1,200 new customers, each with one order at 20% off: $86.80 × 0.8 = $69.44.

Customers Total spent Average per customer
Before Black Friday 8,400 $2,965,200 $353.00
New customers that week 1,200 $83,328 $69.44
After 9,600 $3,048,528 $317.56

Average customer value fell about 10% in a week. No customer got worse. The store simply added 1,200 people who have had one week to be customers, and averaged them in with people who have had years.

A store-wide customer value falls every time acquisition goes well. A cohort table is how you tell a growing business from a shrinking one.

The reverse trap is worse. A store that stops acquiring sees its average customer value creep up, because the only customers left in the calculation are old, loyal ones. The dashboard congratulates you for shrinking. It's the analytics version of a restaurant rating itself on the regulars who never left.

Stop reading blended customer value month to month. Read it by cohort, and save the store-wide average for the customer lifetime value calculation it was built for.

How to do a cohort analysis in Shopify

Shopify has a built-in customer cohort analysis report among its customer reports. In Shopify's words, "customers are grouped into cohorts based on the date that they placed their first order". The report can show the "number of customers, customer retention rate, gross sales, net sales, or average order value" for each cohort, over "the weeks, months, or quarters as of their first order". It's displayed as a heatmap by default.

Three details are worth knowing before you trust it:

  • Projections need two years. For the amount spent per customer, the report can project cohorts forward, using data "compiled over the previous 24 months for each cohort". If your store doesn't have 24 months, the projections toggle doesn't appear. Shopify adds that "projections aren't a guarantee of future sales".
  • You can filter by how customers arrived. Since a June 2023 update, the report can be filtered "by first order attributes such as sales channel, marketing channel". That's how you compare customers won through paid social with customers won through search.
  • "Retention rate" isn't defined on the page. Shopify lists it as a metric but doesn't give the formula. Before you quote it in a meeting, check a cohort's figure against your own count of customers who ordered again.

If you write queries, ShopifyQL's customers schema has a customer_cohort_month field, "the month of the customer's first order, reported in your store's time zone", plus week and quarter versions.

Klaviyo has a cohort view too. Its standard cohort report in the metrics tab groups profiles that "enter a cohort when they place their first order" into monthly rows, with columns from month 0 to month 11, covering the last 12 complete months. Custom cohorts need Klaviyo's separate Advanced KDP or Personalization products.

Google Analytics 4 is the odd one out. Its cohort exploration groups users, not customers, and Google says "cohorts are based on the user's device data only". It's useful for site behavior. For customer value, use order data.

Start with Shopify's report on cumulative net sales by month, and check its retention figure against a count of your own before you rely on it.

How to build a cohort table in a spreadsheet

If you want margin instead of revenue, or a cut Shopify doesn't offer, build it from an order export. It takes an afternoon the first time and minutes after that.

  1. Export orders with customer ID, order date and net sales (after discounts and refunds).
  2. Find each customer's first order date. A minimum-date lookup by customer ID does it. Merge duplicate customer profiles first, or one person who checked out with two emails becomes two cohort members.
  3. Label each customer with a cohort, the month of that first order.
  4. Label each order with an age: months between the order date and the customer's first order date. The first order is month 0.
  5. Pivot: cohorts as rows, ages as columns, sum of net sales as values.
  6. Divide by cohort size to get revenue per customer, then make each row cumulative.
  7. Multiply by your gross margin for a margin version. Use the same margin for every cohort unless you know the product mix changed.

Theta, a customer-analytics firm, uses a companion chart it calls the "Customer Cohort Chart," or C3: total orders each period, stacked by the cohort that placed them. It shows at a glance how much of this month's business comes from customers you won years ago. Think of it as a layer cake, the only cake in analytics that's good for you.

Build the margin version once. It's the one that answers "how much can we pay to acquire a customer?"

Compare cohorts at the same age, or not at all

The commonest mistake is comparing rows across the bottom of the table: last year's cohort at month 12 against this autumn's at month 2. The young cohort will always look worse, because its future orders haven't happened yet. Statisticians call this right-censoring: the NIST e-Handbook describes it as data where the times "larger than T" are missing. Applied to customers, the orders after today are missing, and they're missing more for younger cohorts.

The fix is simple. Pick an age every cohort you care about has reached, say month 3 or month 6, and compare only that column. A Shopify Community thread from Oct 2026 put the rule in its title: "compare cohorts at the same age".

The age you choose should fit how often your customers reorder. A coffee store can judge a cohort at month 2. A furniture store may need month 12. The time between purchases guide shows how to find your store's typical gap.

Before any cohort comparison, write down the age you're comparing at. If a cohort hasn't reached it yet, it's not in the comparison.

Worked example: are Black Friday customers worth less?

Back to the illustrative store. It compares two cohorts at month 6: the 1,200 customers from Black Friday week 2025, whose first orders were 20% off, and the 500 customers from March 2026, who paid full price. The repeat-order counts are assumptions for the example.

At month 6 Nov 2025 (Black Friday) Mar 2026
Customers 1,200 500
First-order revenue 1,200 × $69.44 = $83,328 500 × $86.80 = $43,400
Repeat orders by month 6 300 (0.25 per customer) 190 (0.38 per customer)
Repeat revenue (at $86.80) $26,040 $16,492
Revenue per customer $91.14 $119.78
First-order margin (45% gross margin) $21.70 each $39.06 each
Margin per customer $31.47 $53.90

On revenue, the Black Friday cohort is 24% behind. On margin, it's 42% behind, because its first order carried the discount. If the store paid the same to acquire both groups, the Black Friday customers are a much worse deal than the revenue view suggests.

Now the honest part. This comparison mixes two things: the discount and the season. November shoppers include gift buyers who were never going to reorder for themselves. To separate them, compare Nov 2025 with Nov 2024 at the same age. If both November cohorts lag March by the same amount, it's the season. If the discounted one lags more, it's the discount.

The research doesn't settle it for you. A 2006 study by Michael Lewis, using customer data from a newspaper and an online grocer, found that deeper acquisition discounts were linked to lower repeat buying and lower long-term value. But field experiments by Anderson and Simester at a catalog retailer found deeper discounts "increased future purchases by first-time customers". Your cohort table is the tiebreaker. The discount addiction guide covers the other side: what discounts do to customers you already have.

Judge every promotion-heavy month on its cohort's margin at a fixed age, and compare it with the same month a year earlier.

What to change once you can see your cohorts

A cohort table earns its keep when it changes a budget or a send.

  • Set acquisition caps by cohort. If a channel's cohorts reach $54 of margin by month 6 and another's reach $31, they shouldn't share a cost-per-customer target. The LTV:CAC calculator page has the ratio math.
  • Time the second-order push. Find the column where each cohort's repeat orders flatten. That's roughly when your follow-up should land, and the repeat purchase rate guide covers what to send.
  • Flag a weak cohort early. If a new cohort's month-1 figure sits well below the last three cohorts at month 1, investigate the acquisition source now, not at month 12.
  • Report cohorts, not averages, to the people who set budgets. It ends the monthly meeting where a growing store is told its customers are getting worse.

Pick one decision a cohort table should change, such as the paid social budget, and review that column every month.

When cohort analysis can mislead

Cohort tables are honest, but they're easy to over-read.

  • Small cohorts are noisy. With a few dozen customers in a month, three repeat orders can move the row a lot. Group by quarter if you need to.
  • Short history limits the columns. A store that's 8 months old can't compare anything at month 12. Use an earlier age, and accept that it's a weaker test.
  • Seasonal products bend every row. If you sell swimwear, a March cohort and an October cohort will mature on different calendars. Compare each month with the same month last year.
  • Revenue hides discounts and returns. Use net sales, after refunds, and build a margin version, or a cohort that sends half its orders back will look like your best.
  • The past is not the forecast. A cohort table describes what each group has done. It doesn't tell you what this week's new customers will do next year.

If your store has under a few hundred new customers a month, read quarterly cohorts and treat month-to-month swings as noise until they repeat.

In LiftSignals

LiftSignals predicts 12-month value for every customer from the night after their first order, using your store's order history. So you can see whether a new cohort is tracking above or below earlier ones within weeks, then send its most promising customers to Klaviyo, Meta or Google. It needs about 500 customers and 90 days of orders.

What to do next

A cohort table tells you, eventually, whether this month's customers will be worth what you paid for them. The catch is "eventually": you wait six or twelve months for the column to fill in. Predictive customer lifetime value scores every customer's expected 12-month value as soon as they order, so a weak Black Friday cohort shows up before you've spent next year's budget on more like it. Connect your store and see your own cohorts' predicted value during the 30-day free trial. No card needed, and no pivot tables either.

Sources

  1. "Customers reports" (customer cohort analysis), Shopify Help Center, checked Nov 2026. https://help.shopify.com/manual/reports-and-analytics/shopify-reports/report-types/customers-reports
  2. "Introducing new ways to slice and dice your cohorts data," Shopify Changelog, Jun 29, 2023. https://changelog.shopify.com/posts/introducing-new-ways-to-slice-and-dice-your-cohorts-data
  3. "Customers schema," ShopifyQL reference, Shopify.dev, checked Nov 2026. https://shopify.dev/docs/api/shopifyql/latest/schemas/customers/customers.md
  4. "Understanding cohort analysis in the metrics tab," Klaviyo Help Center, updated Oct 2026. https://help.klaviyo.com/hc/en-us/articles/33865795499163
  5. "[GA4] Cohort exploration," Google Analytics Help, checked Nov 2026. https://support.google.com/analytics/answer/9670133
  6. "Customer Cohort Charts: Gold Standard of Customer Disclosures," Theta, Sep 2020. https://www.thetaequity.com/c3
  7. "8.1.3.1. Censoring," NIST/SEMATECH e-Handbook of Statistical Methods, section 8.1.3.1. https://itl.nist.gov/div898/handbook/apr/section1/apr131.htm
  8. "Are repeat customers down? Compare cohorts at the same age," Shopify Community, Oct 2026. https://community.shopify.com/t/are-repeat-customers-down-compare-cohorts-at-the-same-age/698854
  9. Lewis, Michael, "Customer Acquisition Promotions and Customer Asset Value," Journal of Marketing Research 43(2), 2006. https://doi.org/10.1509/jmkr.43.2.195
  10. Anderson, Eric T. and Duncan I. Simester, "Long-Run Effects of Promotion Depth on New Versus Established Customers: Three Field Studies," Marketing Science 23(1), 2004. https://www.kellogg.northwestern.edu/faculty/anderson_e/htm/personalpage_files/Papers/Long_Run_Effects_of_Promotion_Depth_on_New_versus_Established_Customers.pdf

Customer cohort analysis questions

What is a cohort in ecommerce?

A cohort is a group of customers who share a starting point, usually the week, month or quarter of their first order. Everyone who first bought in March 2026 is the March 2026 cohort, and you follow that group's orders and spending from then on.

Where is the cohort analysis report in Shopify?

It's one of Shopify's customer reports. It groups customers by the date of their first order and can show the number of customers, customer retention rate, gross sales, net sales or average order value over the weeks, months or quarters since that order.

Can I use Google Analytics 4 for customer cohort analysis?

Only loosely. GA4's cohort exploration groups users, and Google says those cohorts are based on device data, so one customer on a phone and a laptop can count twice. For customer value, build cohorts from your store's order data instead.

How many customers does a cohort need before it's worth reading?

There's no official cutoff, but a cohort of a few dozen customers can swing wildly from a handful of orders. If your monthly cohorts are small, group by quarter instead, or read several months together before drawing a conclusion.

Put it to work: Predictive customer lifetime value → · CLV calculator → · LTV:CAC calculator →