validate_tracking
Compare tracking events in your codebase against GA4 data to identify matched, missing, and unexpected events.
Instructions
Compare tracking events found in the codebase against actual GA4 data.
First, search the user's codebase for gtag('event', ...) or dataLayer.push calls and extract event names. Then pass those names here to check which ones actually fire in GA4.
Returns: matched events, events missing from GA4, unexpected GA4 events, and auto-collected events (page_view, session_start, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expected_events | Yes | ||
| property_id | No | ||
| date_range_start | No | 28daysAgo | |
| date_range_end | No | today |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||