ga4_run_report
Run a read-only GA4 report to reconcile configured events with actual event counts. Returns dimension and metric rows for a property over a date range.
Instructions
Run a read-only GA4 Data API report for a property over a date range. Returns dimension/metric rows (e.g. event counts by eventName). Useful for reconciling configured GTM/GA4 events against events GA4 actually reports (zero reported activity for a configured event is a red flag). Read-only — never writes. Requires the analytics.readonly scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (default 250). | |
| offset | No | Row offset for paging (default 0). | |
| endDate | No | End date: YYYY-MM-DD, "NdaysAgo", "today", or "yesterday". | today |
| metrics | Yes | Metric names, e.g. ["eventCount","totalUsers"]. At least 1, max 10. | |
| property | Yes | GA4 property ID, e.g. "123456789" or "properties/123456789". | |
| startDate | No | Start date: YYYY-MM-DD, "NdaysAgo", "today", or "yesterday". | 7daysAgo |
| dimensions | No | Dimension names, e.g. ["eventName","date"]. Max 9. Omit for a metric-only report. | |
| orderByMetric | No | Metric name to order by (descending). Optional. |