get_traffic_sources
Break down Google Analytics 4 sessions by channel and source/medium, sorted by sessions, to identify which traffic sources drive engagement for a date range.
Instructions
Session channel and source/medium breakdown, sorted by sessions descending.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_traffic_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| account | No | ||
| end_date | Yes | ||
| start_date | Yes | ||
| property_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||