GA4 realtime report
ga_run_realtime_reportRun a real-time GA4 report for the last 30 minutes to monitor active users, page views, and events by country, device, screen, or event, with filtering and custom minute windows.
Instructions
Real-time (last 30 minutes) GA4 data. Dimensions: country, city, deviceCategory, unifiedScreenName, eventName, minutesAgo. Metrics: activeUsers, screenPageViews, eventCount, keyEvents. Rows are sorted by the first metric unless orderBy says otherwise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| metrics | No | ||
| orderBy | No | Sort order. Defaults to first metric descending. | |
| dimensions | No | ||
| propertyId | Yes | GA4 property ID, e.g. '123456789' (see ga_list_properties). | |
| filterLogic | No | How to join several dimensionFilters. | and |
| minuteRanges | No | Windows inside the last 30 minutes; default is the whole 30 minutes. | |
| dimensionFilters | No | Dimension filters, e.g. unifiedScreenName CONTAINS '/tours/'. |