> For the complete documentation index, see [llms.txt](https://help.twinr.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.twinr.dev/twinr-in-built-analytics/retention.md).

# Retention

See how many people come back to your app, compare groups of new users, and win back people who are about to stop.

The **Retention** tab shows how many people come back to your app, and who is at risk of leaving.

## Key numbers

| Number               | What it means                                     |
| -------------------- | ------------------------------------------------- |
| **Day 1 retention**  | Share of new users who came back the next day     |
| **Day 7 retention**  | Share of new users who came back a week later     |
| **Day 30 retention** | Share of new users who came back a month later    |
| **Returning users**  | Share of active users this period who weren't new |

A new user is someone who opened your app for the first time in your range. **Day 7 retention** counts those who opened it again exactly 7 days after their first day. Only new users whose seventh day falls inside your range are counted. Day 1 and Day 30 work the same way.

Day 1, 7 and 30 retention need the **7 days**, **30 days**, **90 days** or **12 months** range. For **Today** they show no value.

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2Fgit-blob-a5a0d7c1b048149c6e5e8d05e34a4414b53d667e%2Fanalytics-retention-1.png?alt=media" alt="The Retention tab with the key numbers and the How many come back chart"><figcaption></figcaption></figure>

## How many come back

The chart shows the share of new users who opened the app again on day 1, day 7 and day 30 after their first visit. Day 0 is everyone, so it is always 100%.

The big number is **Day 7 retention**, with its change against the previous period.

## Cohorts

A cohort is a group of people who first opened your app in the same week or month. Choose **Weekly** or **Monthly** to switch.

Each row is one group, newest first, up to 12 groups:

* **First week** or **First month** is when the group first opened your app.
* **New users** is how many people are in the group.
* **Week 0** is the week they started, **Week 1** the week after, and so on. Each cell is the share of the group who used your app in that week. Monthly groups show **Month 0**, **Month 1** and so on.

Darker means more of them came back.

The groups are always your latest ones. They don't change with the date range.

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2Fgit-blob-4f2d99e78cb87f0a236ff8761ec41c1b776bb81a%2Fanalytics-retention-2.png?alt=media" alt="Weekly groups, New and returning users, and the At risk card"><figcaption></figcaption></figure>

## New and returning users

**New and returning users** splits your active users into **New** and **Returning**, for each day, week or month of your range. The line above the chart adds up the bars: for example, "1,240 returning · 380 new".

## Not available for custom ranges

With a **Custom** range, the four key numbers, the **How many come back** chart and the cohorts show no value. An info icon next to them says **Not available for custom ranges**.

These numbers are calculated for the preset ranges only. **New and returning users** and **At risk** work with any range.

## At risk

**At risk** counts people who used your app in the last 30 days but haven't opened it in the last 7 or 14 days. Choose **7 days** or **14 days** next to **Inactive for**. It opens on 14 days.

This count is always measured back from today. It doesn't change with the date range.

### Send a win-back push

**Send a win-back push** opens Engage with a new one-time push, aimed at the people in the count. The audience is a segment named after the window, for example "At risk: last seen 14–30 days ago". If your app doesn't have that segment yet, it is created for you.

See [One-Time Campaigns](https://help.twinr.dev/push/one-time-campaigns.md) to write and send the push, and [Segmentation](https://help.twinr.dev/user-segments/overview.md) for how segments work.
