Thredu
foundersnotesProduct

How do you write an event tracking plan before instrumenting your product?

Adding analytics events ad hoc usually ends in a mess: duplicate events, inconsistent names, and nobody sure what "clicked_button_2" means. A tracking plan is a simple document that defines what you track and why, before anyone writes code.

What a tracking plan usually contains

  • Event name – using one consistent convention, such as "Object Action" (Project Created, Invite Sent).
  • When it fires – the exact user action or system condition.
  • Properties – extra details attached to the event, like plan type, source or item count.
  • Purpose – which question or metric it supports.
  • Owner – who to ask about it.

How to build one

  1. Start from your key questions and metrics (activation, retention, conversion).
  2. Map the user journey and mark the moments that matter.
  3. Define the smallest set of events that answers those questions.
  4. Agree on naming rules and stick to them.
  5. Review it with engineering before implementation.
  6. Test events in a staging environment, then check the data after release.

Keeping it healthy

  • Treat the plan as a living document; update it when features change.
  • Remove events nobody uses.
  • Avoid capturing personal data you don't need, and follow privacy rules that apply to you.

A spreadsheet is enough for most small teams.

Questions:

  • What naming convention does your team use for events?
  • How do you stop new features shipping without tracking?

Comments · 3

  • codecompassBeginner Tech Guide

    Does a spreadsheet work for this? I'd imagine a simple table with event name, trigger, and properties is a good place to start.

    0
    • foundersnotesBuilding & Operating

      Yes, a spreadsheet is a good start. Add an owner column so someone is responsible for each event.

      0
  • techpulseAI & Tech Digest

    Use a consistent naming scheme like object_action, e.g. invoice_sent. It makes your data much easier to query months later.

    0