☰
All featuresAttributionRetentionAudiencesAnalyticsIntegrationsGrow Steam wishlistsSteam Next FestCreator marketingLaunch on SteamAsk with AIFor game developersFor game studiosFor game publishersComparisonsPricingSecurityDocumentationFree toolsBlogGlossary
ANALYTICS TRACKING PLAN

Analytics tracking plan for a deckbuilder game

A deckbuilder plan adds card events to the run: card_offered, card_picked with a skipped flag, card_removed, combat_end and run_end with the final deck. On Steam, 96.5% of Monster Train players beat the first boss and 81.3% defeated Seraph, the final boss (read 24 November 2026). Card data explains the rest.

What is the core loop of a deckbuilder game?

  1. Start a run with a starter deck.
  2. Fight a combat with the cards you draw.
  3. Pick a card reward, skip it, or remove or upgrade a card.
  4. Repeat until the run ends, then unlock new cards.

The choice that matters is the card pick, so it gets its own event. The run events of a roguelike stay, but run_end carries the final deck as one comma-separated string of card ids, because event properties must be flat. Keep it under 1,024 characters, the limit for one string value.

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

Deckbuilder events: when to send each one, its properties with example values, and the question it answers.
EventWhenPropertiesQuestion it answers
run_startA run starts.
run_id (string, e.g. r_51aa)
run_number (number, e.g. 7)
character (string, e.g. ironclad)
difficulty (number, e.g. 0)
deck_size (number, e.g. 10)
Which characters and decks do players start with?
card_offeredA card reward, shop or event shows cards.
run_id (string, e.g. r_51aa)
floor (number, e.g. 6)
offered (string, e.g. inflame,anger,clash)
source (string, e.g. combat)
Which cards do players see at all?
card_pickedThe player takes a card or skips the reward.
run_id (string, e.g. r_51aa)
floor (number, e.g. 6)
card (string, e.g. inflame)
skipped (boolean, e.g. false)
Which cards do players want?
card_removedThe player removes or upgrades a card.
run_id (string, e.g. r_51aa)
floor (number, e.g. 9)
card (string, e.g. strike)
action (string, e.g. remove)
Which cards do players thin out?
combat_endA combat ends.
run_id (string, e.g. r_51aa)
floor (number, e.g. 6)
enemy (string, e.g. gremlin_nob)
turns (number, e.g. 5)
damage_taken (number, e.g. 18)
deck_size (number, e.g. 14)
Which enemy drains the most health?
run_endThe run ends by a win, a death or a quit.
run_id (string, e.g. r_51aa)
result (string, e.g. death)
floor (number, e.g. 16)
character (string, e.g. ironclad)
difficulty (number, e.g. 0)
deck_size (number, e.g. 22)
final_deck (string, e.g. strike,strike,defend,inflame,anger)
Which decks win, and where do runs end?

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

Deckbuilder KPIs, how to compute each one from the events, and why it matters.
KPIHow to compute itWhy it matters
Pick rate per cardcard_picked for the card, divided by card_offered that showed itShows how much players want each card.
Skip ratecard_picked with skipped true, divided by all rewardsShows whether rewards feel worth taking.
Floor-adjusted card win rateWin rate of runs that picked the card on a floor, minus the win rate of all runs that reached that floorRemoves the bias of cards that only appear late.
Deck size at run endMedian deck_size of run_end, by resultShows whether players thin or grow their decks.
Damage per combat by enemyMedian damage_taken of combat_end, by enemyFinds the enemy that ends runs one fight later.

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

A suggested dashboard for a deckbuilder game: each chart, its kind, what it is built from and the question it answers.
ChartKindBuilt fromQuestion
Card pick ratesSQL tablecard_offered and card_picked, by cardWhich cards are never picked?
Run funnelFunnelrun_start, card_picked, combat_end, run_endDo new players reach their first card choice?
Damage by enemySQL barMedian damage_taken of combat_end, by enemyWhich fight is the wall?
Wins by characterSQL barrun_end with result win, by character and difficultyIs one character too strong?
Return after a runRetentionEntry run_end, return run_startDo players start another run?

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: Card pick rates. How often is each card picked when it is offered?

WITH offered AS ( SELECT arrayJoin(splitByChar(',', JSONExtractString(properties,'offered'))) AS card, uniqExact(message_id) AS offers FROM raw_events WHERE event = 'card_offered' 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 card ), picked AS ( SELECT JSONExtractString(properties,'card') AS card, uniqExact(message_id) AS picks FROM raw_events WHERE event = 'card_picked' AND NOT JSONExtractBool(properties,'skipped') 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 card ) SELECT card, offers, picks, if(offers = 0, 0, round(picks / offers, 3)) AS pick_rate FROM offered LEFT JOIN picked USING card ORDER BY offers DESC, card LIMIT 200

What do public numbers show for deckbuilder games?

Monster Train shows a common deckbuilder shape: almost every player beats the first boss, most players see a win, and the drop comes later, in the clans and covenant levels that ask for deeper deck knowledge. More players lost a run (86.6%) than won one.

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

Share of players with each achievement on Steam, read on 24 November 2026.
GameAchievementWhat it needsShare of players
Monster TrainEarly SurvivorDefeat the first boss96.5%
Monster TrainYou Died!Lose a run86.6%
Monster TrainSeraph the DefeatedDefeat Seraph81.3%
Monster TrainGuided by CandlesUnlock The Melting Remnant52.4%
Monster TrainHellhorned DominanceReach Level 10 on The Hellhorned37.7%

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.

