The language set with
setLanguage() survives reset(). It is a preference of the browser, like appearance, not user state, so a logout leaves it in place. Only clearLanguage() removes it.Signature
What gets cleared
- User identity: a fresh anonymous UUID is generated and persisted
- All user attributes
- A claim saved for
redeem() - Queued signals and cached SDK data
When to call
- Logout, so the next visitor on this browser doesn’t inherit the previous user’s state.
- Account switch:
reset()first, thenidentify()the new user.
Example
Related
identify(): attach the next user’s id- User Management quickstart: the full identity model