Page analytics
get_analyticsRead real analytics for a published page: traffic over the last 30 days (visits per day, sources, countries, browsers, devices), then engagement, scroll depth, bounce rate and per-section click/exit/time distribution — the data to drive the optimize loop (find the weakest section, change it, republish, compare). Optionally filter the behavioral part by device. Returns markdown.
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": {
"pageId": "<pageId>"
},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device segment. Default "all". | |
| pageId | Yes | The pageId returned when the page was published. |