The update went out a week ago, and the dashboard shows daily players going up. Then the producer asks a simple question: of the players who started last Tuesday, how many are still playing? You can't answer it from that chart, because the daily count mixes new players with returning ones.
This explainer shows how to read a retention curve and the D1, D7 and D30 numbers. It walks through a dated example from Rawbbit's synthetic match-3 demo. Then it turns a drop in the curve into the first design question to check.
What a retention curve shows: one cohort, followed day by day
Player retention is the share of a group of new players that plays again on a later day. That group is called a cohort: all the players first seen on the same day or in the same week. Retention on day N is the share of that cohort that is active again on day N.
Think of a gym's January class of new members. A busy Monday at the gym tells you nothing about them. You take the January list a week later and check who showed up. A retention curve does the same for players, day after day.
Daily active players can't do this. That count adds up everyone who played today, old and new. A wave of new players lifts it even if most of last week's players have quit. Retention keeps the groups apart, so a quiet loss shows.
D1, D7 and D30: what each checkpoint tells a designer
Day 0 is the day a player is first seen. D1 is the next calendar day, D7 is seven days later and D30 is thirty days later. Days are UTC dates in Rawbbit, so D1 is the next UTC day unless your query converts time zones. Each checkpoint mostly reflects a different part of the game.
One cohort, counted again at each checkpoint.
D1 mostly reflects the first session: the tutorial and the first levels. D7 shows whether the early loop holds. By then a returning player has repeated the core loop and met the first difficulty steps. A big fall between D1 and D7 points at that loop rather than at onboarding.
D30 reflects the longer-term loop and live-ops: events, new content and goals that take weeks to reach.
A cohort from last week has no D30, because day 30 hasn't happened. Its D7 and D30 cells are immature: empty because of the calendar, not because nobody came back. Showing them as 0% makes every new cohort look like a collapse. Mark them as not available instead.
Classic vs rolling retention
Classic retention, also called exact-day retention, counts players active on exactly day N. Rolling retention counts players active on day N or any later day. A player who skips day 7 but plays on day 9 counts for rolling D7, not for classic D7. Rolling is always at least as high as classic, so always say which one a number uses.
Reading the shape: where it falls fastest and where it flattens
Read the whole curve, not just three points: where it falls fastest and where it flattens.
A steep drop between day 0 and D1 means many players did not come back the next day. That is a first-session question. Check rolling retention before you decide they are gone for good. A slow slide afterward means players came back a few times and drifted away, which points at the early loop or the difficulty ramp.
The point where the curve flattens shows the players who found a reason to stay. Raising that floor usually takes content or live-ops work, not first-session fixes.
Compare cohort against cohort. Put the cohorts from before an update next to those from after it. If the newer curve sits higher at D1 and keeps the gap, the change may have helped the first session; check what else changed. Use your own earlier cohorts, not another game's numbers: genre, audience and where players came from shape a curve as much as design does. In a small cohort, one or two returns move the share a lot. Treat it as a weak signal and group players by week instead of by day.
Example: cohort retention in Rawbbit's synthetic match-3 demo
Rawbbit is open-source game analytics infrastructure: the studio keeps its raw events and queries them with SQL, Metabase or an AI agent. Its demo project holds a synthetic match-3 dataset whose player journeys are scripted by its generator. The curve's shape was designed, not observed. Some demo players are simulated existing users, so early cohorts are not all new installs. Read it as practice, not as a benchmark. The numbers were pulled on November 8, 2026, the last day in the data.
The table shows classic retention for a selection of weekly cohorts. It leaves some weeks out, including two arrival waves (the weeks of Aug 31 and Oct 26) whose D1 sits below 0.5%.
| Cohort week (first seen) | Players | D1 | D7 | D30 |
|---|---|---|---|---|
| Sep 14, 2026 | 17,043 | 2.6% | 1.8% | 2.0% |
| Sep 21, 2026 | 13,216 | 3.0% | 1.6% | 1.9% |
| Sep 28, 2026 | 9,296 | 3.0% | 1.4% | 0.7% |
| Oct 12, 2026 | 5,818 | 2.4% | 1.3% | not available yet |
| Nov 2, 2026 | 110,716 | not complete yet | not available yet | not available yet |
The Oct 12 week reaches day 30 after the data ends. The newest week has no D7, and even its D1 is incomplete: players first seen on Sunday haven't had a next day yet. In the Sep 14 and Sep 21 weeks, D30 is a little higher than D7: a single-day count can bounce from one day to the next.
For the shape, take every player first seen at least 30 days before the last data day: 113,232 players. On day 1, 2.8% of them came back. Day 2 was 2.6% and day 3 was 1.8%. Days 4 to 7 bounce between 1.8% and 2.5%. From day 8 to day 26 the curve stays close to 2% each day. It then eases to 1.7% on days 27 to 29 and 1.5% on day 30.
Almost the whole drop happens before D1, and after that the curve is nearly flat. In a real game, that shape would make the first session the first thing to check.
The same players show why the definition matters. Classic D7 was 1.9%: 2,163 players active on exactly day 7. Rolling D7 was 25.7%: 29,135 players active on day 7 or later. Many demo players come back on scattered later days, and each exact day catches only a few of them. Compare classic and rolling before you blame the first session.
The events a game needs to measure retention
First, a stable ID per player. Every event carries user_pseudo_id, part of the Rawbbit event schema. It is an installation ID: the game supplies it, or the Unity SDK creates a persistent one when the game supplies none. The Collector, the service that receives events, never creates one. If a new ID appears on every launch, each session looks like a new player and D1 falls to almost nothing.
Second, a first-play signal: a player's first event, for example app_opened or a session_started event your game sends, marks day 0. Third, any activity event on later days, since retention only asks whether the player showed up.
A cohort uses the first day the data saw an ID: an observed first-seen date, not a verified install. A player on a phone and a tablet counts as two players. Rawbbit's JavaScript and Unity SDKs send events only after the player consents, and the game makes that decision, so cohorts built from them include only players who agreed.
If these events are missing, start with which events to send first, then plan the events your game sends. The Game Event Tracking plugin, which has passed the official review for Codex and for Claude, can help a developer add them: see how to add tracking with Codex or add tracking with Claude Code.
From a drop to a design question: tutorial and early levels
A weak D1 leads to one question first: what happens in the first session? The guide on how to find where players quit shows where new players stop inside it: tutorial steps, first levels, first failure.
The demo sends tutorial events, so D1 can be split by tutorial outcome. Of the players who started the tutorial, 18,289 abandoned it and 0.4% of them (71 players) came back on day 1. Another 7,790 completed it, and 0.5% of them (40 players) came back. The split covers every cohort, including the newest week and the low-D1 arrival waves, so don't compare it with the 2.8% above. Compare the two groups only with each other.
The groups barely differ, and with 71 and 40 returning players the signal is weak. It is a correlation, not a cause. In a real game, it would point past the tutorial to the levels right after it. The split tells you what to check next, not what to change.
A curve shows when players leave, not why. The why comes from the events around the drop, from playtests and from the designer who knows what that level asks of a new player.
Prompts to ask your analytics agent about retention
Rawbbit's analytics MCP is a connector that lets an AI agent query your Rawbbit data. It is a separate read-only server that your studio runs or that comes with a quoted setup. A connected agent can discover your events and query your data, including ordered funnels. For retention, ask it to write the query and show you the SQL.
An environment keeps test data apart from live (prod) data. Name the app_id and the environment in every prompt instead of relying on a default, and replace com.studio.mygame with your own app_id. The demo rows are in environment test, so a demo prompt names test. To set it up, connect Rawbbit MCP to Codex. For the wider workflow, see AI agent for game analytics.
Start here to get the weekly cohort table for your game.
Query app_id com.studio.mygame in environment prod.
Group players into weekly cohorts by the first day each user_pseudo_id appears.
For each cohort, show the number of players and classic D1, D7 and D30 retention.
Mark cells whose day has not happened yet as "not available", not 0.
Show me the SQL you ran.
You get one row per cohort week, plus the query behind it. Check the SQL once, then reuse it every week.
When two retention numbers disagree, check whether they use different definitions.
For app_id com.studio.mygame in environment prod, take players first seen
at least 30 days before the last data day. Compare classic D7 (active on
exactly day 7) with rolling D7 (active on day 7 or any later day).
Show player counts and shares for both, and show the SQL.
Two shares come back for the same players. In the demo they were 1.9% and 25.7%.
If D1 is weak and the game sends tutorial events, split it by tutorial outcome.
Using app_id com.studio.mygame in environment prod: among players who
started the tutorial, group them as completed, abandoned or started only.
For each group, show the number of players and classic D1 retention.
Treat the result as a correlation, not a cause. Show the SQL.
You get one row per outcome, which tells you what to check next inside the session.
Where to look next with Rawbbit
The open-source stack has no ready-made retention metric or dashboard. The answer comes from a query like the ones above, or from a Metabase view your team builds or adapts. The guide on how to build a game-design dashboard in Metabase shows how.
Because the raw events stay with your studio, the definition stays yours too. You can switch from classic to rolling, or from daily to weekly cohorts, without asking a vendor.
You can self-host Rawbbit for free from GitHub. If you'd rather not run it yourself, ask for a quoted setup: a managed setup we price for your studio, including Metabase deployment and basic analytics support. To see how events get from the game to a query, read how Rawbbit works.
FAQ
What is a good D1 retention for a mobile game?
It depends on genre, audience and where the players came from. Compare each new cohort with your own earlier cohorts, using the same definition.
What is the difference between classic and rolling retention?
Classic counts players active on exactly day N, while rolling counts players active on day N or any later day, so rolling is always at least as high.
Why are the D7 and D30 cells empty for my newest cohorts?
Those days have not happened yet, so the cells are immature, not zero: mark them as not available.
Do I need user accounts to measure player retention, or is an installation ID enough?
An installation ID that stays the same across sessions and comes with every event is enough. Retention counts players per ID, so a second device or a new ID after a reinstall shows up as a new player.
Can a retention curve tell me why players leave?
No. It shows when players stop coming back. The why comes from the events in the session, playtests and design knowledge.
Does Rawbbit show retention charts out of the box?
No, the open-source stack has no ready-made retention metric or dashboard. Your team builds a retention query or a Metabase view, or asks an agent connected to the analytics MCP to write the SQL. A quoted setup includes Metabase deployment and basic analytics support.