# Analytics tracking plan for a racing game

> A tracking plan for a racing game: race start and end, position, lap times, collisions, restarts, cars and upgrades, with KPIs, a dashboard and a CSV.

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

A racing plan tracks each race: race_start with track, car and grid position, race_end with position, result, lap times and collisions, race_restart, car_unlocked and car_upgraded. On Steam, 82.5% of Horizon Chase Turbo players finished a World Tour race and 10.3% beat the tour (read 24 November 2026). Results by track show the hard ones.

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

1. Pick a track, a mode and a car.
2. Race against rivals, the clock or a ghost.
3. Finish in a position and earn rewards.
4. Unlock and upgrade cars for harder races.

A race is short and repeated, so race_end carries most of the data: the finishing position, the time, the best lap and the collisions. Restarts deserve their own event, because a racer who restarts on lap one after a crash is frustrated in a way that the final result never shows.

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

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

| Event | When | Properties | Question it answers |
| --- | --- | --- | --- |
| `race_start` | A race starts. | `track` (string, e.g. california_1) `mode` (string, e.g. world_tour) `car` (string, e.g. tsunami) `grid_position` (number, e.g. 20) `difficulty` (string, e.g. normal) | Which tracks, modes and cars do players pick? |
| `race_end` | A race ends by a finish, a retirement or a quit. | `track` (string, e.g. california_1) `mode` (string, e.g. world_tour) `car` (string, e.g. tsunami) `result` (string, e.g. finished) `position` (number, e.g. 3) `race_time_ms` (number, e.g. 182400) `best_lap_ms` (number, e.g. 58210) `collisions` (number, e.g. 4) | How do players finish, and where do they struggle? |
| `race_restart` | The player restarts a race before the end. | `track` (string, e.g. california_1) `lap` (number, e.g. 1) `position` (number, e.g. 14) | Which track makes players restart? |
| `car_unlocked` | The player unlocks a car. | `car` (string, e.g. storm) `source` (string, e.g. tour) | Do unlocks keep players racing? |
| `car_upgraded` | The player installs an upgrade. | `car` (string, e.g. tsunami) `upgrade` (string, e.g. tires) `level` (number, e.g. 2) | Which upgrades do players want? |
| `settings_change` | The player changes a driving assist or the controls. | `setting` (string, e.g. steering_assist) `value` (string, e.g. on) `track` (string, e.g. california_1) | Who needs assists, and when? |

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

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

| KPI | How to compute it | Why it matters |
| --- | --- | --- |
| Finish rate by track | race_end with result finished, divided by race_start, by track | Finds tracks players abandon. |
| Restarts per race | race_restart, divided by race_start, by track | Shows frustration that results hide. |
| Average position | Average position of finished race_end, by track and difficulty | Shows whether AI rivals are fair. |
| Collisions per race | Average collisions of race_end, by track | Finds corners and traffic that feel unfair. |
| Races per session | race_start per session | Shows whether the one-more-race pull works. |

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

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

| Chart | Kind | Built from | Question |
| --- | --- | --- | --- |
| Results by track | SQL table | race_end by track: races, finishes, average position, collisions | Which track is the hardest? |
| Restarts by track and lap | SQL bar | race_restart by track and lap | Where do players give up on a race? |
| First races funnel | Funnel | game_open, race_start, race_end, car_upgraded | Do new players finish a race and spend rewards? |
| Return after a race | Retention | Entry race_end, return race_start | Do racers come back? |
| Cars in use | SQL bar | race_start by car | Is one car always picked? |

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: Results by track. For each track: races, finishes, average finishing position and collisions.

```
SELECT JSONExtractString(properties,'track') AS track, uniqExact(message_id) AS races, uniqExactIf(message_id, JSONExtractString(properties,'result') = 'finished') AS finished, round(avgIf(JSONExtractInt(properties,'position'), JSONExtractString(properties,'result') = 'finished'), 2) AS avg_position, round(avg(JSONExtractInt(properties,'collisions')), 1) AS avg_collisions FROM raw_events WHERE event = 'race_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 track ORDER BY races DESC LIMIT 100
```

## What do public numbers show for racing games?

Horizon Chase Turbo shows a big gap between the first race and the full tour: most players finish one race, and one in ten beats the whole World Tour. Far fewer players finished a race in the Tournament mode.

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 |
| --- | --- | --- | --- |
| Horizon Chase Turbo | The First of Many | Finish a World Tour race | 82.5% |
| Horizon Chase Turbo | I Need a Bigger Garage | Unlock a Car | 72.2% |
| Horizon Chase Turbo | Pump my Ride | Install an upgrade in World Tour | 60.0% |
| Horizon Chase Turbo | Quickie | Finish a Tournament race | 20.8% |
| Horizon Chase Turbo | Round the Globe | Beat the World Tour | 10.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.

