GET /sites/:site_id/rollup
Daily rollup
Per-day, per-route counts and rates, each with its prior-period baseline.
Returns site_daily_rollup rows: sessions, events, rage clicks, dead clicks and conversions per route and day, with rates and a baseline block from the prior period. A null baseline means the rollup job had no prior period, which is not the same as zero.
At most 2,000 rows; the response says when the cap was hit so the caller can narrow the window or filter by route.
Query parameters
| Name | Required | Meaning |
|---|---|---|
| from | Yes | Start day, YYYY-MM-DD. Up to 400 days. |
| to | Yes | End day, YYYY-MM-DD, inclusive. |
| route_pattern | No | Limit to one route pattern. |
Returns
- day, route_pattern
- Row key
- session_count, event_count
- Volume
- rage_click_count, dead_click_count, conversion_count
- Signal counts
- rage_rate, dead_click_rate
- Per session
- baseline
- Prior-period values, or null
- row_limit, truncated
- Cap of 2,000 rows