Get Active Users
get_active_usersRetrieve active user counts for your Google Analytics 4 property over a specified date range, with optional dimension breakdowns for deeper analysis.
Instructions
Get active users metrics for a specific date range from Google Analytics 4.
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>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_active_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End date in YYYY-MM-DD format | |
| dimensions | No | List of dimensions to group by (optional, defaults to ["date"]) | |
| start_date | Yes | Start date in YYYY-MM-DD format | |
| property_id | Yes | Google Analytics 4 property ID (numeric, e.g., "123456789") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||