1,747 games released on Steam from 2022 to 2025 have Racing in their top 7 tags. 18.5% of them had 50 or more reviews on 18 November 2026, and the median game had 10. The median price was $5.99. [See the Racing benchmarks](https://manalens.dev/steam/genres/racing).

## How do I send the racing 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 racing events. Call each one where the moment happens in your game code.
public static class GenreEvents
{
    public static void Examples()
    {
        Manalens.Track("race_start", new Dictionary<string, object> { ["track"] = "california_1", ["mode"] = "world_tour", ["car"] = "tsunami", ["grid_position"] = 20, ["difficulty"] = "normal" });
        Manalens.Track("race_end", new Dictionary<string, object> { ["track"] = "california_1", ["mode"] = "world_tour", ["car"] = "tsunami", ["result"] = "finished", ["position"] = 3, ["race_time_ms"] = 182400, ["best_lap_ms"] = 58210, ["collisions"] = 4 });
        Manalens.Track("race_restart", new Dictionary<string, object> { ["track"] = "california_1", ["lap"] = 1, ["position"] = 14 });
        Manalens.Track("car_unlocked", new Dictionary<string, object> { ["car"] = "storm", ["source"] = "tour" });
        Manalens.Track("car_upgraded", new Dictionary<string, object> { ["car"] = "tsunami", ["upgrade"] = "tires", ["level"] = 2 });
        Manalens.Track("settings_change", new Dictionary<string, object> { ["setting"] = "steering_assist", ["value"] = "on", ["track"] = "california_1" });
    }
}
```

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 racing events. Call each one where the moment happens in your game code.
func _track_examples() -> void:
    Manalens.track("race_start", {"track": "california_1", "mode": "world_tour", "car": "tsunami", "grid_position": 20, "difficulty": "normal"})
    Manalens.track("race_end", {"track": "california_1", "mode": "world_tour", "car": "tsunami", "result": "finished", "position": 3, "race_time_ms": 182400, "best_lap_ms": 58210, "collisions": 4})
    Manalens.track("race_restart", {"track": "california_1", "lap": 1, "position": 14})
    Manalens.track("car_unlocked", {"car": "storm", "source": "tour"})
    Manalens.track("car_upgraded", {"car": "tsunami", "upgrade": "tires", "level": 2})
    Manalens.track("settings_change", {"setting": "steering_assist", "value": "on", "track": "california_1"})
```

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 racing events:
analytics.track('race_start', { track: 'california_1', mode: 'world_tour', car: 'tsunami', grid_position: 20, difficulty: 'normal' });
analytics.track('race_end', { track: 'california_1', mode: 'world_tour', car: 'tsunami', result: 'finished', position: 3, race_time_ms: 182400, best_lap_ms: 58210, collisions: 4 });
analytics.track('race_restart', { track: 'california_1', lap: 1, position: 14 });
analytics.track('car_unlocked', { car: 'storm', source: 'tour' });
analytics.track('car_upgraded', { car: 'tsunami', upgrade: 'tires', level: 2 });
analytics.track('settings_change', { setting: 'steering_assist', value: 'on', track: 'california_1' });
```

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": "race_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": {"track":"california_1","mode":"world_tour","car":"tsunami","result":"finished","position":3,"race_time_ms":182400,"best_lap_ms":58210,"collisions":4}
    }]
  }'
# {"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 racing events, in the format of the [Game tracking plan generator](https://manalens.dev/tools/game-tracking-plan-generator).

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

## What should I leave out?

- Telemetry every frame, such as speed or position. Keep it in local replay files.
- Every lap as its own event, unless you balance lap by lap. best_lap_ms is usually enough.
- Times in seconds with decimals as strings. Send whole milliseconds as numbers.

## Frequently asked questions

**Should a racing game send telemetry?**

Not as analytics events. Speed, position and inputs every frame would send thousands of events per race. Send race_start and race_end with the result, position, time, best lap and collisions, and keep detailed telemetry in local replay files for the tracks you are tuning.

**Why track restarts separately?**

Because a restart is a quiet quit. A racer who crashes on lap one and restarts never sends a bad result, so the finish data looks fine. race_restart with the track, the lap and the position shows the corners and starts that frustrate players, even when they finish later.

**How many Horizon Chase Turbo players beat the World Tour?**

On Steam, read on 24 November 2026, 10.3% of Horizon Chase Turbo players had Round the Globe for beating the World Tour, while 82.5% had finished a World Tour race. 20.8% had finished a race in the Tournament mode. These are shares of players since release.

**How do I store race times?**

As whole milliseconds in a number property, such as race_time_ms and best_lap_ms. Numbers can be averaged and charted; strings cannot. Milliseconds avoid decimals, and the largest race time still fits easily in a JSON number. Use the same names on every mode, so one chart covers them all.

## 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: Horizon Chase Turbo global achievements (Valve, read 24 November 2026)](https://steamcommunity.com/stats/389140/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.
