06.1.2 · Skill in Product instrumentation

Tracking plans

A written plan of what to track, why, and which question it answers.

A tracking plan lists events and properties alongside the questions they answer. It stops teams tracking everything and still missing what they need. It is also the spec that engineers implement and review against.

Your status · Tracking plans

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

Why it matters for a product engineer

Without a plan, teams track everything and still cannot answer the question that matters. A tracking plan starts from the questions, then lists the events and properties that answer them. It is also the spec a product engineer implements, tests and reviews against, so the data means the same thing to everyone who reads it.

How to do it

  1. Write the questions first: what will you decide, and what would you need to see to decide it?
  2. For each question, list the events: one name per user action, in one naming pattern, such as object and action.
  3. Define each property: its type, its allowed values, and an example.
  4. Say exactly when each event fires: on the click, or when the server confirms the action.
  5. Give every event an owner, and keep the plan in the repository, next to the code that fires it.
  6. Review changes to the plan like code. Remove events that answer no question.

Common mistakes

  • Tracking every click “just in case”.
  • Names that change from one team to the next: “Sign up”, “signup”, “User Signed Up”.
  • A plan in a spreadsheet that the code no longer matches.
  • Properties that carry personal data by accident.

Example

At GitLab, each event is defined in a file in the repository, created with a command-line tool. Names follow one pattern, an action, its target and where it happens, such as create_ci_build. GitLab’s analytics team now also runs agents for this work. One turns a tracking idea into an issue, one writes the definitions, code and tests, and one reviews instrumentation changes when a merge request is ready for review.

Anatomy

Part of a GitLab event and its definition

track_internal_event("create_ci_build", 1 user: user, project: project) 2additional_properties: label: description: The source of the pipeline, e.g. a push, a schedule or similar. 3 agent: description: Type of the execution agent.4

  1. 1The eventAn action and its target, in one naming pattern
  2. 2IdentifiersFill in as many as you can, for better data
  3. 3Built-in propertyA flat column in the warehouse, ready to query
  4. 4Custom propertyNested, so querying it may need the data team

Every property has a description, and the plan says where it lands in the warehouse. The definition is code, reviewed with the change that fires it.

ReportedGitLab docs, internal event tracking

Sources: Quick start for internal event tracking (GitLab docs) ↗ · Planning a full installation (Twilio Segment docs) ↗

AI leverage

Use AI in your work

Use AI to support this skill. Your judgment and verification remain part of the work.

Workflow
Draft events and properties from a user journey and the decisions the team wants to make.
Limitations
Generated plans tend to collect too much and may include personal data or ambiguous event meanings.
Verification
Trace every event to a question, inspect payloads and confirm when it fires in the product.

Technical leverage

Implement instrumentation at reliable boundaries and validate event delivery, identity and deduplication.

Evidence of mastery

Put it into practice
Practice
Instrument one value moment and the steps leading to it.
Artifact
A tracking plan, validated payloads and a query that answers the original product question.

What good looks like

  • Events have owners, triggers and property definitions.
  • The measured behavior can be reproduced in a test session.

Use this evidence to assess your work. Your map status is a self-assessment, not a certification.

In practice

Real products

Resources

3
  • docsStart here
    Planning a full installation ↗
    Twilio Segment docs · 12 min

    A practical walk through deciding what to track, with a tracking plan template and the reasons behind each choice.

  • docsStart here
    Plan your taxonomy ↗
    Amplitude docs · 2026 · 8 min

    How to go from business questions to a small set of events and properties, with naming advice.

  • articleStart here
    Event tracking guidelines ↗
    Nimble · 5 min

    A product studio's own short, opinionated rules for naming and documenting events. Good to copy as a starting point.

Tools

2
  • ToolFreemium
    Avo

    Tracking plan tool that keeps event definitions, code and analytics in sync and catches bad events.

  • ToolFreemium
    Twilio Segment

    Collects events once and sends them to analytics, marketing and warehouse tools, with tracking plan enforcement.