hotjar-js
hotjar-js copied to clipboard
Remove identity from user when they sign out
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. 🤔