analytics_traffic
Get traffic breakdown by source, medium, or channel for a GA4 property to analyze marketing performance and channel effectiveness.
Instructions
Get traffic breakdown by source, medium, or channel
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": "analytics_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | Yes | GA4 property ID | |
| dateRange | No | Date range | last28days |
| dimension | No | Traffic dimension to group by | channel |