What does the GA4 Parameter Validator do?
It checks a GA4 event's parameters for valid names (max. 40 characters, starting with a letter), allowed data types, value lengths (default 100 characters, exceptions: page_title 300, page_referrer 420, page_location 1000), the limit of 25 parameters per event and reserved prefixes. For ecommerce events it adds recommendations.
When should you use it?
When building ecommerce tracking or custom events. The tool deliberately distinguishes between predefined GA4 parameters and custom parameters – currency, for example, is intended for ecommerce events and is not wrongly flagged as invalid.
Which mistakes does it prevent?
Reserved prefixes, overly long names or values, duplicate parameters, too many parameters and missing required fields on ecommerce events like purchase (transaction_id, value, currency, items). A common mistake is value without currency – the tool flags that too.
Technical limitations
The check is structural. It does not evaluate whether your parameters are registered as custom dimensions in GA4 or whether the submitted values are correct. Errors are reported, not silently fixed – the cleaned suggestion is optional.
Official Google documentation: support.google.com/analytics/answer/9267744