Product teams rename things. Features get rebranded, pricing pages change, a “project” becomes a “workspace” after a reorg. If your event names follow the labels in the UI, every rename breaks a chart, and three years of history turns into three short histories that do not join.
This is the scheme we recommend to every workspace in its first week. It comes from teams that renamed their product twice and still compare this quarter with 2023.
The shape: object, then past-tense verb#
Every event name is an object followed by what happened to it, in the past tense, in title case. Everything else goes in properties.
plotline.track("Report Exported", { format: "csv", rows: 1284, source: "dashboard" });
plotline.track("Teammate Invited", { role: "editor", via: "share_dialog" });
plotline.track("Plan Upgraded", { from: "growth", to: "scale", seats: 41 });Object first means related events sort together in every list: all the Report events sit next to each other. Past tense means an event is a fact that happened, not an intention or a screen.
Properties carry everything that varies: the format, the source, the plan, the count. A new variation should never need a new event name. If you are tempted to add one, ask whether a funnel would want to treat the two as the same step. If it would, it is one event with a property.
Twelve rules#
- Name the object your customer would name, not the component: Report, not ExportModal.
- Use the past tense: Invoice Sent, not Send Invoice or Sending Invoice.
- Title case for event names, snake_case for property keys. Never mix within one workspace.
- One event per outcome: Report Exported with
formatset topdf, not separate PDF and CSV events. - Keep the UI location out of the name. Put it in a
sourceproperty. - Never put an ID, an email or a date in a name. Names are a small, fixed vocabulary.
- Track the outcome, not the click. Teammate Invited fires when the invite is sent, not when the button is pressed.
- Send the account with every event, through
group, so every chart can count accounts. - Keep properties flat and typed. A number is a number, not the string “12”.
- Add, never repurpose. When the meaning changes, create a new event and keep the old one.
- Write each event in the tracking plan before it ships, with an owner.
- Review the plan every quarter and archive events nobody has queried in 90 days.
Surviving the rename#
The rule that pays off in a reorg is the first one. Say the product calls a shared space a “project” in 2024 and a “workspace” in 2026. If the event is Project Created, the 2026 team either keeps a misleading name or starts a new event and loses the history.
The fix is to name the concept, then send the label. Keep the event as Space Created and pass the current label as a property. When marketing renames it again, nothing in the tracking plan changes.
| Instead of | Send | Why |
|---|---|---|
| Clicked Export Button | Report Exported | Outcome, not click |
| project_created | Space Created | Concept, not label |
| PDF Downloaded | Report Exported · format: pdf | One event per outcome |
| Invite Modal Opened | Teammate Invited · source: modal | Location in a property |
| User 4821 Upgraded | Plan Upgraded | No IDs in names |
When you already have a mess#
Most workspaces arrive with a few hundred events, some duplicated, some dead. You do not need to rename them in code before you start. Plotline lets you merge events under one display name and hide the old ones, so charts read cleanly while the SDK calls are fixed over time.
Start with the twenty events your funnels and cohorts depend on. Across our workspaces they sit behind more than 90% of the charts people open. Fix those names first, write them in the tracking plan with an owner, and let the long tail fade on its own.
Let the compiler enforce it#
If you generate types from the tracking plan, a misspelled event or a missing property fails the build instead of polluting the data. Our TypeScript, Swift and Kotlin SDKs read the plan and refuse events it does not list. It is the cheapest way we know to keep twelve rules from becoming twelve suggestions.