get_goal_visits
Retrieve individual visits that reached a specified Yandex Metrica goal within a date range, including visit time and UTM content for attribution analysis.
Instructions
Load individual visits that reached a specific goal (with visit time and UTM content).
Args: counter_id: Yandex Metrica counter ID. goal_id: Yandex Metrica goal ID. start_date: Start date in YYYY-MM-DD format. end_date: End date in YYYY-MM-DD format. limit: Maximum number of rows to return (1 to 100000).
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": {
"counter_id": "<counter_id>",
"goal_id": "<goal_id>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_goal_visits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| goal_id | Yes | ||
| end_date | Yes | ||
| counter_id | Yes | ||
| start_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |