Toolvito

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

GA4’s rules, your plan’s parameters and types, and which plan events were seen.

Your values

JSON, JSON Lines, Measurement Protocol requests, or page code with gtag('event', ...) and dataLayer.push({...}).

One line for each parameter: event, parameter, type (text, number, integer, boolean, any), required (yes or no).

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.

Check large BigQuery exports

Check large BigQuery exports

Choose up to 20 files of a GA4 BigQuery export (the events_ tables as JSON Lines) of up to 2 GB each. Every row is checked with the rules above and with the tracking plan typed above, and you get the events, parameters, problems and the coverage of the plan as CSV files.

Or drop files here. JSON, JSONL, NDJSON or TXT, up to 20 files, 2 GB each at most.

    Everything above is worked out in your browser. When you use this box, the files you choose and the tracking plan typed above are sent to the Toolvito server. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    How to use it

    1. 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.
    2. Paste the events you send, or the code of the page, and press Check the events.
    3. 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.

    Related tools