Set analytics level
set_analytics_level(needs account token) Switches a site's statistics between standard (cookieless, no banner, the default) and enhanced (adds a cookie consent banner for every visitor, and the click heatmap). Enhanced changes what visitors see. confirm=true applies enhanced. Does not charge.
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": "<site>",
"level": "<level>"
},
"name": "set_analytics_level"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The address of a site on this account, for example myproject.dropthehassle.app. | |
| level | Yes | standard or enhanced. | |
| confirm | No | True applies enhanced statistics. False leaves the level unchanged and the reply describes the change. |