Free guide · Metrics & Experiments

Event Naming and Instrumentation Guide: What to Track, Name and Pass

How to decide what to track, how to name events, what goes in user and event properties, and what to pass to build a funnel, with an onboarding funnel example.

Most tracking problems are decided before a line of code is written: unclear questions, vague triggers, inconsistent names and facts stored in the wrong place. This guide gives a product manager a repeatable way to decide what to track, what to name it and where each fact belongs, with an onboarding funnel for a consumer app as the worked example. It is general practice and works in any analytics tool (Mixpanel, Amplitude, GA4, CleverTap and similar).

1. Start with the question, not the events

Write the questions the data must answer before listing a single event. Each question tells you which events, properties and breakdowns you need.

QuestionWhat it needs
Where do new users drop off before finishing onboarding?One event per funnel step, a shared flow identifier, and the failure events that explain each drop.
Does onboarding convert differently by channel, platform or variant?Channel and variant as properties you can break down by, on or before the first step.
Are users who complete onboarding more likely to come back?A user property for onboarding status and a way to link it to later events.
Why do OTP verifications fail?A failure event with a controlled error_code, plus attempt number.

If you cannot say which decision a metric will inform, do not track it yet. Every extra event costs engineering time, QA time and dashboard clutter.

2. The five things to decide

DecisionWhat you are decidingExample
EventsThe user or system actions worth recording, and exactly when each fires.signup_started
Event propertiesThe context of that one action: what, where, how, how long, why it failed.method = phone
User propertiesFacts about the person that persist and are used to segment and build cohorts.signup_method = phone
Common (super) propertiesContext sent on every event automatically.platform, app_version, session_id
IdentityHow an anonymous visitor becomes a known user, and how the two are merged.Anonymous ID before login; user ID after sign-in; one identify call at signup and login.

3. User property or event property? The decision rule

Swipe sideways to see the whole diagram.

Where a fact belongsA user property describes who the user is and persists. A common property is attached to every event. An event property describes the context of one action.User property: who the person isPersists and changes slowly. Used to segment and build cohorts. Example: signup_method, city,acquisition_channel.Common (super) property: attached to every eventSet once, sent automatically. Example: platform, app_version, session_id, flow_id, experiment_variants.Event property: context of this one actionDescribes this moment only. Example: method, error_code, attempt_number, duration_ms.
Where a fact belongs.

Use these questions in order:

  1. Do I want to segment or build a cohort of people by it? It is a user property (for example, users from a given city or channel).
  2. Do I want to break down a single action by it? It is an event property (for example, OTP verifications by channel).
  3. Does it need to be sent with every event? It is a common property (platform, app version, session).
  4. Does the value change over time, and do I need the value as it was at that moment? Pass it as an event property. A user property is overwritten, so it only ever shows the current value.
FactWhere it belongsWhy
signup_dateUser property (set once)Describes the person and never changes.
acquisition_channelUser property (set once) and optionally an event property on the first eventsA cohort and breakdown key. Keep first-touch frozen.
kyc_statusUser property for the current state; event property on key events for the value at that timeCurrent state for segments; value-at-the-time for accurate funnel analysis.
error_codeEvent propertyTrue of one failed action only.
amountEvent propertyDifferent every time.
plan_typeUser property; also event property on purchase eventsSegments by current plan; keeps the plan that applied at purchase.
app_versionCommon propertyNeeded on every event to find version-specific bugs.

4. Naming conventions

  • Events: object_action in lowercase snake_case, action in past tense: signup_started, otp_verified, profile_completed.
  • Use a fixed verb vocabulary: viewed, clicked, started, submitted, completed, failed, skipped, requested. Pick one verb per meaning and stick to it.
  • Properties: snake_case nouns. Booleans start with is_ or has_. Put units in the name or document them: duration_ms, amount_inr.
  • Values: lowercase and from a fixed list (sms, call), never free text.
  • Never put values or ids in event names. clicked_blue_button_3 should be button_clicked with button_name and position as properties.
  • One name for one meaning. Do not track both signup_complete and user_registered for the same moment.
AvoidUseWhy
Clicked Sign Up Buttonsignup_startedSpaces and capitals break consistency; name the intent, not the widget.
otp_screenotp_requested, otp_verified, otp_failedA screen is not an action; track what happened.
click_home_tab_banner_2banner_clickedPut banner and position in properties.
onboardingonboarding_completedSay what happened, not just the topic.

Use the Event Name Checker to test a list of event names against these rules.

5. What to pass so a funnel works

A funnel is a sequence of events for the same person in order within a time window. It breaks when any of these is missing:

  • Identity that stitches steps together. The same user or anonymous ID across all steps, merged at login.
  • A reliable timestamp and a defined conversion window (for example, finish onboarding within 24 hours).
  • A flow or attempt identifier. A flow_id (or similar) generated when the flow starts and sent on every step lets you separate attempts and measure time between steps.
  • A clear trigger definition for each step. Write exactly when it fires (on screen shown, on tap, or on server confirmation).
  • Breakdown properties you will slice by: channel, platform, app version, method, experiment variant, user type.
  • Failure and exit events with a controlled reason, so you can see why people leave and not only where.
  • Step numbers or names that stay stable. Renaming a step breaks history; version instead.

6. Worked example: onboarding funnel for a consumer app

The funnel below is a typical signup and activation journey. Steps and names are illustrative; adapt them to your product. Failure events sit beside the main path.

Swipe sideways to see the whole diagram.

Onboarding funnel eventsA consumer app onboarding funnel: app opened, signup started, OTP verified, profile completed, onboarding completed, first core action completed. Failure events such as otp_failed branch off the main path.1. app_openedis_first_open = true2. signup_startedmethod, entry_point3. otp_verifiedattempt_number4. profile_completedfields_completed5.onboarding_completedduration_ms6.first_core_action_completedaction_type
Funnel steps (main path). Failure and side events: otp_failed, permission_responded.

