Customer Impact

Growth & Strategie

Cohort Analysis: A Step-by-Step Guide With an Example

Copy for AI

A cohort analysis shows how groups of customers behave over time.

It doesn’t lump everyone together. You group users by the moment they came on board, then follow each group separately.

The verdict: a cohort analysis tells you whether retention is genuinely improving, or whether new sign-ups are hiding customers who leak out the back door.

Below: a six-step method plus a cohort analysis example you can replay right away.

Many B2B teams look at one big total: active accounts, total revenue, number of logins.

That number can climb for months while your product holds on to customers less and less well. A cohort analysis strips that illusion away.

What exactly is a cohort?

A cohort is a group of users or customers bundled by a shared starting moment.

Google’s GA4 cohort exploration help defines it as “a group of users who share a common characteristic”.

For the broader definition, see our explainer on what cohort analysis is.

The acquisition cohort

The most common form is the acquisition cohort. Everyone who became a customer in the same month forms one cohort.

After that, you track each cohort separately over time.

Why cohorts beat a plain average

The difference lies in the fairness of the comparison.

If you look at all customers together, you’re comparing newcomers with people who’ve been around for two years.

That skews everything.

In a cohort analysis you compare apples with apples. For example: the January cohort after three months against the February cohort after three months.

Two kinds of cohorts

Broadly speaking, there are two kinds:

  • Acquisition cohorts: grouped by moment of entry. Good for retention and recurring behaviour.
  • Behavioural cohorts: grouped by an action, such as activating a specific feature. Good for seeing which behaviour goes with staying longer.

Rule of thumb: for most growth questions, start with acquisition cohorts. They’re the easiest to build and deliver insight immediately.

Step-by-step: how to run a cohort analysis

Six steps, in this order. Skip the first and the rest turns into a dashboard nobody reads.

Step 1: pick one sharp question

Never start with the data, start with the question.

A cohort analysis without a question turns into a dashboard nobody looks at. Good questions look like this:

  • Do the customers we win this quarter stay longer than last year’s?
  • Did the improved onboarding lift first-month retention?
  • Do accounts from LinkedIn stay longer than accounts from Google Ads?

The more concrete the question, the easier everything else gets. You immediately know which cohort you need and which event to measure.

Step 2: define your cohort

Set the starting moment that puts customers into a cohort.

In B2B that’s usually the month an account was created or the contract started.

If your CRM uses lifecycle stages, the move to “Customer” is a clean starting moment. In HubSpot that stage means a contact or company with at least one closed deal:

HubSpot lifecycle stage definitions from subscriber and lead to opportunity and customer, where the move to Customer marks the start of an acquisition cohort in a cohort analysis HubSpot’s lifecycle stage definitions, checked 18 October 2026. The date a record reaches “Customer” can define its cohort.

Choose the period deliberately

Monthly cohorts work well with a normal inflow. Weekly cohorts only make sense with enough volume per week to show reliable patterns.

In GA4 this is the cohort granularity:

  • Daily: midnight to midnight in your property’s time zone.
  • Weekly: Sunday to Saturday, not a rolling 7 days.
  • Monthly: the calendar month.

Limit: one GA4 exploration shows at most 60 cohorts.

Watch the group size

Cohorts of a handful of accounts produce erratic numbers you shouldn’t draw conclusions from.

If you have little volume, use broader periods, such as a quarter instead of a month, so every cohort carries enough weight.

Step 3: choose the event that means “active”

Retention is measured against an event.

GA4 calls this the return criterion. You can pick any event, a transaction, a conversion or one specific event.

Mixpanel describes the same idea as “doing an event and then coming back to do another event” in its retention report docs. The first event starts the cohort; the second counts as a return.

What “active” means for your business

What counts as “this customer is still active”? It depends on your model:

  • SaaS product: a login, a completed core action or a paid invoice.
  • Service provider: a repeat purchase or a renewed contract.

In GA4, a specific event works best once it’s marked as a key event. It then shows up across your reports, like the Key events column in our own property:

GA4 traffic acquisition report for customerimpact.be with sessions, engagement rate, event count and a Key events column, the kind of key event a cohort analysis can use as its return criterion Our own GA4 property for customerimpact.be, filtered on one session source, July to October 2026. Key events sit next to sessions and engagement.

Pick the event closest to real value

A login says little if someone logs in and clicks away straight away.

A core action that tracks the value of your product says a lot more.

It’s the same logic as choosing a North Star metric that measures real customer value. Measure the moment the customer gets value, not the movement around it.

Watch out: a vanity event makes every cohort look healthy. Our piece on vanity metrics shows how to spot one.

Step 4: build the time grid

Now you set two axes against each other:

  • Vertically: the cohorts (entry period).
  • Horizontally: the time since entry, month 0, month 1, month 2 and so on.

In each cell you put the percentage of the cohort that was still active in that period.

Month 0 is almost always 100%, because that’s the moment of entry itself.

The useful information sits in the cells after it.

Choose how GA4 counts each cell

GA4 offers three calculation types:

  • Standard: users who meet the return criterion in that period only.
  • Rolling: users who meet it in that period and every earlier one.
  • Cumulative: a running total of everyone who returned up to that point.

Rule of thumb: start with standard. Rolling is stricter and fits products people should use every period.

Step 5: fill in the retention table

