---
title: Cohort Analysis
slug: ikea-summer-2025-hol/cohort-analysis
docTags: 
createdAt: 2024-01-10T09:30:25.366Z
---

# Objective

Understand downstream behaviour after an event of interest using the Cohort visualisation.

# Context

## What is Cohort Analysis?

A cohort is a group of people sharing common characteristics over a specified period. Cohort Analysis is useful, for example, when you want to learn how a cohort engages with a brand. You can easily spot changes in trends, then respond accordingly.

Examples of what you can do with Cohort Analysis:

- Launch campaigns designed to spur a desired action.
- Shift marketing budget at exactly the right time in the customer lifecycle.
- Recognise when to end a trial or an offer, in order to maximise value.
- Gain ideas for A/B testing in areas such as pricing, upgrade path, and so on.

# Creating a Cohort visualisation

In this lab, we will create a Cohort visualisation that will allow us to see the **time between a customer being exposed to an Offer and them purchased a product**. This will allow us to optimise our future marketing activity to send offers at the right time, or to know when best to end our campaigns (diminishing returns).

- Create a new panel below the last panel we just worked on
- title it `Cohort Analysis`;
- ensure your date range is **Last full 2 months**;&#x20;
- select the **Cohort table** visualisation.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/sw7sQwh7vjHPUfWIcV9ES_image.png)

The Cohort table configuration should look like this:

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/2YmJ-3lL1TUv17dUpTPsF_image.png)

- The **Inclusion Criteria** allows you to set a metric as Day 0. Anyone that has this event will fall into Day 0. Filters can be applied to be very specific about the event criteria.
- The **Return Criteria** allows you to set a metric used to measure the performance or success of a cohort over time. Anyone that met the inclusion criteria and then meets the return criteria will be measured.

Let's say we want to measure people that are exposed to an offer and then understand if they purchased a product in the following days. In that case, the **Inclusion** Criteria will be the **Offer Presented** metric, and the **Return** Criteria will be the **Orders** metric.

1. Search in the **Components Panel** for the `Event: Offers Presented` metric, drag this metric to the **Inclusion Criteria Metrics** drop zone.
2. Search in the **Components Panel** for the `Orders` metric, drag this metric to the **Return Criteria Metrics** drop zone.&#x20;
3. Ensure the granularity is set to "Week" since we want to see the data over months.
4. Click **Build**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/pi5YsnxtsFJEFRocdgNKi_image.png)

The resulting Cohort Table shows the number of people who were exposed to an offer by month as well as the number of people that purchased a product in the + X Weeks after that offer was presented:

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/A4UA9BUUlTFo-keoiRVoF_image.png)

From the Cohort Table, we can see that most customers are making the purchase within one week of being exposed to an offer, very few book after 3-4 weeks.

:::hint{type="info"}
To dig deeper, you can also add Offer Type filters to the Inclusion and Return criteria to see if the behaviour varies depending on the campaign or offer content. &#x20;
:::

:::hint{type="success"}
Congratulations, this completes the exercise on Cohorts!
:::

