ga_validate_event
Validate GA4 events before sending by testing against the debug endpoint, catching errors and returning validation messages without recording the event.
Instructions
Validate an event before sending it to Google Analytics.
Uses GA4's debug endpoint to check for errors without recording the event. Returns validation messages and errors if any.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| user_id | No | ||
| client_id | No | ||
| user_properties | No | User properties (e.g., {subscription_tier: {value: "premium"}}) |