Calculate the percentage per cohort and per period. Here’s a simple cohort analysis example to make it tangible.

Say 100 accounts come on board in January:

  • after month 1, 70 are still active
  • after month 2, 55 are still active
  • after month 3, 48 are still active

The January cohort row then reads 100%, 70%, 55%, 48%:

EXAMPLE: JANUARY COHORT Where retention falls away 100 Month 0 100 accounts on board 70 Month 1 70% still active 55 Month 2 55% still active 48 Month 3 48% still active Example figures for illustration.
Retention of a cohort drops after entry: read the row horizontally to see where the biggest fall sits.

Do the same for the February cohort, the March cohort and so on.

Line the numbers up in a table, or colour them as a heatmap, so patterns jump out.

Watch out: the numbers above are an illustration, not a benchmark. Your figures depend entirely on your product and market.

GA4 builds this table for you in Explore. Here’s where the cohort exploration lives:

Our guide to cohort analysis in Google Analytics walks through every setting.

Step 6: read the table in two directions

This is the step most teams skip, and it’s exactly where the insight sits.

Here’s what each direction answers:

READING A RETENTION TABLE Two directions, two questions M0 M1 M2 M3 January 100% 70% 55% 48% February March Across a row: where does one cohort fall away? Down a column: are newer cohorts doing better? January row uses the example figures from step 5; other rows are left empty on purpose.
A retention table read across shows where a cohort leaks; read down, it shows whether newer cohorts improve.

Read vertically (per column)

Compare the same period across cohorts.

Does the March cohort hold on to more customers after three months than the January cohort? Then retention is improving over time. That’s often a sign onboarding or the product got better.

Read horizontally (per row)

Follow one cohort through time and find the biggest drop.

  • Most loss between month 0 and month 1: your problem sits in onboarding.
  • Loss only later on: the problem lies in ongoing value or engagement.

As Amplitude’s guide to reading retention charts puts it, “the steepest single drop marks where that first wave of churn lands”.

Our explainer on how to read a retention curve shows the same pattern as a line.

The combination of both directions tells you not only whether there’s a problem, but where in the customer journey it sits.

A cohort analysis example that changes your conclusion

Say your total number of active accounts rises every month. Management is happy.

Then you build a cohort analysis. Every new cohort holds on to fewer customers after three months than the one before.

What the total was hiding

The total curve only rises because you keep bringing in more new accounts.

You aren’t retaining them better.

That’s exactly the distortion a headline number hides and a cohort analysis exposes. Our guide to growth accounting splits that total into new, retained and lost accounts.

A different growth decision

Without a cohort analysis, you’d keep pushing harder on acquisition.

With one, you know you first have to close the back door. Only then does more inflow make sense.

That’s a fundamentally different decision. If the leak sits in month 1, start with B2B customer onboarding.

Common mistakes

Watch for these four mistakes:

  • Cohorts that are too small: the percentages are erratic. Use broader periods or wait for volume.
  • Measuring the wrong event: a login without value paints an overly rosy picture.
  • Reading in one direction only: that leaves half the insight on the table.
  • Attaching no decision: a cohort analysis stuck in a dashboard is wasted effort.

From cohort to growth decision

A cohort analysis isn’t a goal in itself. It’s a diagnostic instrument inside a larger system.

Retention touches every team

Improving retention touches onboarding, product, content and the way you qualify leads.

Cohort data tells you where it leaks; the fix sits in the execution that follows. Lost customers show up as churn, and our piece on churn prediction shows how to see it coming.

One growth engine, not loose tactics

That’s why cohort analysis works best inside an approach where acquisition, conversion and retention are steered as one whole.

That’s the core of growth marketing as a system that connects loose tactics into one growth engine. You don’t optimise a single channel, but the whole path from first contact to loyal customer.

Rule of thumb: steer only on inflow without cohorts, and you keep filling a leaking bucket.

Before the cohort: attract and qualify the right accounts with demand generation.

After the cohort: what net revenue retention adds once customers expand.

To put a value on a retained customer, try the customer lifetime value calculator.

Frequently asked questions

What is a cohort analysis in simple terms?

It groups customers by the moment they started, such as their signup month, and follows each group separately over time. That way you compare customers of the same age instead of mixing newcomers with long-standing accounts.

How many cohorts can GA4 show?

One GA4 cohort exploration shows at most 60 cohorts. You can set daily, weekly (Sunday to Saturday) or monthly (calendar month) granularity.

Should I use weekly or monthly cohorts?

Monthly cohorts suit most B2B companies with a normal inflow. Use weekly cohorts only when every week brings enough new accounts; with low volume, a quarter per cohort is safer.

What is the difference between standard, rolling and cumulative retention in GA4?

Standard counts users who return in that period only. Rolling counts users who returned in that period and every earlier one. Cumulative is a running total of everyone who returned up to that point.

Want a team to set this up for you?

Cohort analysis is powerful, but only once it sits in your growth management and leads to decisions.

As a growth marketing agency, Customer Impact builds that measurable growth engine for B2B companies in the Benelux. See what our approach to B2B growth marketing can do for you.

Ready to take retention seriously? Get in touch and we’ll find where the biggest win in your customer journey sits.

Free website scan

Enter your website and get an automatic scan within minutes, with concrete technical and SEO improvements. No sales pitch.

Where should we send your report?

We only use your details for your scan. No spam, unsubscribe anytime.