Multiple users using the same browswer


#1

I am trying to integrate the conversations with my website.

After a user logs in to my website I use below code to identify a user which works fine:

  window._hsq.push(['identify', {
    email: 'firstUser@email.com',
    firstname: 'firstUser',
  }]);
  window._hsq.push(['trackPageView']);

Then if the user logs out from my website and another one logs in he's identified as the firstUser. (which means he sends message through conversations as the first user)

I tried using _hsq.push(['revokeCookieConsent']); to delete the cookies but it deletes all of them except for messagesUtk which seems to be the one causing the issue.