Analytics tracking plan for a puzzle game
A puzzle plan measures how players solve: level_start, level_complete with moves, undos and time, level_restart, hint_used, level_skip and world_complete. On Steam, 53.3% of Baba Is You players completed the lake and 8.4% beat the game (read 24 November 2026). Solve time and hints per level show which puzzle stops them.
What is the core loop of a puzzle game?
- Open a puzzle.
- Try moves, undo and restart.
- Ask for a hint, skip, or find the idea.
- Solve it and unlock the next puzzles.
A puzzle has no fail state in most games: players stare, undo and restart until they get it or leave. So the useful numbers are time to solve, restarts, undos and hints, and the level a player was on when they stopped. Count undos in level_complete rather than sending one event per undo.
Which events should a puzzle game send?
Send these 6 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 |
|---|---|---|---|
level_start | The player opens a puzzle. | level (number, e.g. 14)attempt (number, e.g. 1)world (string, e.g. lake) | Which puzzles do players try? |
level_complete | The player solves the puzzle. | level (number, e.g. 14)attempt (number, e.g. 1)score (number, e.g. 0)moves (number, e.g. 34)undos (number, e.g. 12)time_s (number, e.g. 210) | How long and how many moves does a puzzle take? |
level_restart | The player restarts the puzzle. | level (number, e.g. 14)moves (number, e.g. 18)time_s (number, e.g. 95) | Where do players try again and again? |
hint_used | The player asks for a hint. | level (number, e.g. 14)hints_used (number, e.g. 1)time_s (number, e.g. 300) | Which puzzle needs help? |
level_skip | The player skips the puzzle, where the game allows it. | level (number, e.g. 14)time_s (number, e.g. 600) | Which puzzle do players leave unsolved? |
world_complete | The player completes a world or set of puzzles. | world (string, e.g. lake)levels_solved (number, e.g. 12)play_time_s (number, e.g. 7200) | How far do players get in 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 puzzle game?
| KPI | How to compute it | Why it matters |
|---|---|---|
| Median solve time | Median time_s of level_complete, per level | The difficulty curve of the game. |
| Solve rate | Players with level_complete, divided by players with level_start, per level | Finds the puzzle players leave. |
| Hints per player | hint_used per player who started the level | Shows which idea is not clear. |
| Restarts per solve | level_restart, divided by level_complete, per level | Shows trial and error, which can be fine or a sign of a hidden rule. |
| Stop level | The last level_start of players with no session in 14 days | The puzzle that ended 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 puzzle dashboard show?
| Chart | Kind | Built from | Question |
|---|---|---|---|
| Puzzle table | SQL table | level_start, level_complete and hint_used, by level | Which puzzle is too hard? |
| First puzzles funnel | Funnel | game_open, level_start, level_complete, world_complete | Do new players solve the first world? |
| Solve time by level | SQL bar | Median time_s of level_complete, by level | Is the curve smooth? |
| Hints and skips | SQL bar | hint_used and level_skip, by level | Where do players need help? |
| Return to puzzles | Retention | Entry level_complete, return session_start | Do solvers 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: Puzzle table. For each puzzle: who started, who solved, hints and median solve time.
SELECT JSONExtractInt(properties,'level') AS level, uniqExactIf(anonymous_id, event = 'level_start') AS players_started, uniqExactIf(anonymous_id, event = 'level_complete') AS players_solved, uniqExactIf(message_id, event = 'hint_used') AS hints, round(medianIf(JSONExtractFloat(properties,'time_s'), event = 'level_complete')) AS median_solve_s FROM raw_events WHERE event IN ('level_start', 'level_complete', 'hint_used') 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 level ORDER BY level LIMIT 200What do public numbers show for puzzle games?
Baba Is You shows how steep a hard puzzle game can be: half its players completed the first area, about one in twelve beat the game (our arithmetic), and the extra areas after the ending are rarer still.
These are shares of players over all the years since release.
| Game | Achievement | What it needs | Share of players |
|---|---|---|---|
| Baba Is You | Water Is Sink | Complete the lake | 53.3% |
| Baba Is You | Cog Is Push | Complete the solitary isle | 26.6% |
| Baba Is You | Box Has Key | Complete the ruins | 20.3% |
| Baba Is You | Baba Is End | Beat the game | 8.4% |
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.
9,509 games released on Steam from 2022 to 2025 have Puzzle in their top 7 tags. 19.2% of them had 50 or more reviews on 18 November 2026, and the median game had 0. The median price was $4.99. See the Puzzle benchmarks.
1,906 games released on Steam from 2022 to 2025 have Puzzle Platformer in their top 7 tags. 15.1% of them had 50 or more reviews on 18 November 2026, and the median game had 0. The median price was $4.99. See the Puzzle Platformer benchmarks.
How do I send the puzzle 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 puzzle events. Call each one where the moment happens in your game code.
public static class GenreEvents
{
public static void Examples()
{
Manalens.Track("level_start", new Dictionary<string, object> { ["level"] = 14, ["attempt"] = 1, ["world"] = "lake" });
Manalens.Track("level_complete", new Dictionary<string, object> { ["level"] = 14, ["attempt"] = 1, ["score"] = 0, ["moves"] = 34, ["undos"] = 12, ["time_s"] = 210 });
Manalens.Track("level_restart", new Dictionary<string, object> { ["level"] = 14, ["moves"] = 18, ["time_s"] = 95 });
Manalens.Track("hint_used", new Dictionary<string, object> { ["level"] = 14, ["hints_used"] = 1, ["time_s"] = 300 });
Manalens.Track("level_skip", new Dictionary<string, object> { ["level"] = 14, ["time_s"] = 600 });
Manalens.Track("world_complete", new Dictionary<string, object> { ["world"] = "lake", ["levels_solved"] = 12, ["play_time_s"] = 7200 });
}
}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 puzzle events. Call each one where the moment happens in your game code.
func _track_examples() -> void:
Manalens.track("level_start", {"level": 14, "attempt": 1, "world": "lake"})
Manalens.track("level_complete", {"level": 14, "attempt": 1, "score": 0, "moves": 34, "undos": 12, "time_s": 210})
Manalens.track("level_restart", {"level": 14, "moves": 18, "time_s": 95})
Manalens.track("hint_used", {"level": 14, "hints_used": 1, "time_s": 300})
Manalens.track("level_skip", {"level": 14, "time_s": 600})
Manalens.track("world_complete", {"world": "lake", "levels_solved": 12, "play_time_s": 7200})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 puzzle events:
analytics.track('level_start', { level: 14, attempt: 1, world: 'lake' });
analytics.track('level_complete', { level: 14, attempt: 1, score: 0, moves: 34, undos: 12, time_s: 210 });
analytics.track('level_restart', { level: 14, moves: 18, time_s: 95 });
analytics.track('hint_used', { level: 14, hints_used: 1, time_s: 300 });
analytics.track('level_skip', { level: 14, time_s: 600 });
analytics.track('world_complete', { world: 'lake', levels_solved: 12, play_time_s: 7200 });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": "level_complete",
"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": {"level":14,"attempt":1,"score":0,"moves":34,"undos":12,"time_s":210}
}]
}'
# {"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 6 puzzle events, in the format of the Game tracking plan generator.
What should I leave out?
- One event per move or undo. Count them in level_complete and level_restart.
- The full move list. If you need replays, store them in your own save files, not in events.
- Levels as names only. Send a number level, so you can sort and filter by it, and a world name beside it.
Frequently asked questions
What is the best difficulty metric for a puzzle game?
Median solve time per level, read next to the solve rate. A long solve time with a high solve rate is a satisfying hard puzzle. A long time with a low solve rate is a wall. Hints per player tell you whether the missing idea is one that a hint can give.
Should I send an event for every undo?
No. Players can undo hundreds of times in one puzzle. Count undos and moves in level_complete and level_restart instead. That keeps the event volume low and still shows which puzzles rely on trial and error. Restarts are worth their own event, because each one marks a new approach.
How many Baba Is You players beat the game?
On Steam, read on 24 November 2026, 8.4% of Baba Is You players had Baba Is End for beating the game, and 53.3% had completed the lake, the first area. So about one in six players who finished the lake went on to the ending (our arithmetic).
How do I find the puzzle where players quit?
Take the players with no session in the last 14 days and find their last level_start. The level with the most of them, compared with how many players started it, is your stop level. Check its hints and solve time, and test a hint or an easier step before it.
Sources
- Steam Community: Baba Is You 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.