Get Realtime Users
get_realtime_usersRetrieve real-time active user counts from Google Analytics 4 to verify new campaign traffic and monitor live activity.
Instructions
Get real-time active user count from Google Analytics 4.
Useful for verifying that a newly activated campaign is generating traffic, or monitoring live user activity.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"property_id": "<property_id>"
},
"name": "get_realtime_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dimensions | No | Optional breakdown dimensions (default: ["country"]) | |
| property_id | Yes | GA4 numeric property ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |