Intercept Tracking Requests
intercept_tracking_requestsIntercepts tracking requests during page load to parse GA4/GTM/gtag hits, identify event names and measurement IDs, and flag obsolete Universal Analytics or duplicate events.
Instructions
Intercept and analyze all tracking network requests (GA4 hits, GTM, gtag) fired during page load using Puppeteer request interception. Parses GA4 /g/collect hits for event names and measurement IDs. Detects obsolete Universal Analytics hits and duplicate events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to monitor for tracking requests | |
| wait_ms | No | Milliseconds to wait after page load to capture tracking hits (default: 3000, max: 8000) |