User Session Count
rybbit_get_user_session_countRetrieve per-day session counts for a single user within a specified date range. Useful for plotting user engagement intensity on a calendar heatmap or sparkline.
Instructions
Get the per-day session count for a single user across the requested time range. Useful for plotting user engagement intensity (calendar heatmap or sparkline).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID (numeric ID or domain identifier) | |
| userId | Yes | User ID — either identified_user_id or device hash user_id | |
| startDate | No | Start date (YYYY-MM-DD) | |
| endDate | No | End date (YYYY-MM-DD) | |
| timeZone | No | IANA timezone (default UTC) | |
| pastMinutesStart | No | ||
| pastMinutesEnd | No |