Skip to content

Sessions page: summary KPIs API (users, duration, bounce rate, crash-free) #189

Closed

Description

@unjica

Goal

Five KPI cards from the Sessions mockup with prior-period compare and sparklines.

Deliverables

  • GET /api/sessions/summary (or extend overview patterns) for selected window + filters:
    • Total sessions (+ compare)
    • Users (distinct user_id / anonymous_id)
    • Avg session duration (from ended_at - started_at)
    • Bounce rate — define product rule (e.g. single event or duration < N seconds)
    • Crash-free sessions — define rule (e.g. no error occurrence linked to session)
  • Prior-period deltas + mini sparkline series per KPI
  • KPI row UI on /dashboard/sessions

Notes

  • Overview already exposes sessionsCount, sessionsPrevious, sessionDurationSeries — reuse/extend, don’t duplicate blindly
  • Bounce/crash-free need explicit definitions documented in issue/PR

Part of milestone v1.5.0 — Analytics dashboard.

Activity

  1. added
    enhancement
    on Jul 7, 2026
  2. added a commit that references this issue on Jul 7, 2026
  3. added a commit that references this issue on Jul 7, 2026
  4. self-assigned this
    on Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions