Get page analytics
get_page_analyticsGet analytics for one page: visitors and views (with traffic sources, devices, countries) plus leads, revenue, and blocked spam submissions.
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_page_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The page UUID to fetch analytics for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leads | Yes | Form submissions. Always present; zeroed if none. | |
| pageId | Yes | ||
| revenue | Yes | ||
| traffic | Yes | Visitor analytics. Check `available` first: when false the only other field is `reason` and no counts are present. | |
| spamBlockedLast7Days | Yes |