GA4 Event Name Validator

Paste your planned event names and see which break Google's rules before they reach your tracking code.

How to use

What it checks and how it works

The tool applies the rules on Google's Event naming rules page: names are case sensitive, must start with a letter, may use only letters, numbers and underscores, and cannot use spaces, reserved event names or the reserved prefix query_id. It applies the 40-character limit from the Event collection limits page, and notes that an event over 40 characters cannot be reported as a key event. Reserved names are checked against the web list as errors and the Android and iOS list as warnings. Google says the reserved lists are not exhaustive and may be updated, and that GA4 shows an error when you use a reserved name, so this check cannot know names Google adds later. It warns, without calling them errors, about names that start with a prefix Google reserves for parameter names, about capital letters, and about two names that differ only by case.

Can event names contain Arabic letters?

Google's page says event names can include English and non-English words and letters. The name must start with a letter and use only letters, numbers and underscores. The tool counts characters, not bytes, against the 40-character limit.

What happens if an event name is too long?

Google's limits page says Analytics does not process an event name with more than 40 characters, and that an event over the limit cannot be reported as a key event.

Is page_view a name I can reuse?

No. page_view is on Google's reserved list for web streams, as are others such as session_start, click, scroll and form_submit. Pick your own name for your own event.

Sources

Related tools

Privacy

Runs in your browser; nothing is uploaded. The interactive tool needs JavaScript.