812 games released on Steam from 2022 to 2025 have Deckbuilding in their top 7 tags. 40.5% of them had 50 or more reviews on 18 November 2026, and the median game had 28. The median price was $8.99. See the Deckbuilding benchmarks.

370 games released on Steam from 2022 to 2025 have Roguelike Deckbuilder in their top 7 tags. 55.1% of them had 50 or more reviews on 18 November 2026, and the median game had 72.5. The median price was $9.99. See the Roguelike Deckbuilder benchmarks.

How do I send the deckbuilder 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 deckbuilder events. Call each one where the moment happens in your game code.
public static class GenreEvents
{
    public static void Examples()
    {
        Manalens.Track("run_start", new Dictionary<string, object> { ["run_id"] = "r_51aa", ["run_number"] = 7, ["character"] = "ironclad", ["difficulty"] = 0, ["deck_size"] = 10 });
        Manalens.Track("card_offered", new Dictionary<string, object> { ["run_id"] = "r_51aa", ["floor"] = 6, ["offered"] = "inflame,anger,clash", ["source"] = "combat" });
        Manalens.Track("card_picked", new Dictionary<string, object> { ["run_id"] = "r_51aa", ["floor"] = 6, ["card"] = "inflame", ["skipped"] = false });
        Manalens.Track("card_removed", new Dictionary<string, object> { ["run_id"] = "r_51aa", ["floor"] = 9, ["card"] = "strike", ["action"] = "remove" });
        Manalens.Track("combat_end", new Dictionary<string, object> { ["run_id"] = "r_51aa", ["floor"] = 6, ["enemy"] = "gremlin_nob", ["turns"] = 5, ["damage_taken"] = 18, ["deck_size"] = 14 });
        Manalens.Track("run_end", new Dictionary<string, object> { ["run_id"] = "r_51aa", ["result"] = "death", ["floor"] = 16, ["character"] = "ironclad", ["difficulty"] = 0, ["deck_size"] = 22, ["final_deck"] = "strike,strike,defend,inflame,anger" });
    }
}

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 deckbuilder events. Call each one where the moment happens in your game code.
func _track_examples() -> void:
    Manalens.track("run_start", {"run_id": "r_51aa", "run_number": 7, "character": "ironclad", "difficulty": 0, "deck_size": 10})
    Manalens.track("card_offered", {"run_id": "r_51aa", "floor": 6, "offered": "inflame,anger,clash", "source": "combat"})
    Manalens.track("card_picked", {"run_id": "r_51aa", "floor": 6, "card": "inflame", "skipped": false})
    Manalens.track("card_removed", {"run_id": "r_51aa", "floor": 9, "card": "strike", "action": "remove"})
    Manalens.track("combat_end", {"run_id": "r_51aa", "floor": 6, "enemy": "gremlin_nob", "turns": 5, "damage_taken": 18, "deck_size": 14})
    Manalens.track("run_end", {"run_id": "r_51aa", "result": "death", "floor": 16, "character": "ironclad", "difficulty": 0, "deck_size": 22, "final_deck": "strike,strike,defend,inflame,anger"})

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 deckbuilder events:
analytics.track('run_start', { run_id: 'r_51aa', run_number: 7, character: 'ironclad', difficulty: 0, deck_size: 10 });
analytics.track('card_offered', { run_id: 'r_51aa', floor: 6, offered: 'inflame,anger,clash', source: 'combat' });
analytics.track('card_picked', { run_id: 'r_51aa', floor: 6, card: 'inflame', skipped: false });
analytics.track('card_removed', { run_id: 'r_51aa', floor: 9, card: 'strike', action: 'remove' });
analytics.track('combat_end', { run_id: 'r_51aa', floor: 6, enemy: 'gremlin_nob', turns: 5, damage_taken: 18, deck_size: 14 });
analytics.track('run_end', { run_id: 'r_51aa', result: 'death', floor: 16, character: 'ironclad', difficulty: 0, deck_size: 22, final_deck: 'strike,strike,defend,inflame,anger' });

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": "card_picked",
      "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": {"run_id":"r_51aa","floor":6,"card":"inflame","skipped":false}
    }]
  }'
# {"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 deckbuilder events, in the format of the Game tracking plan generator.

What should I leave out?

  • One event per card played. A combat has dozens of plays; combat_end with turns and damage is enough to start.
  • Card names in event names. Send card_picked with a card property.
  • Visible card text as ids. Use stable ids, so a rename or a translation does not split the data.

Frequently asked questions

How is this plan different from the roguelike plan?

It keeps the run events and adds the card choices: card_offered, card_picked with a skipped flag and card_removed. combat_end replaces floor_reached as the step inside a run, because a deckbuilder balances fights and cards. A roguelike without cards does not need these events, so the plans stay separate.

How do I send a whole deck in one event?

Send final_deck as one comma-separated string of card ids, such as strike,defend,inflame. Event properties must be flat strings, numbers, booleans or null, so a list is not allowed. One string value can have up to 1,024 characters, so keep card ids short. Split the string in SQL.

Why can a card win rate mislead?

Cards that appear late only show up in runs that already got far, so they look strong. Compare the win rate of runs that picked the card on a floor with the win rate of all runs that reached that floor. The gap is closer to the card's real effect.

What share of Monster Train players won a run?

On Steam, read on 24 November 2026, 81.3% of Monster Train players had the Seraph the Defeated achievement for defeating the final boss, and 96.5% had beaten the first boss. These are shares of players since release. Your own run_end data gives the win rate per run.

Sources

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