Site analytics
get_site_analyticsPageviews, visitors (humans), AI agent and bot requests, top pages and referrers for a period.
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_key": "<site_key>"
},
"name": "get_site_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date, YYYY-MM-DD (UTC, inclusive). | |
| from | No | Start date, YYYY-MM-DD (UTC, inclusive). | |
| period | No | Time period. Ignored when from and to are given. | |
| site_key | Yes | The site's tracking ID (site_key), from list_sites. |