get_retention
Cohort retention of identified users (pagelens.identify): share of each daily or weekly cohort that came back in later periods.
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_id": "<site_id>"
},
"name": "get_retention"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| site_id | Yes | Site id from list_sites | |
| timezone | No | IANA timezone for days and hours, e.g. Europe/Berlin (default UTC) |