Blog / Tools & automation /

Creating a reliable naming system for analytics events

One report calls it form_submit. Another says lead_form. A third tracks the confirmation page view. Everyone is counting something, and nobody is sure it’s the same thing.

So before you argue about how to spell the event, agree what it means.

Consistent names make reports easier to read, but names alone don’t make measurement reliable. Each event needs a clear definition, a reason to exist and a test showing it fires at the right moment.

Describe the action first

Write the user action in plain language before choosing an event name. “A visitor completes the contact form and sees confirmation” is clearer than “conversion”. The definition should say what must happen, what does not count and whether repeated actions are recorded separately.

Ask what decision the event will support. If nobody knows what they’d do differently after seeing the number, you may not need to track it. That’s the first question I ask when someone requests a new event. More events can create more maintenance and more opportunities to misread the data.

Distinguish an action from a page view. Someone arriving at a thank-you page may have submitted a form, refreshed the page, or opened a saved URL. Decide whether the event should fire on successful submission, on a confirmation view, or through another mechanism that accurately represents the intended action.

Choose conventions people can follow

Set a simple format for event names, such as lower-case words separated by underscores. Use names that describe the action rather than the report outcome. Be consistent about singular or plural, verbs and object order. Keep temporary campaign details out of permanent event names. A parameter or campaign dimension does that job better.

Keep a short dictionary with each event’s name, plain-language definition, trigger, parameters, owner, date introduced and status. Document allowed parameter values and whether a parameter can contain personal information. A name such as download_resource may be clear, but the resource name should be captured consistently if it is needed for analysis.

Don’t create a new event for every page or button without thinking about the data model. I’d rather have one stable event with a controlled parameter than a pile of near-duplicates. A stable event with a controlled parameter can be easier to maintain, but only if reports can reliably use that parameter. The convention should reflect how the site is built and how the team actually analyses it.

Use GA4 terms carefully

GA4 calls the actions designated as important for a business key events. Decide which events deserve that designation based on their meaning, not because a report needs a larger total. A page view, scroll or generic click isn’t automatically a key event. I don’t trust a key event list that grew because a report wanted a bigger total.

Keep the definition of each key event alongside the event dictionary. If priorities change, record when, so readers can interpret older periods. Avoid implying that an event records revenue or a completed sale if it only records a button interaction.

If another system also measures the same action, state which source is used for reporting and why. Analytics platforms can disagree because of consent, attribution, timing and implementation. A single naming convention does not remove those differences.

Test the implementation

Before deploying a new event, test the expected action on the site. Confirm it fires once at the right moment, does not fire on an error and includes the intended parameters. Check edge cases such as repeated submission, back navigation, validation failure and mobile interaction.

After deployment, inspect the data in the relevant debugging or reporting interface. Record the test date and page. If the event appears only after a delay, note that before treating a short-term empty report as a tracking failure.

Review the existing event list periodically. Look for near-duplicates, old events and names whose definitions have drifted. Don’t delete or rename an event casually: dashboards, reports and integrations may depend on it. Plan changes, document the transition and explain how historic and new data relate.

Make ownership part of the system

Assign someone to approve event definitions and someone to maintain the implementation. If a developer changes a form, the event owner should know whether its trigger still works. If a marketing colleague requests a new measurement, ask for the decision it supports and include that in the request.

Plan changes before renaming events

An event name may be used by dashboards, scheduled exports, reports and third-party tools. Before changing it, search for those dependencies and decide how the old and new names will coexist. If the event is replaced, document the effective date and how the reporting team should handle periods that contain both definitions.

Test a new naming convention on a few important actions before migrating every event. Check the names read well in the analytics interface, the reports can use the parameters and nothing fires twice. Use a staging environment or test property when available, then verify the live version after release.

Avoid embedding personal information in event names or parameters. User-entered text, email addresses and other identifying details do not belong in an analytics payload unless the system and consent process explicitly permit the collection. A tidy naming scheme can’t make up for unsafe data collection.

Write definitions for people, not just tools

A future analyst should be able to read the event dictionary and understand what the number represents without opening the implementation. Include a plain-language example and a non-example when a name could be interpreted in more than one way. For instance, does form_submit count an attempt or a successful submission? That distinction matters when someone uses the event to judge a form.

Keep the dictionary in the same place as related tracking plans and implementation notes. Give it an owner and a process for approving changes. If a vendor, developer or marketer adds a new event, ask them to update the definition before the tracking is treated as complete.

Review the list when a key journey changes. A clear naming system is a small form of data governance that protects the meaning of future reports.

A naming system is useful when it keeps the meaning attached to the data as people and pages change. What event in your analytics would benefit from a clearer definition before another report uses it?