6a. Events and when each fires

#EventFires exactly whenEvent propertiesSource
1app_openedApp launches; is_first_open is true on the very first launch onlyis_first_open, source, referrerClient
2signup_startedThe user taps the primary sign-up actionmethod, entry_pointClient
-otp_requestedThe server confirms the OTP was sentchannel, attempt_numberServer
3otp_verifiedThe server confirms verification succeededattempt_number, duration_msServer
-otp_failedThe server rejects an OTPerror_code, attempt_numberServer
-permission_respondedThe user answers a system permission promptpermission, responseClient
4profile_completedRequired profile details are saved successfullyfields_completedServer
5onboarding_completedThe last onboarding step succeedsduration_ms, steps_skippedServer
6first_core_action_completedThe first meaningful action succeeds (your aha moment)action_type, days_since_signupServer

6b. Common properties on every event

PropertyTypeWhy
platformstringIos, android or web; the first breakdown for any drop.
app_versionstringFinds version-specific bugs.
session_idstringGroups events of one visit.
flow_idstringOne value per onboarding attempt; separates attempts and measures time between steps.
experiment_variantslistLets you compare variants without a join.
anonymous_id / user_idstringIdentity before and after sign-in, merged by one identify call.

6c. User properties

PropertyUpdate ruleUse
signup_dateSet onceCohorts by signup week.
signup_methodSet onceCompare phone and social sign-up.
acquisition_channelSet once (first touch)Cohort and breakdown by channel.
onboarding_statusOverwriteSegment users stuck in onboarding.
notification_permissionOverwriteReachable-by-push cohort.
cityOverwriteRegional comparison; keep it coarse.
total_core_actionsIncrementEngagement level.

6d. How the funnel is read

  • Funnel: app_opened → signup_started → otp_verified → profile_completed → onboarding_completed → first_core_action_completed, within a conversion window (for example 24 hours to finish onboarding, 7 days to the first core action).
  • Breakdowns: platform, acquisition_channel, method, app_version, experiment_variants.
  • Diagnosis: at the step with the biggest drop, look at the failure event: otp_failed by error_code and attempt_number, and time between steps from duration_ms.
  • Quality check: count otp_requested against otp_verified plus otp_failed; a large gap points to missing events or a user abandoning, not a product problem.

6e. What I would not track

  • Every screen view as a separate custom event, unless a decision depends on it. One generic screen_viewed with screen_name is usually enough.
  • The phone number, email or any personal data in properties.
  • Values that can be derived later, such as the weekday.
  • Events no one has a question for.

7. Client events or server events?

Use client events forUse server events for
Taps, screen views and things only the device knows (permission prompts, scroll, UI errors).Anything that changes money or account state, and every success you must trust: OTP verified, payment succeeded, loan disbursed. Server events do not get lost to a flaky network, an ad blocker or an app kill.

For important steps, send the attempt from the client and the confirmed outcome from the server, and compare the two to find drop-off caused by instrumentation.

8. Privacy and personal data

  • Do not send names, phone numbers, email addresses, government IDs, card or account numbers in event or user properties. Use internal IDs.
  • Collect only what a question needs, and record consent where the law or your policy requires it.
  • Mark every property that might contain personal data in the tracking plan so it is reviewed.
  • Check applicable rules with your legal and compliance teams; this guide is not legal advice.

9. Governance: keep one tracking plan

  • One tracking plan (a sheet or tool) is the single source of truth for event names, properties, types, triggers and owners.
  • Every new event goes through a short review: question, name, trigger, properties, owner.
  • Verify before launch: fire the event in a test build, check it in the live stream, and compare counts with a manual test.
  • Version and deprecate instead of renaming. Mark old events deprecated and keep the history readable.
  • Build the dashboard from the plan and write the metric definitions next to it.

The event tracking plan template (text and Excel) is pre-filled with this onboarding example, and the metrics and event-tracking spec covers the metric side.

10. Common mistakes

MistakeFix
Tracking everything and answering nothingStart from the question; track the minimum that answers it.
Two names for one actionOne name per meaning, checked against the tracking plan.
Values or ids inside event namesMove them into properties.
A property that changes stored only as a user propertyAlso send it as an event property when you need the value at that time.
No flow or attempt identifierGenerate a flow_id at the start and send it on every step.
Success events fired from the client for money or state changesFire them from the server after confirmation.
Free-text error messagesUse a controlled error_code list.
Changing a definition silentlyVersion the event and note the change date.

Frequently asked questions

What is the difference between a user property and an event property?

A user property describes the person and persists across events, for example signup method or city. An event property describes the context of a single action, for example the error code on a failed OTP. Segment people by user properties; break down one action by event properties. When a value changes over time and you need its value at that moment, send it as an event property.

What is a super property or common property?

It is a property attached automatically to every event, such as platform, app version and session ID. You set it once instead of on each event, so every funnel step can be broken down by it.

How should I name analytics events?

Use object_action in lowercase snake_case with the action in past tense, for example otp_verified. Use a fixed vocabulary of verbs, keep values and ids out of the name and put them in properties, and use one name for one meaning.

What do I need to pass on events to build a funnel?

A consistent identity across steps, a timestamp, a clear trigger for each step, a flow or attempt identifier, breakdown properties such as channel, platform and variant, and failure events with a controlled reason.

Should I fire events from the client or the server?

Fire taps and screen views from the client. Fire anything that changes money or account state, and every outcome you must trust, from the server after confirmation.

More free tools

See all free PM tools →

Want a second pair of eyes on your PRD or career?

I offer mock interviews, resume reviews and product guidance for product managers.

Book a session