getsentry / getsentry/sentry-javascript
Allow use of `sessionStorage` in `browserSessionIntegration` to more accurately count sessions for MPAs
Offen
Browser
Feature
Feature: Sessions
- Vorherrschende Sprache
- TypeScript
- Sterne
- 8.7k
- Forks
- 1.8k
- Ø Merge
- 1 T. 17 Std.
- Gemergte PRs (30 T.)
- 515
Beschreibung
### 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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.