You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(analytics): implement session stitching and multi-tab synchronization
- Added a 15-minute grace period to merge interrupted sessions accurately.
- Introduced accumulated session duration tracking for behavioral continuity across interruptions.
- Moved paused session state to centralized storage to fix multi-tab desynchronization.
- Implemented double-start protection to prevent duplicate timers and memory leaks.
- Added a compound `platform_time` index for faster analytics queries.
- Ensured session totals are calculated using unique session IDs to prevent double counting.
- Disabled destructive analytics retention cleanup to preserve long-term behavioral history.
- Added analytics reporting, trend visualization, and premium feature placeholders.
- Added unit tests covering session continuity, grace period expiration, and edge-case scenarios.
0 commit comments