# Analytics tracking plan for a rhythm game

> A tracking plan for a rhythm game: song start and end, accuracy, combo, misses, fail point, calibration and difficulty, with KPIs, code and a CSV.

Canonical URL: https://manalens.dev/tracking-plans/rhythm

A rhythm plan tracks each song: song_start with the difficulty, song_end with the result, accuracy, max combo and where a failed song stopped, calibration_set with the offset and song_unlocked. On Steam, 79.4% of Thumper players completed level 1 and 6.1% completed all levels (read 24 November 2026). Fail points show the hard sections.

Last reviewed 24 Nov 2026 · Event names follow the [Manalens event conventions](https://docs.manalens.dev/sdks/app-events)

## What is the core loop of a rhythm game?

1. Pick a song and a difficulty.
2. Hit notes in time, building a combo.
3. Clear or fail the song with an accuracy grade.
4. Retry for a better grade, or unlock the next song.

Timing is everything, and a bad audio offset makes a good chart feel broken. So calibration gets its own event: players who calibrate, and the offset they choose, explain accuracy problems that no chart change can fix. A failed song also sends progress_pct, the point in the song where it failed.

## Which events should a rhythm 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.

*Rhythm events: when to send each one, its properties with example values, and the question it answers.*

| Event | When | Properties | Question it answers |
| --- | --- | --- | --- |
| `song_start` | A song starts. | `song` (string, e.g. world_1_1) `difficulty` (string, e.g. hard) `attempt` (number, e.g. 2) `input` (string, e.g. keyboard) | Which songs and difficulties do players pick? |
| `song_end` | A song ends by a clear, a fail or a quit. | `song` (string, e.g. world_1_1) `difficulty` (string, e.g. hard) `result` (string, e.g. failed) `accuracy` (number, e.g. 0.94) `max_combo` (number, e.g. 212) `misses` (number, e.g. 31) `progress_pct` (number, e.g. 64) | How well do players play, and where do they fail? |
| `calibration_set` | The player sets the audio or video offset. | `offset_ms` (number, e.g. -35) `method` (string, e.g. auto) `input` (string, e.g. keyboard) | Do timing problems come from the setup? |
| `song_unlocked` | A new song or world unlocks. | `song` (string, e.g. world_2_1) `source` (string, e.g. clear) | Do unlocks keep players going? |
| `difficulty_change` | The player changes the default difficulty. | `from` (string, e.g. normal) `to` (string, e.g. easy) `song` (string, e.g. world_1_3) | Is the default too hard or too easy? |

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 rhythm game?

*Rhythm KPIs, how to compute each one from the events, and why it matters.*

| KPI | How to compute it | Why it matters |
| --- | --- | --- |
| Clear rate by song | song_end with result cleared, divided by song_end, by song and difficulty | The difficulty curve of the setlist. |
| Fail point | Median progress_pct of failed song_end, by song | Finds the section that ends songs. |
| Median accuracy of clears | Median accuracy of cleared song_end | Shows whether clears are comfortable or barely made. |
| Calibration rate | Players with calibration_set, divided by players with song_start | A low rate with poor accuracy points to a timing setup problem. |
| Retries per clear | song_start, divided by cleared song_end, by song | Shows the songs that take many tries. |

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 rhythm dashboard show?

*A suggested dashboard for a rhythm game: each chart, its kind, what it is built from and the question it answers.*

| Chart | Kind | Built from | Question |
| --- | --- | --- | --- |
| Songs table | SQL table | song_end by song and difficulty: plays, clears, clear rate, accuracy | Which song is too hard? |
| Fail points | SQL bar | Failed song_end by song, median progress_pct | Which section ends songs? |
| First songs funnel | Funnel | game_open, calibration_set, song_start, song_end | Do new players calibrate and clear a song? |
| Offsets chosen | SQL bar | calibration_set by offset_ms bucket and input | Is the default offset wrong for some setups? |
| Return to play | Retention | Entry song_end, return song_start | Do players come back for more songs? |

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: Songs table. For each song and difficulty: plays, clears, clear rate and median accuracy of clears.

```
SELECT JSONExtractString(properties,'song') AS song, JSONExtractString(properties,'difficulty') AS difficulty, uniqExact(message_id) AS plays, uniqExactIf(message_id, JSONExtractString(properties,'result') = 'cleared') AS clears, if(plays = 0, 0, round(clears / plays, 3)) AS clear_rate, round(medianIf(JSONExtractFloat(properties,'accuracy'), JSONExtractString(properties,'result') = 'cleared'), 3) AS median_accuracy FROM raw_events WHERE event = 'song_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 song, difficulty ORDER BY plays DESC LIMIT 100
```

## What do public numbers show for rhythm games?

Thumper has one achievement per level, a public setlist funnel with a steep fall: each level keeps about two in three players of the one before, and few see the end. A Dance of Fire and Ice, a one-button rhythm game, shows how many players go back for a perfect grade.

These are shares of players over all the years since release.

*Share of players with each achievement on Steam, read on 24 November 2026.*

| Game | Achievement | What it needs | Share of players |
| --- | --- | --- | --- |
| Thumper | Level 1 | Complete Level 1 | 79.4% |
| Thumper | Level 2 | Complete Level 2 | 56.0% |
| Thumper | Level 3 | Complete Level 3 | 38.2% |
| Thumper | All Levels Complete | Complete all levels | 6.1% |
| A Dance of Fire and Ice | World 1 Complete | Finish World 1 | 76.7% |
| A Dance of Fire and Ice | World 1 Perfect | Get more than 100% accuracy on World 1 | 47.1% |

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.

732 games released on Steam from 2022 to 2025 have Rhythm in their top 7 tags. 22.8% of them had 50 or more reviews on 18 November 2026, and the median game had 11. The median price was $4.99. [See the Rhythm benchmarks](https://manalens.dev/steam/genres/rhythm).

## How do I send the rhythm 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 rhythm events. Call each one where the moment happens in your game code.
public static class GenreEvents
{
    public static void Examples()
    {
        Manalens.Track("song_start", new Dictionary<string, object> { ["song"] = "world_1_1", ["difficulty"] = "hard", ["attempt"] = 2, ["input"] = "keyboard" });
        Manalens.Track("song_end", new Dictionary<string, object> { ["song"] = "world_1_1", ["difficulty"] = "hard", ["result"] = "failed", ["accuracy"] = 0.94, ["max_combo"] = 212, ["misses"] = 31, ["progress_pct"] = 64 });
        Manalens.Track("calibration_set", new Dictionary<string, object> { ["offset_ms"] = -35, ["method"] = "auto", ["input"] = "keyboard" });
        Manalens.Track("song_unlocked", new Dictionary<string, object> { ["song"] = "world_2_1", ["source"] = "clear" });
        Manalens.Track("difficulty_change", new Dictionary<string, object> { ["from"] = "normal", ["to"] = "easy", ["song"] = "world_1_3" });
    }
}
```

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 rhythm events. Call each one where the moment happens in your game code.
func _track_examples() -> void:
    Manalens.track("song_start", {"song": "world_1_1", "difficulty": "hard", "attempt": 2, "input": "keyboard"})
    Manalens.track("song_end", {"song": "world_1_1", "difficulty": "hard", "result": "failed", "accuracy": 0.94, "max_combo": 212, "misses": 31, "progress_pct": 64})
    Manalens.track("calibration_set", {"offset_ms": -35, "method": "auto", "input": "keyboard"})
    Manalens.track("song_unlocked", {"song": "world_2_1", "source": "clear"})
    Manalens.track("difficulty_change", {"from": "normal", "to": "easy", "song": "world_1_3"})
```

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 rhythm events:
analytics.track('song_start', { song: 'world_1_1', difficulty: 'hard', attempt: 2, input: 'keyboard' });
analytics.track('song_end', { song: 'world_1_1', difficulty: 'hard', result: 'failed', accuracy: 0.94, max_combo: 212, misses: 31, progress_pct: 64 });
analytics.track('calibration_set', { offset_ms: -35, method: 'auto', input: 'keyboard' });
analytics.track('song_unlocked', { song: 'world_2_1', source: 'clear' });
analytics.track('difficulty_change', { from: 'normal', to: 'easy', song: 'world_1_3' });
```

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": "song_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": {"song":"world_1_1","difficulty":"hard","result":"failed","accuracy":0.94,"max_combo":212,"misses":31,"progress_pct":64}
    }]
  }'
# {"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 rhythm events, in the format of the [Game tracking plan generator](https://manalens.dev/tools/game-tracking-plan-generator).

- [Rhythm tracking plan for Unity or Godot (CSV)](https://manalens.dev/data/tracking-plans/rhythm-unity-godot.csv)
- [Rhythm tracking plan for Web SDK or HTTP (CSV)](https://manalens.dev/data/tracking-plans/rhythm-web-http.csv)

## What should I leave out?

- One event per note hit or missed. A song has hundreds; song_end has the totals.
- Accuracy as a string with a percent sign. Send a number from 0 to 1.
- Audio device names. They can identify a setup and add little.

## Frequently asked questions

**Why track calibration in a rhythm game?**

Because a wrong audio or video offset makes every song feel unfair, and players blame the chart. Send calibration_set with the offset in milliseconds, the method and the input. If accuracy is low and few players calibrate, prompt calibration earlier before you change any song.

**How do I find the hard part of a song?**

Send progress_pct on every failed song_end: the share of the song played when it failed. The median fail point per song shows the section that ends most attempts. A fail point at the same spot on every difficulty points to the music, not the note chart.

**How many Thumper players completed every level?**

On Steam, read on 24 November 2026, 6.1% of Thumper players had All Levels Complete, while 79.4% had completed level 1 and 56.0% level 2. Each level kept roughly two in three players of the one before in the first levels (our arithmetic).

**Should I send an event for every note?**

No. A song has hundreds of notes, and a player plays many songs a day. Send song_end with accuracy, max combo, misses and progress_pct. If you need note-level data to tune one chart, collect it in a playtest build and turn it off for release.

## Related guides and tools

- [What events to track first in your game](https://manalens.dev/blog/game-tracking-plan-first-events)
- [Event taxonomy for premium PC games](https://manalens.dev/blog/premium-pc-game-event-taxonomy)
- [First session funnel and FTUE analysis](https://manalens.dev/blog/first-session-funnel-ftue)
- [Game tracking plan generator](https://manalens.dev/tools/game-tracking-plan-generator)
- [All tracking plans by genre](https://manalens.dev/tracking-plans)

## Sources

- [Steam Community: Thumper global achievements (Valve, read 24 November 2026)](https://steamcommunity.com/stats/356400/achievements/)
- [Steam Community: A Dance of Fire and Ice global achievements (Valve, read 24 November 2026)](https://steamcommunity.com/stats/977950/achievements/)
- [Manalens documentation: App and game events, event conventions](https://docs.manalens.dev/sdks/app-events)
- [Manalens documentation: Unity SDK](https://docs.manalens.dev/sdks/unity)
- [Manalens documentation: Godot SDK](https://docs.manalens.dev/sdks/godot)
- [Manalens documentation: Web SDK](https://docs.manalens.dev/sdks/web)
- [Manalens documentation: Metrics (Game section)](https://docs.manalens.dev/data/metrics)
- [Manalens documentation: Dashboards](https://docs.manalens.dev/features/dashboards)

Last reviewed 2026-11-24. Achievement shares change as more people play, so read them again on Steam before you quote them.
