Retention
Insights → Retention builds a cohort grid.

- Start event: what puts a user in a cohort, for example
event signup.completedorscreen home. - Return event: what counts as coming back, for example any
screen. - Period: day or week, and the number of periods (default 8).
Each row is a cohort by start period; each cell is the share of that cohort that did the return event in that period.
Users are identified users (distinct_id); call identify for meaningful retention.
API: POST /api/projects/:id/insights/retention.