Documentation
Session
init creates a sessionId. You do not manage it.
Product overview (EFU metric): Features → Session.
sessionId
On init, the SDK:
- creates a random
sessionId(UUID) - saves it in
localStorageunderretracekit_session_id - reuses the same id on the next page load in that browser
Every error includes sessionId automatically.
Pings
Lightweight POST /api/sessions when:
initruns with a valid API keysetUseris called while capture is enabled
Each ping carries sessionId and, if set, the current user id.