Basic traffic report
ga_basic_reportRetrieves Google Analytics 4 metrics for a date range, including users, sessions, page views, engagement, daily trends, traffic sources and top pages.
Instructions
Users, new users, sessions, page views, engagement, daily trend, traffic sources and top pages.
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>"
},
"name": "ga_basic_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | YYYY-MM-DD, or relative: today, yesterday, NdaysAgo. | today |
| startDate | No | YYYY-MM-DD, or relative: today, yesterday, NdaysAgo. | 28daysAgo |
| propertyId | Yes | GA4 property ID, e.g. 123456789. |