How to reset a Crisp conversation when users log out
Learn how to reset the Crisp chatbox session when an authenticated user logs out.
If you set user identity or session continuity from your website, you should clear the Crisp session during logout. This avoids showing the next visitor the previous user context on shared devices or reused browser sessions.
Reset the session
Call the $crisp JavaScript SDK during your logout routine, after your own application has confirmed the user is logging out.
$crisp.push(["do", "session:reset"]);
This resets the chatbox session without reloading the page.
When to use this
Resetting the session is especially important when:
- Your users log in and out → Crisp may contain identity, email, or custom session data
- Devices are shared → another person may use the same browser after logout
- You use session continuity → the previous user token must not remain bound to the chatbox
Updated on: 03/05/2026
Thank you!