ga4_top_traffic_sources
Retrieve top traffic sources for a GA4 property, showing source/medium breakdown for any date range.
Instructions
Get top traffic sources for a GA4 property, broken down by source/medium.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ga4_top_traffic_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of sources to return (default: 20) | |
| endDate | No | End date (default: today) | today |
| startDate | No | Start date (default: 30daysAgo) | 30daysAgo |
| propertyId | No | GA4 Property ID |