Skip to main content
Clears all locally stored SDK state and generates a new anonymous user id.

Signature

What gets cleared

  1. User identity: a fresh anonymous UUID is generated and persisted
  2. All user attributes
  3. Any pending (unredeemed) claim; a later redeem() resolves { status: 'none' }
  4. Queued signals and cached SDK data
A pending deferred claim is lost on reset(): it can no longer be redeemed from this browser. Real (server-side) entitlements are unaffected; they belong to the user id they were earned under.

When to call

  • Logout, so the next visitor on this browser doesn’t inherit the previous user’s state.
  • Account switch: reset() first, then identify() the new user.

Example