Free – no sign-up

GA4 Event Name Validator

Check GA4 event names in real time against the official Google rules – length, characters, reserved names and prefixes.

  1. Step 1

    Enter the event name

    Type or paste your GA4 event name.

  2. Step 2

    Validate instantly

    Validation runs live against the current Google rules.

  3. Step 3

    Copy the suggestion

    Use the cleaned name suggestion if needed.

Context
0/40 characters

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

Next step

From a checked name to a finished GTM tag

Checked your event name? With the GTM Builder you turn it into matching GA4 tags and triggers automatically – including the required dataLayer variables.

FAQ

How long can a GA4 event name be?

Up to 40 characters. Longer names are truncated or rejected.

Are uppercase letters allowed in GA4 event names?

Technically yes, but event names are case-sensitive: my_event and My_Event are different events. Consistent lowercase snake_case is recommended to avoid accidental duplicates.

Why is page_view flagged as an error?

page_view is a reserved, automatically collected GA4 event. You cannot recreate it as your own custom event – choose a different name for your purposes.

Can an event name start with ga_ or google_?

No. The prefixes _, ga_, google_ and firebase_ are reserved by Google and not allowed for your own event names.

Does GA4 support non-English characters?

Yes. Event names may contain English and non-English letters. The validator accounts for this and only flags real special characters such as hyphens or spaces.

More free tools

View all free tools

These free tracking tools are built by Data Flakes – specialists for conversion tracking, GA4, Google Tag Manager and automation. For custom implementations, audits and consulting we help you directly.