Analytics tracking plan for a metroidvania game
A metroidvania plan follows exploration: area_entered, ability_acquired with play time, boss_fight_end with the result, player_death, item_found with map completion and game_complete. On Steam, 71.3% of Hollow Knight players defeated the False Knight and 24.6% reached The Hollow Knight ending (read 24 November 2026). Time between abilities shows where players get lost.
What is the core loop of a metroidvania game?
- Explore a connected map.
- Find a locked path you cannot pass yet.
- Beat a boss or find an ability.
- Backtrack to the locked path and open new areas.
The risk of the genre is getting lost, not getting killed. A player who has not found a new area or ability in an hour may be stuck, and that is the moment to measure. So area_entered fires only on a first visit, and ability_acquired carries total play time, which turns the order of abilities into a timeline.
Which events should a metroidvania game send?
Send these 7 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 |
|---|---|---|---|
area_entered | The player enters an area for the first time. | area (string, e.g. greenpath)play_time_s (number, e.g. 3400)percent_complete (number, e.g. 12) | How far and in which order do players explore? |
ability_acquired | The player gains a movement or key ability. | ability (string, e.g. dash)area (string, e.g. greenpath)play_time_s (number, e.g. 4100) | How long does each ability take to find? |
boss_fight_end | A boss fight ends by a win or a death. | boss (string, e.g. hornet_1)result (string, e.g. win)attempt (number, e.g. 3)duration_s (number, e.g. 140) | Which boss is a wall? |
player_death | The player dies outside a boss fight. | area (string, e.g. fungal_wastes)cause (string, e.g. enemy)currency_lost (number, e.g. 420) | Where do players die, and what do they lose? |
item_found | The player finds an upgrade or collectible. | item (string, e.g. wayward_compass)area (string, e.g. crossroads)percent_complete (number, e.g. 18) | Do players explore off the main path? |
fast_travel_used | The player fast travels. | from (string, e.g. dirtmouth)to (string, e.g. city)play_time_s (number, e.g. 21000) | Is backtracking a chore? |
game_complete | The player reaches an ending. | ending (string, e.g. a)percent_complete (number, e.g. 74)play_time_s (number, e.g. 108000) | How many finish, and how much of the map? |
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 metroidvania game?
| KPI | How to compute it | Why it matters |
|---|---|---|
| Hours to each ability | Median play_time_s of ability_acquired, by ability | The skeleton of the game's pacing. |
| Stuck players | Players with sessions but no new area_entered or ability_acquired for 60 minutes of play | Finds where players are lost. The 60 minutes is our rule of thumb. |
| Boss attempts to win | Median attempt of boss_fight_end with result win, by boss | Separates hard bosses from walls. |
| Completion and map share | game_complete with its percent_complete | Shows how much players see before the end. |
| Last area before quitting | The last area_entered of players with no session in 14 days | The area that ends the game for them. |
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 metroidvania dashboard show?
| Chart | Kind | Built from | Question |
|---|---|---|---|
| Hours to each ability | SQL table | ability_acquired by ability, median play time | Is one ability too hidden? |
| Boss attempts | SQL table | boss_fight_end by boss and result | Which boss stops players? |
| First hours funnel | Funnel | game_open, area_entered, ability_acquired, boss_fight_end, game_complete | How many new players find an ability, fight a boss and finish? |
| Deaths by area | SQL bar | player_death by area | Which area punishes most? |
| Return to explore | Retention | Entry area_entered, return session_start | Do explorers come back? |
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: Hours to each ability. How many players have each ability, and after how many hours of play?
SELECT JSONExtractString(properties,'ability') AS ability, uniqExact(anonymous_id) AS players, round(median(JSONExtractFloat(properties,'play_time_s')) / 3600, 2) AS median_hours FROM raw_events WHERE event = 'ability_acquired' 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 ability ORDER BY median_hours LIMIT 50What do public numbers show for metroidvania games?
Hollow Knight shows the slow fall of a large metroidvania: most players beat the first boss, and the share falls boss by boss as the map opens. About one in four players reached the first ending.
These are shares of players over all the years since release.
| Game | Achievement | What it needs | Share of players |
|---|---|---|---|
| Hollow Knight | Falsehood | Defeat the False Knight | 71.3% |
| Hollow Knight | Test of Resolve | Defeat Hornet in Greenpath | 62.7% |
| Hollow Knight | Illumination | Defeat the Soul Master | 47.0% |
| Hollow Knight | Awakening | Collect 1800 Essence and awaken the Dream Nail | 30.3% |
| Hollow Knight | The Hollow Knight | Defeat the Hollow Knight and become the Vessel | 24.6% |
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.
675 games released on Steam from 2022 to 2025 have Metroidvania in their top 7 tags. 35.3% of them had 50 or more reviews on 18 November 2026, and the median game had 18. The median price was $9.99. See the Metroidvania benchmarks.
How do I send the metroidvania 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 metroidvania events. Call each one where the moment happens in your game code.
public static class GenreEvents
{
public static void Examples()
{
Manalens.Track("area_entered", new Dictionary<string, object> { ["area"] = "greenpath", ["play_time_s"] = 3400, ["percent_complete"] = 12 });
Manalens.Track("ability_acquired", new Dictionary<string, object> { ["ability"] = "dash", ["area"] = "greenpath", ["play_time_s"] = 4100 });
Manalens.Track("boss_fight_end", new Dictionary<string, object> { ["boss"] = "hornet_1", ["result"] = "win", ["attempt"] = 3, ["duration_s"] = 140 });
Manalens.Track("player_death", new Dictionary<string, object> { ["area"] = "fungal_wastes", ["cause"] = "enemy", ["currency_lost"] = 420 });
Manalens.Track("item_found", new Dictionary<string, object> { ["item"] = "wayward_compass", ["area"] = "crossroads", ["percent_complete"] = 18 });
Manalens.Track("fast_travel_used", new Dictionary<string, object> { ["from"] = "dirtmouth", ["to"] = "city", ["play_time_s"] = 21000 });
Manalens.Track("game_complete", new Dictionary<string, object> { ["ending"] = "a", ["percent_complete"] = 74, ["play_time_s"] = 108000 });
}
}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 metroidvania events. Call each one where the moment happens in your game code.
func _track_examples() -> void:
Manalens.track("area_entered", {"area": "greenpath", "play_time_s": 3400, "percent_complete": 12})
Manalens.track("ability_acquired", {"ability": "dash", "area": "greenpath", "play_time_s": 4100})
Manalens.track("boss_fight_end", {"boss": "hornet_1", "result": "win", "attempt": 3, "duration_s": 140})
Manalens.track("player_death", {"area": "fungal_wastes", "cause": "enemy", "currency_lost": 420})
Manalens.track("item_found", {"item": "wayward_compass", "area": "crossroads", "percent_complete": 18})
Manalens.track("fast_travel_used", {"from": "dirtmouth", "to": "city", "play_time_s": 21000})
Manalens.track("game_complete", {"ending": "a", "percent_complete": 74, "play_time_s": 108000})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 metroidvania events:
analytics.track('area_entered', { area: 'greenpath', play_time_s: 3400, percent_complete: 12 });
analytics.track('ability_acquired', { ability: 'dash', area: 'greenpath', play_time_s: 4100 });
analytics.track('boss_fight_end', { boss: 'hornet_1', result: 'win', attempt: 3, duration_s: 140 });
analytics.track('player_death', { area: 'fungal_wastes', cause: 'enemy', currency_lost: 420 });
analytics.track('item_found', { item: 'wayward_compass', area: 'crossroads', percent_complete: 18 });
analytics.track('fast_travel_used', { from: 'dirtmouth', to: 'city', play_time_s: 21000 });
analytics.track('game_complete', { ending: 'a', percent_complete: 74, play_time_s: 108000 });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": "ability_acquired",
"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": {"ability":"dash","area":"greenpath","play_time_s":4100}
}]
}'
# {"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 7 metroidvania events, in the format of the Game tracking plan generator.
What should I leave out?
- Every room entered. First visits to areas are enough, with percent_complete.
- Map opens. They are frequent and say little without the room the player was in.
- Deaths in boss fights twice. boss_fight_end covers them; player_death is for the rest.
Frequently asked questions
How is a metroidvania plan different from a platformer plan?
A platformer measures levels and deaths per checkpoint. A metroidvania has one connected map, so it measures first visits to areas, the time to each ability and boss attempts. The main risk is getting lost, not getting killed, so play time between new areas matters more than deaths.
How do I find where players get lost?
Look for players who keep playing but find no new area or ability for a long stretch. With area_entered and ability_acquired carrying play_time_s, find gaps of 60 minutes or more of play, our rule of thumb. The area where most gaps start needs a clearer hint or path.
How many Hollow Knight players reached an ending?
On Steam, read on 24 November 2026, 24.6% of Hollow Knight players had The Hollow Knight achievement for the first ending, while 71.3% had beaten the False Knight. The Soul Master, a mid-game boss, stood at 47.0%. These are shares of players since release.
Should I track fast travel?
Yes, if your game has it. fast_travel_used with the start and the end shows the routes players repeat. A route used again and again may point to a shortcut you could open earlier, and players who never fast travel may not have found the system.
Sources
- Steam Community: Hollow Knight 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.