Event standards
Design specific, reusable events for behavior analysis.
Name the behavior and workflow step#
Event names must be specific enough to explain what happened and where it happened. Include the workflow, feature, or step when it helps explain drop-off.
Good names:
Opened Education Step of Immigration formFilled Education Step of Immigration formStarted filling UK immigration reportOpened checkout pageAttempted payment on checkout pageCompleted payment on checkout pagePayment failed on checkout page
Avoid clicked, signup, button_clicked, form_input, or payment.
Specific does not mean collecting input. Describe the action and state, never the value the user entered.
Reuse an event dictionary#
Declare names and descriptions once, then reuse them:
This prevents spelling drift and makes event definitions reusable.
Track behavior, not input#
Safe properties describe actions, states, outcomes, counts, categories, and coarse identifiers:
Do not send form values, search terms, chat messages, prompts, passwords, payment details, or arbitrary free text by default. Do not put user input in an event name. Only track a particular input when the user explicitly requests it and confirms that it is appropriate.
Payment analysis#
Send events when the user enters checkout, attempts payment, and receives a success or failure result.
Use status codes and categories, never card numbers, CVVs, bank details, payment tokens, or raw provider responses.
Forms and workflows#
Useful form events include opened step, completed step, continued, validation failed, and abandoned. Their properties should identify the step and outcome, not the answer.