ga4_run_realtime_report
Analyze Google Analytics 4 user activity from the last 30 minutes with real-time dimensions and metrics. Use custom minute ranges to compare recent traffic and monitor active users, events, and pageviews.
Instructions
Run a GA4 real-time report. Covers the last 30 minutes only.
IMPORTANT: realtime uses a SEPARATE, smaller dimension/metric catalog. Do NOT pass 'date', 'totalRevenue', etc: they don't exist in realtime. Common dims: 'minutesAgo', 'country', 'deviceCategory', 'unifiedScreenName', 'eventName'. Common metrics: 'activeUsers', 'screenPageViews', 'eventCount'.
minute_ranges: list of {start_minutes_ago, end_minutes_ago, name?}. Max 2 ranges. Values are 0-29 (0 = now, 29 = 30 min ago).
For historical / batch reports use ga4_run_report instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| metrics | No | ||
| order_bys | No | ||
| dimensions | No | ||
| property_id | Yes | ||
| metric_filter | No | ||
| minute_ranges | No | ||
| dimension_filter | No | ||
| metric_aggregations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |