Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove identity from user when they sign out #25

Open
Ryanjso opened this issue Oct 25, 2023 · 0 comments
Open

Remove identity from user when they sign out #25

Ryanjso opened this issue Oct 25, 2023 · 0 comments

Comments

@Ryanjso
Copy link

Ryanjso commented Oct 25, 2023

Is it possible to remove the identity from a user when they sign out? I identify people when they login using Hotjar.identify(userId), but ideally I can unidentify them when they logout. For example, the mixpanel js sdk let's you call mixpanel.reset() on user sign-out.

I'm sure I could do Hotjar.identify(null, {}); but I imagine this might just remove the attributes from already recorded events. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant