analytics
Retention cohorts, or the reason there are none
Returns available: false with a message and a remedy when the site has no identified users. The visitor id is salted per day, so cross-day retention of anonymous traffic is arithmetically impossible rather than merely disallowed. Call vitrus.identify() to make it computable.
get/api/retention
Request
- Base URL: https://app.vitrus.dev/app
- URL: https://app.vitrus.dev/app/api/retention
- Auth: one of:
- API key in cookie vitrus_session
- HTTP bearer
Query parameters
sitestring required
Site id. Resolved against your access before it reaches any query; a site you cannot read answers 404, byte-identical to one that does not exist.
daysinteger
Window length in days.
Response
Cohort matrix, or the reason it cannot be computed.
Changes
No recorded changes to this operation across all 1 revision of this API.