tracking-plan
Skill3 starsChanged 5 days agoMITView on GitHub
Designs the analytics event plan for an indie game, its demo, its store page and its website, then adds the tracking calls to the code. Detects the engine (Godot, Unity, Unreal, web), proposes about 10 snake_case events of its own (fewer than 15) from site visit and wishlist click to install, tutorial, levels, settings and purchase, links web visitors to game players, writes analytics/tracking-plan.md and a CSV, instruments the code, and checks that every planned event is sent and nothing else is. Use for "what events should I track in my game", "add analytics to my Godot game", "set up a tracking plan for my demo", "track tutorial drop-off", "instrument my Unity game" or "is my analytics set up right". Works with any analytics tool; Manalens SDKs are the documented default. Not for reading the results (`player-funnel`, `attribution-report`, `marketing-retro`).
2 other projects use a version of this.
Adopted by
Most recently taken up by
- omarmfouad25/google-marketing-agenttheir own version, first seen Oct 25, 2026
- Timi-Fish/chinese-pm-skillstheir own version, first seen Oct 15, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- omarmfouad25/google-marketing-agent★ 4same name
- Timi-Fish/chinese-pm-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- events-calendarSkill
- game-name-checkSkill
- launch-timelineSkill
- localization-planSkill
- playtestSkill
- press-kitSkill
- press-outreachSkill
- steam-capsulesSkill
- steam-page-reviewSkill
- steam-pricingSkill
- steam-tagsSkill
- trailer-planSkill
- clip-cutSkill
- devlog-from-gitSkill
- reddit-postSkill
- shorts-scriptSkill
- social-postSkill
- attribution-reportSkill
- marketing-retroSkill
- player-funnelSkill
- wishlist-analysisSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 4 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Look in the repo first. Ask only for what is missing.
- Distinctive: line 37
Website repo or folder,: if the site is in scope. Its wishlist and demo buttons are events too.
- Distinctive: line 42
Detect the engine and platforms: Run from the repo root:
- Very specific: line 57
Propose the plan: Start from assets/tracking-plan.csv (18 rows: 11 events your code sends, the rest sent by an SDK or counted by Steam) and …
- Very specific: line 95
Check names against Google's 11 recommended events for games in GA4 (tutorial_begin, tutorial_complete, level_start, level_end, level_up, …
- Very specific: line 99
No personal data and no free text (references/privacy.md).
- Very specific: line 100
Use the same name on the site and in the game (wishlist_clicked in both, with placement).
- Very specific: line 116
Instrument: Add the calls at the hooks from step 2, with the exact API in references/sdk-calls.md (Godot Manalens.track(), Unity …
- Very specific: line 123
Do not send game_open, session_*, error or game_crash by hand: the game SDKs do.
- Very specific: line 124
Every link from the game to the site goes through Manalens.get_handoff_url(url) (Godot), Manalens.GetHandoffUrl(url) (Unity), GetHandoffUrl …
- Very specific: line 130
No Manalens? Add the stub wrapper from references/sdk-calls.md section 7 and call it everywhere.
- Distinctive: line 134
Check: Run against the game and, if present, the site:
- Very specific: line 142
Use --owner game to check only the game when the site lives elsewhere, and --require to change the required funnel steps (a game with no …
- Very specific: line 160
After a dev play-through, check every planned event arrived once with the right properties.
- Very specific: line 197
Web export on a portal gets 403: add the portal host in Manalens Allowed origins (*.itch.zone is allowed by default).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tracking plan
Plan the few events that answer a marketer's questions, then send them. The agent reads the repo,
writes analytics/tracking-plan.md and analytics/tracking-plan.csv, adds the calls to the game
and site code, and runs scripts/check_plan.py to prove the code matches the plan.
The questions the plan must answer: which links bring players who play, where new players stop, whether they come back, whether the build is stable, and who pays. Every event maps to one of them. An event with no question gets cut.
Inputs
Look in the repo first. Ask only for what is missing.
- Engine and platforms. Detect from files (step 1). Ask only if two engines are present.
- Game type and core loop. From the README, store page text or scene names. Levels, runs, matches or days decide the play events.
- What ships. Demo, early access or full game; Steam, itch.io, web, mobile. From
export_presets.cfg,steam_appid.txt, CI config, or ask. - Analytics tool. Grep for an existing SDK (see
references/sdk-calls.md, section 1). Manalens if none and the user agrees; else their tool through a stub. - Website repo or folder, if the site is in scope. Its wishlist and demo buttons are events too.
- Audience. Is the game for children? It changes the plan (
references/privacy.md).
Workflow
Detect the engine and platforms. Run from the repo root:
ls project.godot ProjectSettings/ProjectVersion.txt *.uproject package.json export_presets.cfg steam_appid.txt 2>/dev/null grep -h "config/features\|m_EditorVersion\|EngineAssociation" project.godot ProjectSettings/ProjectVersion.txt *.uproject 2>/dev/nullOutput: one line, such as "Godot 4.3, Windows and Web exports, Steam demo, no analytics yet". Godot 3 has no Manalens addon: use the HTTP path or a stub.
- Find the hooks. Grep for the moments the plan needs: tutorial steps, level or run start
and end, death, win screen, options menu apply, store or wishlist buttons,
OS.shell_open/Application.OpenURL/LaunchURL, quit. Output: a list offile:lineper moment. A moment with no clear hook gets a TODO in the plan, not a guess. Propose the plan. Start from
assets/tracking-plan.csv(18 rows: 11 events your code sends, the rest sent by an SDK or counted by Steam) and cut or rename to fit. Keep about 10 events of your own and fewer than 15 (ownergame,weborserver; automatic SDK events and Steam rows do not count). Manalens docs say most games need fewer than 15, and Google lists 11 recommended events for games.check_plan.pywarns at 15. Mixpanel warns that tracking every action a user can take leads to wasted development work and unused data, so add an event later, when a question needs it. The funnel steps, in order:Step Events (defaults) Sent by visitpage_viewwith UTM tags;store_page_visitWeb SDK; Steam UTM Analytics wishlistwishlist_clicked(store,placement) on site and in gameYour code installdemo_downloadon the site;game_openwithis_first_openYour code; game SDK tutorialtutorial_step(step,step_name),tutorial_completeYour code playlevel_start,level_complete,level_fail(level,attempt,score); onefeature_usedYour code returnsession_start,session_end(duration_s)Game SDK purchasepurchase(amount_cents,currency,store) for in-game or own-site salesYour code or server identitywebsite_openedfrom the game with a handoff link;identity_handoffon the siteYour code; web SDK healthsettings_changed(setting,value);error;game_crashYour code; game SDK - Runs, not levels:
run_startandrun_endwithoutcome. Matches:match_start,match_end. Genre plans with properties: https://manalens.dev/tracking-plans?utm_source=skill&utm_campaign=game_marketing_skills&utm_content=tracking_plan settings_changedonly for settings that hint at a problem: graphics quality down, difficulty down, subtitles or text size up, controls rebound. Send the new value from a fixed list.- A Steam premium sale happens on Steam, not in the game. Read it from Steamworks, not
purchase. - Show the table to the user and wait for a yes before step 4.
- Runs, not levels:
- Name things by the rules.
object_actionin snake_case, past tense from the player's side:tutorial_step,wishlist_clicked,level_fail. Reserved single words:purchase,resource,error.- One event, many values:
level_completewithlevel: 3, neverlevel_3_complete. - Two to five properties per event. Numbers as numbers. The same property name means the same thing on every event.
- Flat properties only: strings, numbers, booleans or null. The Manalens SDKs drop lists and nested objects and cut strings at 1,024 characters.
- No
build,platform,storefrontorapp_versionproperty. The game SDKs put them in the context of every event frominit(); a hand-set copy can disagree with the real build after a patch. - Check names against Google's 11 recommended events for games in GA4 (
tutorial_begin,tutorial_complete,level_start,level_end,level_up,post_score,unlock_achievement,earn_virtual_currency,spend_virtual_currency,join_group,select_content). Use them as a naming reference, not a plan: a premium game with no currency needs no currency events. - No personal data and no free text (
references/privacy.md). - Use the same name on the site and in the game (
wishlist_clickedin both, withplacement). - Manalens reads the standard names (
game_open,level_*,purchase,error) in its game dashboards, so keep them where they fit.
Write the plan. Two files:
analytics/tracking-plan.csvwithevent,description,properties,trigger,funnel_step,owner.propertiesis;-separated.ownerisgame,web,server,sdk(sent by the SDK on its own) orexternal(counted elsewhere, such as Steam UTM Analytics);web;gamefor both.analytics/tracking-plan.md: the questions, the table, the hook (file:line) per event, the UTM convention (docs/LINKS.md:utm_source= platform,utm_campaign= beat,utm_content= post ID; in-game buttons useutm_source=ingame, noutm_medium, and a placement with underscores inutm_content, such asdemo_end), consent choice, and what the plan cannot show.
Run
python3 skills/measure/tracking-plan/scripts/check_plan.py analytics/tracking-plan.csvand fix every ERROR before writing code.- Instrument. Add the calls at the hooks from step 2, with the exact API in
references/sdk-calls.md(GodotManalens.track(), UnityManalens.Track(), UnrealUManalensSubsystem::Track(), webanalytics.track()). Docs: https://docs.manalens.dev/sdks/overview- SDK setup:
init()once at boot withbuildset todevin the editor. Never paste a Secret key; the Publishable key (mana_pk_) is the only one that goes in a build. Leave aYOUR_PUBLISHABLE_KEYplaceholder if the user has not given one. - Do not send
game_open,session_*,errororgame_crashby hand: the game SDKs do. - Every link from the game to the site goes through
Manalens.get_handoff_url(url)(Godot),Manalens.GetHandoffUrl(url)(Unity),GetHandoffUrl(Unreal) ormanalens.getHandoffUrl(url)(a browser game on a portal, web SDK 0.10.0), so the web visit joins this player. - Store buttons send
wishlist_clickedfirst, then open the tagged store URL. - Consent: if needed,
consent_required: trueand a call toset_consent()from a consent screen. Kids' games: consent mode, noidentify(), noget_handoff_url(). - No Manalens? Add the stub wrapper from
references/sdk-calls.mdsection 7 and call it everywhere. Never call two tools from game code directly. - Show the diff. Do not commit.
- SDK setup:
Check. Run against the game and, if present, the site:
python3 skills/measure/tracking-plan/scripts/check_plan.py analytics/tracking-plan.csv \ --code . --code ../my-siteIt exits 0 when every
game,webandserverevent is sent and every sent event is planned. Use--owner gameto check only the game when the site lives elsewhere, and--requireto change the required funnel steps (a game with no store page yet:--require install,tutorial,play). A game that already sends Title Case names (Level Completed, Segment style) keeps them: pass--names titlerather than renaming events that have history. Fix each ERROR and run again. Read each WARN and say in the plan why it stays.- Ask the user to play a dev build and report back. Then confirm events arrive (Measure).
Output
analytics/tracking-plan.csv: one row per event, the six columns above.analytics/tracking-plan.md: questions, event table with hooks, UTM rules, consent and privacy notes, the check command, and a "cannot show" list.- Code changes: the SDK init, the track calls, the handoff links, and (without Manalens) one analytics wrapper file. Shown as a diff, not committed.
Measure
After a dev play-through, check every planned event arrived once with the right properties. With Manalens connected (scope
analytics:read), callget_analytics:{"report": "top_events", "date_from": "2026-11-26", "date_to": "2026-11-26", "filters": [{"field": "app_build", "op": "eq", "value": "dev"}]}top_eventslists the first 20 events only. For one event, usereport: "kpis"with{"field": "event", "op": "eq", "value": "tutorial_complete"}. No Manalens? Read the tool's live event view or debug log (Manalens SDKs print each event withdebug: true).- A week after release, the plan feeds
player-funnel(tutorial and level drop-off),attribution-report(wishlist_clickedand installs byutm_campaign) andmarketing-retro. - The number to watch first: share of
game_openwithis_first_openthat reachtutorial_complete. - With Manalens, add each event and what it means to the Agent's project memory (an item holds up to 280 characters, a project up to 80 items), so Agent questions use the plan's names. Keep the same text next to the plan, so both change when an event is renamed.
Gotchas
- Events from the developer's machine fill the reports: dev and live share one project. Set
buildtodevin the editor and filter it out. check_plan.pysays "never sent" for a call that exists: the name comes from a variable or a constant. The script warns about non-literal names. Use literals at the call site, or check by hand and note it in the plan.- Unreal Blueprints: calls in
.uassetfiles are binary and the grep cannot see them. List the Blueprint graphs by hand in the plan. - Names split history: renaming
level_completelater breaks every chart. Agree on names before code. Add a property instead of a new name. tutorial_stepthat fires twice: a replayed tutorial or a reloaded scene double counts. Send on the step's first completion per save, or addattempt.- Too many events: a
button_clickedon every button floods the queue and answers nothing. Track completed actions. Never send an event every frame or every second (such as player position). - UTM on Steam is a floor: many players search Steam later.
store_page_visitnumbers come from Steam UTM Analytics, not from game code. - Consent hides people: with consent mode, players who decline are not counted at all.
- Web export on a portal gets 403: add the portal host in Manalens Allowed origins
(
*.itch.zoneis allowed by default).
Version notes
- Manalens SDKs (docs read 2026-11-26): Godot 4 addon (
init,track,identify,set_consent,get_handoff_url; automaticgame_open,session_start,session_end,erroron 4.5+,game_crash), Unity (Init,Track,GetHandoffUrl), Unreal (settings,Trackwith three maps,GetHandoffUrl), web SDK (track, automatic page views and UTM,identity_handoff). Handoff links expire after 10 minutes. Event limits: names 1 to 128 characters, at most 50 properties and 8 KB, string values cut at 1,024 characters. Events older than 7 days are refused. Platform, storefront, app version, build and engine travel in each event's context. - Google GA4 recommended events for games: 11 names (Google Analytics Help, read 2026-11-26).
- Manalens MCP:
get_analyticsreportskpis,event_timeseries,top_pages,top_sources,top_events; filter fields includeevent,app_buildandproperties.<key>. - Platform rules in
references/privacy.mdchange. Re-read Apple, Google and console rules before a mobile or console release. - Last verified 2026-11-26.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

