Calculates on this device. File exports run online.
GA4 Event Validator
Paste GA4 events — JSON, Measurement Protocol requests, or the gtag() and dataLayer.push() calls of a page — with your tracking plan, and see every event that breaks a rule of GA4 or your plan: a missing required parameter, a value of the wrong type, an event the plan does not know, and which events of the plan were not seen at all. Or paste rows of a GA4 BigQuery export to see each event and parameter that really arrived.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to use it
- Write the tracking plan, one line for each parameter: event, parameter, type (text, number, integer, boolean or any) and required (yes or no). A line with only an event name lists an event without parameter rules.
- Paste the events you send, or the code of the page, and press Check the events.
- To check what GA4 stored, export the events_ table of BigQuery as JSON (newline-delimited), choose Rows of a GA4 BigQuery export and paste the rows. Large exports go to the box below.
What is checked
- Google’s rules for events, parameter names and values, recommended events, value with currency, items and Measurement Protocol requests (“[GA4] Event naming rules”, “[GA4] Event collection limits”, the “Recommended events” reference), as in the GA4 Parameter Validator.
- Your tracking plan: a missing required parameter or a value of another type is an error; an event that is not in the plan is a warning, and so, if you ask, is a parameter the plan does not list.
- BigQuery rows are read by the field names of “[GA4] BigQuery Export schema”: event_name, event_params with their string, int, float and double values, items and ecommerce.transaction_id. GA4 has already cut names and values to its limits in the export, so those limits are not checked there.
Limits
- It checks what was sent or exported, not your GA4 property: custom definitions, consent, filters and data retention are not seen.
- A plan type is checked on the value as sent: a number written as text, such as "29.95", is text.