Analytics tracking plan for a roguelike game
A roguelike plan tracks runs, not levels: run_start with a run_id and seed, floor_reached, run_end with the result and cause, and unlock_earned. On Steam, 81.8% of Hades players cleared Tartarus but 46.7% cleared a full escape (Steam, read 24 November 2026). Your run_end data shows where that gap sits.
What is the core loop of a roguelike game?
- Pick a character and start a run with a seed.
- Fight through floors, picking items and upgrades.
- Die, quit or win; the run ends.
- Spend meta currency on unlocks, then start the next run.
The run is the unit of play. A session can hold five runs or half of one, so every event in the loop carries run_id and run_number. The seed goes in as a string, because seeds can be larger than the largest exact number in JSON, and seed_type says whether it was random, daily or typed in.
Which events should a roguelike game send?
Send these 5 events from your game code, on top of the 6 core events every plan shares. Each event fires at one clear moment, and each answers one question.
| Event | When | Properties | Question it answers |
|---|---|---|---|
run_start | A new run starts, after the character and seed are set. | run_id (string, e.g. r_8f2c)run_number (number, e.g. 12)character (string, e.g. knight)difficulty (number, e.g. 1)seed (string, e.g. 83920451)seed_type (string, e.g. random) | Does the loop pull players into another attempt? |
floor_reached | The player enters a new floor or biome in a run. | run_id (string, e.g. r_8f2c)run_number (number, e.g. 12)floor (number, e.g. 3)elapsed_s (number, e.g. 410) | How deep do runs get, and how fast? |
run_end | The run ends by a win, a death or a quit. | run_id (string, e.g. r_8f2c)run_number (number, e.g. 12)result (string, e.g. death)floor (number, e.g. 4)cause (string, e.g. boss_2)duration_s (number, e.g. 1500)seed (string, e.g. 83920451) | Where and why do runs end? |
unlock_earned | The player unlocks a character, item or mode. | unlock (string, e.g. fire_sword)run_number (number, e.g. 12) | Does meta progress arrive at a good pace? |
resource | The player earns (source) or spends (sink) meta currency between runs. | flow (string, e.g. sink)currency (string, e.g. bones)amount (number, e.g. 120)item (string, e.g. mirror_shield) | Is the meta economy too slow or too fast? |
The core events: game_open, session_start, session_end, tutorial_step, error, game_updated. The Godot, Unity, and Unreal SDKs send game_open, session_start, session_end and errors for you; the rest you send yourself. Property values are strings, numbers, booleans or null, with at most 50 properties per event. Keep names in snake_case and values in properties, never in event names.
Which KPIs matter for a roguelike game?
| KPI | How to compute it | Why it matters |
|---|---|---|
| Runs per player in the first hour | run_start events per player in the hour after the first game_open | The hook of the genre: a player who starts a third run has seen the loop. |
| Median run length | Median duration_s of run_end, by result | Shows whether a run fits the session players want. |
| Death floor distribution | run_end by floor and cause | Finds the floor or boss that ends most runs. |
| First win run number | run_number of each player's first run_end with result win | Shows how many attempts a first win takes. |
| Unlock pace | Share of players with each unlock, by run_number | Shows whether new things arrive before players give up. |
| Daily seed share | run_start with seed_type daily, divided by all run_start | Shows whether a daily challenge brings players back. |
From the core events alone, the Game KPIs dashboard template shows D1, D7 and D30 retention, DAU, MAU and session length, and the Game health template shows crash-free sessions, with no setup.
What should the roguelike dashboard show?
| Chart | Kind | Built from | Question |
|---|---|---|---|
| Where runs end | SQL table | run_end by floor, with deaths, wins and quits | Which floor ends most runs? |
| Run funnel | Funnel | game_open, run_start, floor_reached, run_end | Do new players start and finish a first run? |
| Run length by result | SQL bar | Median duration_s of run_end, split by result | Are deaths quick or slow? |
| Return after a run | Retention | Entry run_end, return run_start | Do players come back after a run ends? |
| Meta currency sources and sinks | SQL bar | resource by flow and currency | Do players spend what they earn? |
A funnel has two to five steps of event names, and a retention chart takes an entry event and a return event. For the first chart, add a SQL chart with this query. It follows the dashboard date range, leaves out bots and server events, and counts each event once.
SQL chart: Where runs end. Which floor ends most runs, and how?
SELECT JSONExtractInt(properties,'floor') AS floor, uniqExactIf(message_id, JSONExtractString(properties,'result') = 'death') AS deaths, uniqExactIf(message_id, JSONExtractString(properties,'result') = 'win') AS wins, uniqExactIf(message_id, JSONExtractString(properties,'result') = 'quit') AS quits, uniqExact(anonymous_id) AS players FROM raw_events WHERE event = 'run_end' AND type = 'track' AND JSONHas(context,'app') AND channel != 'server' AND anonymous_id != '' AND received_at >= toDateTime({{date_from}}) AND received_at < toDateTime({{date_to}}) + INTERVAL 1 DAY AND JSONExtractString(context,'device') != 'bot' GROUP BY floor ORDER BY floor LIMIT 100What do public numbers show for roguelike games?
Hades shows how quickly the share of players falls with depth. Each biome is one clear, and the full escape needs all of them in one run. Use the same shape for your floor_reached data: the share of players who ever reach each floor.
These are shares of players over all the years since release, not shares of runs.
| Game | Achievement | What it needs | Share of players |
|---|---|---|---|
| Hades | Escaped Tartarus | Clear Tartarus | 81.8% |
| Hades | Escaped Asphodel | Clear Asphodel | 72.2% |
| Hades | Escaped Elysium | Clear Elysium | 58.8% |
| Hades | Is There No Escape? | Clear an escape attempt | 46.7% |
| Hades | The Family Secret | Complete the main quest in the story | 23.3% |
Steam shows, for each achievement, the share of the game's players who have it. The shares count every year since release, so they are a public outside view, not a target.
3,033 games released on Steam from 2022 to 2025 have Roguelike in their top 7 tags. 26.5% of them had 50 or more reviews on 18 November 2026, and the median game had 13. The median price was $4.99. See the Roguelike benchmarks.
2,961 games released on Steam from 2022 to 2025 have Roguelite in their top 7 tags. 30.5% of them had 50 or more reviews on 18 November 2026, and the median game had 16. The median price was $5.99. See the Roguelite benchmarks.
How do I send the roguelike events?
Use the Unity, Godot, or Unreal SDK in the game, the web SDK in a browser game, and the HTTP events endpoint for any other engine. All of them use the publishable key, which is safe to ship in a build. The SDKs are available on request during early access; the web SDK is public.
Unity (C#)
// Unity 2021.3 or later. Add the package with Window > Package Manager > Add package from tarball.
using System.Collections.Generic;
using UnityEngine;
using ManalensSdk;
public class AnalyticsBootstrap : MonoBehaviour
{
void Awake()
{
// Sends session_start and game_open. Editor runs send build "dev", so you can filter them out.
Manalens.Init(new ManalensOptions
{
PublishableKey = "YOUR_PUBLISHABLE_KEY",
Endpoint = "https://events.manalens.dev",
Build = Application.isEditor ? "dev" : "571",
Storefront = "steam",
});
}
}
// The roguelike events. Call each one where the moment happens in your game code.
public static class GenreEvents
{
public static void Examples()
{
Manalens.Track("run_start", new Dictionary<string, object> { ["run_id"] = "r_8f2c", ["run_number"] = 12, ["character"] = "knight", ["difficulty"] = 1, ["seed"] = "83920451", ["seed_type"] = "random" });
Manalens.Track("floor_reached", new Dictionary<string, object> { ["run_id"] = "r_8f2c", ["run_number"] = 12, ["floor"] = 3, ["elapsed_s"] = 410 });
Manalens.Track("run_end", new Dictionary<string, object> { ["run_id"] = "r_8f2c", ["run_number"] = 12, ["result"] = "death", ["floor"] = 4, ["cause"] = "boss_2", ["duration_s"] = 1500, ["seed"] = "83920451" });
Manalens.Track("unlock_earned", new Dictionary<string, object> { ["unlock"] = "fire_sword", ["run_number"] = 12 });
Manalens.Track("resource", new Dictionary<string, object> { ["flow"] = "sink", ["currency"] = "bones", ["amount"] = 120, ["item"] = "mirror_shield" });
}
}Godot 4 (GDScript)
# Godot 4. Copy addons/manalens into your project and enable the plugin.
func _ready() -> void:
# Sends session_start and game_open. Editor runs send build "dev", so you can filter them out.
Manalens.init({
"publishable_key": "YOUR_PUBLISHABLE_KEY",
"endpoint": "https://events.manalens.dev",
"app_version": "1.4.0",
"build": "dev" if OS.has_feature("editor") else "571",
"storefront": "steam",
})
# The roguelike events. Call each one where the moment happens in your game code.
func _track_examples() -> void:
Manalens.track("run_start", {"run_id": "r_8f2c", "run_number": 12, "character": "knight", "difficulty": 1, "seed": "83920451", "seed_type": "random"})
Manalens.track("floor_reached", {"run_id": "r_8f2c", "run_number": 12, "floor": 3, "elapsed_s": 410})
Manalens.track("run_end", {"run_id": "r_8f2c", "run_number": 12, "result": "death", "floor": 4, "cause": "boss_2", "duration_s": 1500, "seed": "83920451"})
Manalens.track("unlock_earned", {"unlock": "fire_sword", "run_number": 12})
Manalens.track("resource", {"flow": "sink", "currency": "bones", "amount": 120, "item": "mirror_shield"})Web or HTML5 (web SDK)
import { createAnalytics } from '@manalens/web';
// A browser game on your project domain or an allowed origin (*.itch.zone by default).
const analytics = createAnalytics({
publishableKey: 'YOUR_PUBLISHABLE_KEY',
endpoint: 'https://events.manalens.dev',
app: { platform: 'web', storefront: 'other', app_version: '1.4.0', build: '571', engine: 'other' },
});
// The web SDK does not send game_open, session_start or session_end for you.
// Send them as in the docs (Browser and Electron games), then the roguelike events:
analytics.track('run_start', { run_id: 'r_8f2c', run_number: 12, character: 'knight', difficulty: 1, seed: '83920451', seed_type: 'random' });
analytics.track('floor_reached', { run_id: 'r_8f2c', run_number: 12, floor: 3, elapsed_s: 410 });
analytics.track('run_end', { run_id: 'r_8f2c', run_number: 12, result: 'death', floor: 4, cause: 'boss_2', duration_s: 1500, seed: '83920451' });
analytics.track('unlock_earned', { unlock: 'fire_sword', run_number: 12 });
analytics.track('resource', { flow: 'sink', currency: 'bones', amount: 120, item: 'mirror_shield' });Any other engine (HTTP)
# Any other engine: POST app events with the publishable key.
# Make a new session_id at game start, after 30 minutes without events, and at 24 hours.
curl -sS https://events.manalens.dev/v0/events \
-H 'x-publishable-key: YOUR_PUBLISHABLE_KEY' \
-H 'Content-Type: application/json' \
-d '{
"events": [{
"type": "track",
"event": "run_end",
"channel": "app",
"version": "0.1.0",
"message_id": "6a0f8e9c-2c36-4c55-9a43-6a5d0f3c2b11",
"anonymous_id": "3f0c5c1e-8a8e-4c1b-9d7e-2b1f4e6a9c10",
"session_id": "1762689600000",
"original_timestamp": "2026-11-09T10:00:00.000Z",
"context": {
"app": { "platform": "windows", "storefront": "steam", "app_version": "1.4.0", "build": "571", "engine": "other" },
"locale": "en"
},
"properties": {"run_id":"r_8f2c","run_number":12,"result":"death","floor":4,"cause":"boss_2","duration_s":1500,"seed":"83920451"}
}]
}'
# {"accepted":1,"rejected":0,"errors":[]}Where can I download the plan?
Download the plan as a CSV with one row per property and six columns: event, property, type, example, when and sent_by. It has the 6 core events and the 5 roguelike events, in the format of the Game tracking plan generator.
What should I leave out?
- One event per item pickup. Put the item list in run_end only if you balance items, and keep it under 1,024 characters.
- Floor names in event names. Send floor_reached with a floor property, not floor_3_reached.
- Runs from your own test seeds. Editor and live data go to the same project, so set build to dev in the editor and filter it out.
Frequently asked questions
Why send a seed with every run?
With the seed on run_start and run_end, you can find the seeds where most runs end early and replay them yourself. Send it as a string, not a number, because seeds can be larger than the largest number JSON keeps exactly. Add seed_type to split random, daily and typed seeds.
Should a roguelike track sessions or runs?
Both, but report runs. The Godot, Unity, and Unreal SDKs send session_start and session_end for you, and those feed D1, D7 and D30 retention. Runs need your own run_start and run_end with a run_id, because one session can hold several runs or only part of one.
How do I measure meta progression?
Send unlock_earned with the unlock and the run_number, and resource events when players earn or spend meta currency. Then chart the share of players with each unlock by run number. A large drop in runs right before an unlock means the wait is too long.
What does Hades show about run depth?
On Steam, read on 24 November 2026, 81.8% of Hades players cleared Tartarus, 58.8% cleared Elysium and 46.7% cleared a full escape. So about four in ten players who cleared the first biome had not yet cleared a full escape (our arithmetic). Your floor_reached data shows the same curve.
Sources
- Steam Community: Hades global achievements (Valve, read 24 November 2026)
- Manalens documentation: App and game events, event conventions
- Manalens documentation: Unity SDK
- Manalens documentation: Godot SDK
- Manalens documentation: Web SDK
- Manalens documentation: Metrics (Game section)
- Manalens documentation: Dashboards
Last reviewed . Achievement shares change as more people play, so read them again on Steam before you quote them.