getsentry / getsentry/sentry-javascript
Allow use of `sessionStorage` in `browserSessionIntegration` to more accurately count sessions for MPAs
Abierto
Browser
Feature
Feature: Sessions
- Lenguaje dominante
- TypeScript
- Estrellas
- 8.7k
- Forks
- 1.8k
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 515
Descripción
### Description
Session updates we send from the Browser SDK are currently per pageview, leading to more sessions than is commonly understood for MPAs. We find that Sessions likely should have the same lifetime as a Session Replay session. For this we should introduce an option in the `browserSessionIntegration` that allows a user to configure a persistence model using `sessionStorage` to more accurately collect number of sessions.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.