Realtime Dashboard
Aggregated metrics for the last 30 minutes — active users, events per minute, top events, top pages.
The Realtime Dashboard shows aggregated metrics for your site in the last 30 minutes. Unlike the Debug View, which streams individual events, this dashboard focuses on high-level activity: active users, events per minute, top events, and top pages.
#Metrics
The dashboard provides four key metrics, updated every 5 seconds by polling ClickHouse.
| Metric | Description |
|---|---|
| Active Users | Unique visitors active in the last 5 minutes, based on distinct IDs seen in recent events. |
| Events per Minute | A 30-minute chart showing the number of events ingested in each 1-minute bucket. |
| Top Events | The 10 most common event names in the last 30 minutes, ranked by count with a visual bar. |
| Top Pages | The 10 most visited pages (by pathname) in the last 30 minutes, ranked by count. |
#How it works
The Realtime Dashboard uses a different data pipeline than the Debug View.
- Events are stored in ClickHouse as they arrive (standard pipeline).
- Dashboard polls
/api/analytics/realtimeevery 5 seconds via SWR. - The API runs four parallel ClickHouse aggregation queries (active users, events/min, top events, top pages).
- Results are rendered as live-updating cards and charts.
#Debug View vs Realtime Dashboard
| Debug View | Realtime Dashboard | |
|---|---|---|
| Granularity | Individual events | Aggregated metrics |
| Latency | ~1 second (SSE stream) | ~5 seconds (polling) |
| Data source | Redis buffer | ClickHouse queries |
| Use case | Debugging & verifying integration | Monitoring site activity |
| Forwarding status | Per-event, per-destination | Not included |
#Access
Both views are available in the project sidebar under the Realtime section. Any organisation member with project access can view them — no additional configuration is needed.