ga4_run_report
Run custom Google Analytics 4 report queries by specifying property, date ranges, metrics, dimensions, and filters to retrieve tailored analytics data.
Instructions
Runs a custom report query against GA4 data
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": {
"propertyId": "<propertyId>",
"dateRanges": "<dateRanges>",
"metrics": "<metrics>"
},
"name": "ga4_run_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| metrics | Yes | Metrics to include | |
| orderBys | No | ||
| dateRanges | Yes | Date ranges to query (1-4) | |
| dimensions | No | ||
| propertyId | Yes | GA4 Property ID | |
| metricFilter | No | ||
| keepEmptyRows | No | ||
| dimensionFilter | No |