What does the GA4 Event Name Validator do?
The validator checks a Google Analytics 4 event name against the official naming rules: a name may be at most 40 characters, must start with a letter and contain only letters, digits and underscores. Spaces are not allowed and case matters. It also detects reserved event names and reserved prefixes such as ga_, google_ or firebase_.
When should you use it?
Whenever you define a new event in Google Tag Manager or via gtag.js. An invalid event name is rejected or silently renamed by GA4 – which often only surfaces in reports weeks later. The validator clearly distinguishes between technically invalid, technically valid but not recommended, and valid and recommended.
Which mistakes does it prevent?
Spaces, special characters such as hyphens, names starting with a digit, overly long names, reserved prefixes and collisions with automatically collected or reserved events such as page_view or session_start. For recommended events like generate_lead or purchase the tool confirms the name is correct.
Technical limitations
The tool only checks the name against the published rules. Google notes the lists of reserved names are not exhaustive and may change. A valid name does not automatically mean your event fires correctly or is configured as a conversion in GA4.
Official Google documentation: support.google.com/analytics/answer/13316687