analytics
User lifecycle: new, came back, lost, paying — counted, never listed
Growth accounting against the previous period of equal length (new, retained, resurrected, churned), quick ratio, one-and-done rate, current plans and plan moves. Needs vitrus.identify(user.id); the id is hashed in the browser and again on the server, so no person is ever returned. available: false with a reason and a remedy when nobody is identified or the site is in strict privacy mode.
get/api/lifecycle
Request
- Base URL: https://app.vitrus.dev/app
- URL: https://app.vitrus.dev/app/api/lifecycle
- 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
Counts, each with its query, or the reason they cannot be computed.
Changes
No recorded changes to this operation across all 1 revision of this API.