Skip to content

RetentionQuery

Defined in: packages/client/src/specs.ts:245

People who did start, by the day or week they first did, and how many came back in each later period.

optional interval?: "day" | "week"

Defined in: packages/client/src/specs.ts:252

Default 'week'.


kind: "retention"

Defined in: packages/client/src/specs.ts:246


range: TimeRange

Defined in: packages/client/src/specs.ts:250


optional return?: "any" | Step

Defined in: packages/client/src/specs.ts:249

What counts as coming back. Default 'any': any command or custom event.


start: Step

Defined in: packages/client/src/specs.ts:247


optional timezone?: string

Defined in: packages/client/src/specs.ts:254

IANA name the cohorts are cut in. Default 'UTC'.