get_utm_stats
Analyze UTM campaign performance by retrieving breakdowns of source, medium, and campaign metrics for a specified site and date range.
Instructions
Get UTM campaign, source, and medium breakdowns — see which campaigns drive traffic.
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": {
"site_id": "<site_id>",
"date_range": "<date_range>"
},
"name": "get_utm_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site ID (domain) | |
| dimension | No | Which UTM dimension (default: utm_campaign) | |
| date_range | Yes | Date range: '7d', '30d', 'month', 'year' |