analytics

App stickiness (DAU/WAU)

App stickiness over a period: average daily active patients versus weekly active (DAU/WAU), with a daily DAU trend. Coordinator role sees only patients under their supervisors.

get/api/analytics/stickiness

Query parameters

windowstring

Stickiness window: week (DAU/WAU) or month (DAU/MAU).

Stickiness window: week (DAU/WAU) or month (DAU/MAU).

from_datestring date nullable

Period start (YYYY-MM-DD). Defaults to 30 days ago.

Period start (YYYY-MM-DD). Defaults to 30 days ago.

to_datestring date nullable

Period end (YYYY-MM-DD). Defaults to today.

Period end (YYYY-MM-DD). Defaults to today.

target_statusesstring nullable

Comma-separated status keys (e.g. attivo,mai pagato). Empty for all.

Comma-separated status keys (e.g. attivo,mai pagato). Empty for all.

Response

Successful Response

windowstring required

Stickiness window: week (WAU, 7d) or month (MAU, 30d)

tracking_startstring date nullable

Earliest day with tracked access data. Days before this have no data (the leading zeros in the trend).

from_datestring date required

Period start (inclusive)

to_datestring date required

Period end (inclusive)

dau_avgnumber required

Average daily active patients (over days from the first day with data)

dau_avg_daysinteger required

Calendar days the DAU average is computed over (first day with data → to_date)

active_usersinteger required

Distinct active patients in the window ending at to_date (WAU or MAU)

stickinessnumber nullable

DAU / active_users ratio (0-100); null when 0

Changes

No recorded changes to this endpoint across all 1 revision of this API.