# Event Naming Conventions & Analytics Data Dictionary

> Define event names, properties, triggers and deduplication with signup and payment examples that can be reconciled against business systems.

Source: https://screenflows.dev/en/learn/guides/event-naming-conventions
Updated: 2026-11-26

A product manager wants a signup completion rate: how many people opened a registration form last week, and how many successfully created an account? An engineer finds `signup`, `signup_success` and `register_done` in the event list. One was sent by an old page, one fires on button click, and one comes from the server after account creation.

Adding the three names does not produce the number of successful signups. Naming is only the start. The team must agree what each event means, when it is sent, how duplicates are recognized and how counts reconcile with business systems. The company, event data and counts below are **fictional examples**.

![Workflow from business action to event naming, schema properties, and backend reconciliation](/learn/assets/diagrams/en-event-naming-conventions.svg)

## Turn one business question into events

Suppose the question is: “Of people who reach the signup form, how many create an account?” Define the unit, starting event, success and observation window first. For example, among linkable users who first see the form in a week, how many complete account creation within seven days? Each person needs a full seven days. Someone who arrived yesterday cannot be labeled a failure yet.

A minimal dictionary could look like this. Final names should match the team's agreement and actual collection.

| Event | Trigger | What it should not imply | Suggested source |
|---|---|---|---|
| `signup_started` | The form is actually displayed | The entry was clicked but form failed to load | Web or app |
| `signup_submitted` | The person submits the form | Account creation succeeded | Web or app |
| `signup_completed` | Account creation result is confirmed | A request was merely received | Server |
| `signup_failed` | Registration returns a categorized failure | Someone merely left the page | Server or reconcilable client error |

A team may instead define “signup started” as submitting a form, but must state and consistently use that definition. It cannot mean form display in one report and submission in another. Distinguish validation failure, service failure and voluntary cancellation. Do not invent a failure event merely because no success event appears.

## Give events stable, specific names

One workable convention uses lowercase English words separated by underscores, with an object and a past-tense action: `project_created`, `report_exported`. The important part is the boundary: `signup_started` and `signup_completed` distinguish starting from finishing more clearly than a vague `signup`.

| Ambiguous name | Possible replacement | First confirm |
|---|---|---|
| `click_buy_btn` | `checkout_started`, or record the click separately | Whether the click actually opens checkout; the two are not automatically equivalent |
| `pay_ok`, `purchase_success` | `payment_succeeded` | Whether both mean the same confirmed payment state |
| `create_design` | `design_created` | Whether it means a request or confirmed creation |
| `signup` | `signup_started`, `signup_completed` | The actual trigger for each step |

A button click and a business result can both be useful. After a redesign, clicks may help reveal a UI problem, but a click should not quietly become a confirmed payment. A convention helps names correspond to stable facts; spelling consistency alone is not enough.

## Put changing values in properties

If one successful signup event supports email and another method, use one event name with a defined `method` property. A plan can similarly use a controlled `plan` value. Adding a method then need not create a new event name. For amounts, agree on unit, currency and tax treatment. Refund and successful payment need distinct states or events; do not mix positive and negative amounts without explanation.

```text
signup_completed  { method: "email" }
payment_succeeded { plan: "pro", amount: 99, currency: "CNY" }
```

These are field examples, not real account or payment details. Define permitted values, what a missing value means and an owner for each property. If different channels have genuinely different success conditions, the same name does not make them comparable. Align business definitions first, or record the difference in the dictionary.

## Record client actions and server outcomes separately

Page displays, clicks and scrolling are generally observed by a client. Results such as account creation and confirmed payment are better reported from the authoritative server. A client can lose events when a user leaves or the network fails. Servers can also produce duplicates or gaps through retries, incorrect timestamps or permission problems. Both sources need monitoring and reconciliation; server events do not automatically cover every client action.

ScreenFlows supports browser collection, server-side event batches and file uploads. Server events require `user_id`, `event` and a timestamp; configure optional fields and properties according to the connection documentation. Paths before and after login can be linked only when a reliable anonymous-to-account relationship exists. See the [identity guide](/en/learn/guides/identity-stitching); do not guess that unrelated devices belong to one person merely to fill a gap.

