Ga Get Realtime
ga_get_realtimeCheck live user activity in a GA4 property right now. Returns current active user count and real-time engagement metrics. Specify property ID (e.g., "123456789").
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"property_id": "123456789"
},
"name": "ga_get_realtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of rows (default 100) | |
| metrics | No | Realtime metrics (e.g., ["activeUsers", "screenPageViews"]). Defaults to ["activeUsers"]. | |
| dimensions | No | Realtime dimensions (e.g., ["city", "unifiedScreenName", "platform"]) | |
| property_id | Yes | GA4 property ID (numeric) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | API response kind identifier | |
| rows | No | Real-time data rows with current engagement metrics | |
| error | No | Error code if connection not established | |
| message | No | Error message if connection not established | |
| rowCount | No | Number of rows returned | |
| metricHeaders | No | Headers for realtime metric columns | |
| dimensionHeaders | No | Headers for realtime dimension columns | |
| totalsForAllRows | No | Total values across all rows |