Analytics tracking plan for a survival craft game
A survival craft plan tracks the world, not the level: world_create, day_end with the day number, player_death with the cause, first crafts, biomes and bosses. On Steam, 92.6% of Raft players survived one day and 50.2% survived 30 days (read 24 November 2026). Your day_end events show where your own curve falls.
What is the core loop of a survival craft game?
- Gather resources from the world around you.
- Craft tools, food and a shelter.
- Survive the night, hunger and enemies.
- Push into a new biome for better materials, often with friends.
Progress lives in a world save, so every event carries world_id, and the in-game day is the clock. Building and gathering are too frequent to send one by one: put counts in day_end, and send item_crafted only the first time a recipe is crafted in a world. That keeps a 40-hour world under a few thousand events.
Which events should a survival craft 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 |
|---|---|---|---|
world_create | The player creates a new world or joins one for the first time. | world_id (string, e.g. w_77c1)mode (string, e.g. survival)difficulty (string, e.g. normal)is_host (boolean, e.g. true)party_size (number, e.g. 2) | Which modes and difficulties do players choose? |
day_end | An in-game day ends in a world. | world_id (string, e.g. w_77c1)day (number, e.g. 7)deaths_today (number, e.g. 1)pieces_built (number, e.g. 64)party_size (number, e.g. 2) | How many days do worlds last? |
player_death | The player dies. | world_id (string, e.g. w_77c1)day (number, e.g. 3)cause (string, e.g. shark)biome (string, e.g. ocean)items_lost (number, e.g. 12) | What kills players, and where? |
item_crafted | The player crafts a recipe for the first time in this world. | world_id (string, e.g. w_77c1)item (string, e.g. simple_purifier)tier (number, e.g. 1)day (number, e.g. 2) | Which tier do players reach, and when? |
biome_entered | The player enters a biome for the first time in this world. | world_id (string, e.g. w_77c1)biome (string, e.g. swamp)day (number, e.g. 12) | Do players leave the starting area? |
boss_defeated | A boss dies. | world_id (string, e.g. w_77c1)boss (string, e.g. eikthyr)day (number, e.g. 9)party_size (number, e.g. 2) | How far do worlds get in the main path? |
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 survival craft game?
| KPI | How to compute it | Why it matters |
|---|---|---|
| Days survived per world | Highest day of day_end, per world_id | The main progress measure of the genre. |
| First night survival | Worlds with a day_end of day 1, divided by world_create | Shows whether the opening is too harsh. |
| Deaths by cause | player_death by cause and biome | Separates fair danger from frustration. |
| Time to tier 2 | Median day of the first item_crafted with tier 2, per world | Shows the pace of the crafting tree. |
| Co-op share | Worlds with party_size above 1, divided by all worlds | Shows how much of the game is played with friends. |
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 survival craft dashboard show?
| Chart | Kind | Built from | Question |
|---|---|---|---|
| Worlds by day reached | SQL bar | Distinct world_id of day_end, by day | On which day do worlds stop? |
| Deaths by cause | SQL table | player_death by cause and biome | What kills players most? |
| First hour funnel | Funnel | world_create, item_crafted, day_end, biome_entered | Do new players craft and survive the first day? |
| Return to the world | Retention | Entry world_create, return session_start | Do players come back to a world they made? |
| Solo and co-op worlds | SQL line | Worlds per day, split by party_size above 1 | Is co-op growing after an update? |
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: Worlds by day reached. How many worlds reach each in-game day?
SELECT JSONExtractInt(properties,'day') AS day, uniqExact(JSONExtractString(properties,'world_id')) AS worlds, uniqExact(anonymous_id) AS players FROM raw_events WHERE event = 'day_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 day ORDER BY day LIMIT 200What do public numbers show for survival craft games?
Raft gives a public day curve: most players survive the first day, and half reach day 30. Its multiplayer achievement is held by more players than the 7-day one, a sign of how much of the genre is played with friends.
These are shares of players over all the years since release, not shares of worlds.
| Game | Achievement | What it needs | Share of players |
|---|---|---|---|
| Raft | Beginner Survivor! | Survive 1 day | 92.6% |
| Raft | Teamplay! | Team up with a friend in multiplayer | 79.9% |
| Raft | Intermediate Survivor! | Survive 7 days | 74.3% |
| Raft | It's Better Without The Salt. | Craft and place a simple purifier | 73.5% |
| Raft | Expert Survivor! | Survive 30 days | 50.2% |
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,550 games released on Steam from 2022 to 2025 have Survival in their top 7 tags. 32.8% of them had 50 or more reviews on 18 November 2026, and the median game had 17. The median price was $6.99. See the Survival benchmarks.
771 games released on Steam from 2022 to 2025 have Base Building in their top 7 tags. 48.2% of them had 50 or more reviews on 18 November 2026, and the median game had 40. The median price was $10.99. See the Base Building benchmarks.
How do I send the survival craft 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 survival craft events. Call each one where the moment happens in your game code.
public static class GenreEvents
{
public static void Examples()
{
Manalens.Track("world_create", new Dictionary<string, object> { ["world_id"] = "w_77c1", ["mode"] = "survival", ["difficulty"] = "normal", ["is_host"] = true, ["party_size"] = 2 });
Manalens.Track("day_end", new Dictionary<string, object> { ["world_id"] = "w_77c1", ["day"] = 7, ["deaths_today"] = 1, ["pieces_built"] = 64, ["party_size"] = 2 });
Manalens.Track("player_death", new Dictionary<string, object> { ["world_id"] = "w_77c1", ["day"] = 3, ["cause"] = "shark", ["biome"] = "ocean", ["items_lost"] = 12 });
Manalens.Track("item_crafted", new Dictionary<string, object> { ["world_id"] = "w_77c1", ["item"] = "simple_purifier", ["tier"] = 1, ["day"] = 2 });
Manalens.Track("biome_entered", new Dictionary<string, object> { ["world_id"] = "w_77c1", ["biome"] = "swamp", ["day"] = 12 });
Manalens.Track("boss_defeated", new Dictionary<string, object> { ["world_id"] = "w_77c1", ["boss"] = "eikthyr", ["day"] = 9, ["party_size"] = 2 });
}
}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 survival craft events. Call each one where the moment happens in your game code.
func _track_examples() -> void:
Manalens.track("world_create", {"world_id": "w_77c1", "mode": "survival", "difficulty": "normal", "is_host": true, "party_size": 2})
Manalens.track("day_end", {"world_id": "w_77c1", "day": 7, "deaths_today": 1, "pieces_built": 64, "party_size": 2})
Manalens.track("player_death", {"world_id": "w_77c1", "day": 3, "cause": "shark", "biome": "ocean", "items_lost": 12})
Manalens.track("item_crafted", {"world_id": "w_77c1", "item": "simple_purifier", "tier": 1, "day": 2})
Manalens.track("biome_entered", {"world_id": "w_77c1", "biome": "swamp", "day": 12})
Manalens.track("boss_defeated", {"world_id": "w_77c1", "boss": "eikthyr", "day": 9, "party_size": 2})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 survival craft events:
analytics.track('world_create', { world_id: 'w_77c1', mode: 'survival', difficulty: 'normal', is_host: true, party_size: 2 });
analytics.track('day_end', { world_id: 'w_77c1', day: 7, deaths_today: 1, pieces_built: 64, party_size: 2 });
analytics.track('player_death', { world_id: 'w_77c1', day: 3, cause: 'shark', biome: 'ocean', items_lost: 12 });
analytics.track('item_crafted', { world_id: 'w_77c1', item: 'simple_purifier', tier: 1, day: 2 });
analytics.track('biome_entered', { world_id: 'w_77c1', biome: 'swamp', day: 12 });
analytics.track('boss_defeated', { world_id: 'w_77c1', boss: 'eikthyr', day: 9, party_size: 2 });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": "day_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": {"world_id":"w_77c1","day":7,"deaths_today":1,"pieces_built":64,"party_size":2}
}]
}'
# {"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 survival craft events, in the format of the Game tracking plan generator.
What should I leave out?
- One event per resource gathered or piece built. Count them in day_end.
- Player positions every few seconds. Use biome_entered for where players go.
- Server-side world ticks. Send events from the player's game, so each one has a player and a session.
Frequently asked questions
How do I track progress in a survival crafting game?
Use the in-game day and the world. Send day_end with world_id and the day number, item_crafted the first time each recipe is made, and boss_defeated for the main path. The highest day per world and the first tier 2 craft show progress better than real days played.
Should every crafted item be an event?
No. A long world can hold tens of thousands of crafts. Send item_crafted only the first time a recipe is crafted in a world, with its tier and day, and put counts such as pieces_built in day_end. That answers the progress questions with a small share of the events.
How many Raft players survived 30 days?
On Steam, read on 24 November 2026, 50.2% of Raft players had Expert Survivor! for surviving 30 days, 74.3% had survived 7 days and 92.6% one day. These are shares of players since release. Your day_end events give the same curve per world.
How do I count co-op worlds?
Send party_size and is_host on world_create and day_end, with the same world_id for every player in the world. Count worlds with party_size above 1, and read retention for the host and the guests apart. If worlds end when the host stops, guests lose their progress too.
Sources
- Steam Community: Raft 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.