Run a GA4 realtime report
ga4_run_realtime_reportQuery Google Analytics 4 realtime data from the last 30 minutes. Provide property ID and metrics to see active users, events, and screen views.
Instructions
Returns activity from roughly the last 30 minutes. Requires the NUMERIC GA4 propertyId (call ga4_list_account_summaries to find it). IMPORTANT: the realtime schema is a SUBSET of the standard reporting schema — 'date', 'sessionSource' and most session-scoped fields are unavailable and will error. Common realtime dimensions: country, city, deviceCategory, unifiedScreenName, eventName. Common realtime metrics: activeUsers, screenPageViews, eventCount. For anything older than 30 minutes use ga4_run_report instead. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return. Defaults to 25 to protect the context window. Prefer narrowing the query over raising this. | |
| metrics | Yes | Realtime metric API names, e.g. ['activeUsers','screenPageViews']. | |
| dimensions | No | Realtime dimension API names, e.g. ['country','unifiedScreenName','deviceCategory']. Note the realtime schema is a SUBSET of the standard reporting schema — 'date' and most session-scoped dimensions are unavailable. | |
| propertyId | Yes | Numeric GA4 property ID, with or without the 'properties/' prefix. Not the G-XXXXXXX measurement ID. |