A payment provider may retry a callback. Keep a reconcilable internal order identifier in the business system and a stable event occurrence time; check whether retries reuse that time. The ScreenFlows merge process deduplicates by user, event and time. If a retry gets a new timestamp, that rule alone does not guarantee that the events will merge. Reconcile using the order system's business definition.

## Reconcile a small worked example

Suppose 200 identifiable users first see a signup form during a test week. Of these, 160 submit and 140 successfully create accounts within their own complete seven-day windows. Form-to-completion is 140 ÷ 200 = **70%**; completion among submitters is 140 ÷ 160 = **87.5%**. This example assumes all completers are submitters and each user is counted once per step.

If the account system shows 145 eligible successful accounts while the event table contains 140 users, do not call five people “lost” immediately. Check time ranges, administrator-created accounts, duplicate registrations, anonymous-to-signed-in identity relationships, reporting delay and rejected events. Reconcile individual test records before explaining the remainder.

The observation window also changes results. Someone who just submitted may complete email verification days later; a report cut too early misses the success. Give each signup cohort the same completed window before comparison. These numbers illustrate the arithmetic; they are not a benchmark.

## Design privacy and access into the fields

Do not place names, email addresses, phone numbers, full addresses, free-form form text, tokens or payment credentials in event names, URLs or properties. Search queries and filenames can contain personal information too; categories, length or a non-sensitive error code may answer an analytics question without the original text. Even a hashed stable identifier may remain linkable to a person. Hashing does not eliminate access, retention or deletion considerations.

Collection must respect consent and applicable settings. The dictionary should record each field's purpose, source, permitted values, access and retention. Check with the people responsible for privacy and security; technically possible to send is not the same as appropriate to collect.

Check relationships between events as well as individual events. Suppose there are 140 signup-completion events and 150 successful payments. That alone does not prove an error: payments may come from users who registered earlier or used another signup path. Establish whether both tables cover the same cohort and window before investigating unmatched records.

An ordered funnel needs usable event times and linkable user identifiers. Late events, incorrect device clocks or different event names across clients can change the observed order. Record event time, time zone, send time and receipt status in tests. For offline uploads, distinguish when the action occurred from when the server received it. Never invent a successful step to make the funnel look better.

## Check before launch and when renaming

1. With test accounts, exercise success, validation failure, network interruption and repeated submission. Reconcile timestamps and system outcomes against the definitions.
2. Verify routes, mobile behavior and relevant permission states. For a single-page app, check that route changes really produce the intended page or event.
3. Reconcile event counts against the business system for a period. Explain duplicates, delay and unlinked identities separately rather than comparing only totals.
4. Test collection after consent is declined or withdrawn, and inspect URLs and properties for sensitive data.
5. Before renaming an event, list reports and consumers affected. Record old and new definitions, switch time and treatment of history. If both names are temporarily sent, define deduplication so one action is not counted twice.

ScreenFlows provides recommended events and connection checks that help identify common events and reporting problems. The team must still confirm automatically inferred goals, steps and display names against the business. Check custom event names and their journey stages in business semantic configuration; a correctly formatted name does not mean every business definition is automatically understood.

## References

- [MDN Web Docs: Navigator.sendBeacon() and reliable page-unload telemetry](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)
- [Google Analytics 4 Help: Engagement rate and bounce rate](https://support.google.com/analytics/answer/12195621?hl=en)

## FAQ

### If event names match, can we compare products directly?

Not necessarily. One product may fire `signup_completed` before email verification and another after it. Align the population, window and trigger before comparing.

### Do payment clicks and successful payments need separate events?

Usually both are useful: one represents an attempt and the other a confirmed outcome. Reconcile retries and callbacks so attempts do not become orders.

### Does renaming an event automatically preserve historical reports?

Do not assume so. Check the analytics system's mapping and historical processing, document versions and switch time, and verify reports. Do not casually rewrite history.
