User Session Count
rybbit_get_user_session_countRetrieves a single user's daily session counts over a specified time range to help plot engagement intensity with calendar heatmaps or sparklines.
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 | |
| endDate | No | End date (YYYY-MM-DD) | |
| timeZone | No | IANA timezone (default UTC) | |
| startDate | No | Start date (YYYY-MM-DD) | |
| pastMinutesEnd | No | ||
| pastMinutesStart | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |