How to build a clear analytics event naming convention
One report calls it form_submit. Another says submit_form. A third just says lead. Are they the same behaviour or different steps? Nobody knows, and the data you collected is now harder to trust.
A naming convention fixes that. It gives the team a shared language for what users do: simple enough to follow, specific enough to tell actions apart and stable enough to report on over time. The exact structure matters less than being clear and consistent.
Start from decisions and user actions
List the questions the business needs analytics to answer. Which pages lead to enquiries? Do visitors use filters before adding a product to cart? Which download or tool action indicates meaningful engagement? Define the important behaviour before inventing event names.
Separate a user action from a page view or system event. “Clicked the CTA” describes an interaction; “generated a qualified lead” describes a business outcome that may require data from another system. Do not use one event name for both unless the measurement definition makes the relationship clear.
Map the customer journey and select events that inform a decision. I’d rather measure ten actions I trust than a hundred I can’t explain. Measuring every click creates noise; measuring too little hides critical steps. For each event, write what it means, when it fires and what the team will do with the information.
Choose a predictable naming pattern
Agree on a format such as a consistent verb followed by an object, with a defined separator and casing. Names should be readable in reports and code. Avoid mixing past tense, present tense, abbreviations and platform-specific labels without a reason.
Use names that describe the action rather than the campaign or page where it occurred. A generic select_item event may be useful across pages if parameters identify the item and context. A separate event may be warranted when the behaviour has a distinct business meaning. Document the decision and avoid near-duplicates.
I keep event names short and use parameters for attributes such as item ID, form type, page category, market or placement where those fields are appropriate and consented. Parameter names also need a convention, allowed values and an owner. Free-text values can create many inconsistent variants.
Define each event in a measurement spec
Create a table with event name, purpose, trigger, parameters, allowed values, firing frequency, source, owner and validation method. Include examples and negative cases. For a purchase event, explain whether it fires on confirmation, how duplicate submissions are prevented and which fields are required.
State what an event does not mean. A form_submit may indicate that a form was sent, not that the lead was qualified. A purchase event may require deduplication with a server-side source. Clear boundaries prevent stakeholders from turning one signal into a stronger outcome claim.
Keep the spec versioned. If an event changes meaning or a parameter is renamed, record the effective date and how reporting will handle the break. Do not silently repurpose an old event name for a new behaviour; historical data would become misleading.
Align with GA4 and other systems
GA4 has recommended event names and parameters for common ecommerce and interaction actions. Use current documentation to determine which names are appropriate and how they affect reporting. Do not assume that a custom label will behave like a recommended event just because it sounds similar.
Define which events become key events based on the business goal. Marking every interaction as a key event makes reports less useful. Verify that the event represents a meaningful action and that it fires once in the intended context. GA4’s key event settings and reporting can change, so document current configuration.
If analytics connects to a CRM or ad platform, define how identifiers and statuses are mapped. Use only permitted data and follow consent requirements. A naming convention does not justify sending personal information as an event parameter.
Implement and test the convention
Write the tracking plan before you add any tags, and give marketing, analytics and development a clear owner each. Keep production access tight, and test in a preview environment where you can.
Use debugging tools and real user paths to check firing. Test success, failure, validation error, reload, back navigation, single-page application routes, mobile behaviour and consent states. Look for duplicate events and missing parameters. A tag firing in preview doesn’t prove the reports will show it.
Validate reports after deployment. Confirm that event counts, parameters and key event settings appear as intended. Check a small sample against the source system. If the numbers differ, check consent, ad blockers, aggregation, data thresholds and the implementation before blaming user behaviour.
Maintain the naming system
Assign a measurement owner who can review new event requests and retire unused names. Keep a searchable glossary for analysts, developers and marketers. Include naming examples in onboarding and code review checklists.
Review event lists periodically for duplicates, typos, old campaign-specific names and parameters with inconsistent values. Do not delete historical definitions casually. If an event must be retired, record when it stopped and which report should replace it.
When a site redesign or platform migration occurs, map old events to the new convention. Preserve continuity where possible and mark breaks clearly. A dashboard that combines different definitions without disclosure can create a false trend.
Make every event explainable
An event name is useful when a colleague can tell what happened, under which conditions and what the data can support. The convention is a small piece of infrastructure that makes future analysis less ambiguous.
Related reading
- Creating a reliable naming system for analytics events
- Checking GA4 key event setup after a form redesign
- GA4 key events for an ecommerce content journey
Pick one key customer action and write its definition today. Could a developer implement it without guessing, and could a business reader understand what the count means?