get_analytics
Fetch Roistat analytics on traffic sources for a specified date range, including visits, leads, revenue, and ROI metrics.
Instructions
Получение аналитики Roistat по источникам трафика за период. Метрики: визиты, заявки, выручка, ROI.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Дата конца периода (YYYY-MM-DD) | |
| from | Yes | Дата начала периода (YYYY-MM-DD) | |
| limit | No | Максимум строк в ответе | |
| metrics | No | Метрики: visitCount, leadCount, orderCount, revenue, visits2leads, visits2orders и т.д. | |
| dimensions | No | Группировки: marker (источник), landing_page, region, keyword и т.д. |