retention_cohorts
Groups shops by install month and reports the percent still installed and paying in each later month, so you can measure app retention over time.
Instructions
Shops grouped by the month they first installed. For each cohort: the percent still installed and the percent paying at the end of each later month. Computed from the app's full event history, which the server downloads once and caches for 15 minutes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "retention_cohorts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | App ID: the number or a gid:// ID. Optional when SHOPIFY_PARTNER_APP_IDS names exactly one app | |
| months | No | How many calendar months, ending with the current one |