Google Analytics report
ga_reportRuns custom GA4 Data API reports with any dimensions and metrics, returning result rows plus metric totals so you can analyze traffic, engagement and conversions by page, channel, source or device.
Instructions
Runs a GA4 report with any GA4 Data API dimensions and metrics (e.g. dimensions: date, landingPage, pagePath, sessionDefaultChannelGroup, sessionSourceMedium, country, deviceCategory, eventName; metrics: sessions, activeUsers, newUsers, screenPageViews, engagementRate, averageSessionDuration, bounceRate, conversions, keyEvents, totalRevenue). Returns rows plus metric totals.
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": "<property>"
},
"name": "ga_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| endDate | No | yesterday | |
| filters | No | Dimension filters, combined with AND | |
| metrics | No | ||
| orderBy | No | Defaults to the first metric, descending | |
| property | Yes | GA4 property from ga_list_properties, e.g. "properties/123456789" or "123456789" | |
| startDate | No | 28daysAgo | |
| dimensions | No |