Documentation

Session

init creates a sessionId. You do not manage it.

Product overview (EFU metric): Features → Session.

sessionId

On init, the SDK:

  1. creates a random sessionId (UUID)
  2. saves it in localStorage under retracekit_session_id
  3. reuses the same id on the next page load in that browser

Every error includes sessionId automatically.

Pings

Lightweight POST /api/sessions when:

  • init runs with a valid API key
  • setUser is called while capture is enabled

Each ping carries sessionId and, if set, the current user id.