ga4_get_realtime
Retrieve realtime active users, current events, top pages, and traffic sources for a GA4 property to monitor live site activity.
Instructions
Get realtime active users and current events on the site. Shows what's happening RIGHT NOW — active users, top pages, traffic sources.
Args: property_id: GA4 property ID (numeric). Leave empty to use GA4_PROPERTY_ID env var.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ga4_get_realtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |