<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Multiple users using the same browswer in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Multiple-users-using-the-same-browswer/m-p/248431#M21224</link>
    <description>&lt;P&gt;I am trying to integrate the conversations with my website.&lt;/P&gt;
&lt;P&gt;After a user logs in to my website I use below code to identify a user which works fine:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="lang-auto"&gt;  window._hsq.push(['identify', {
    email: 'firstUser@email.com',
    firstname: 'firstUser',
  }]);
  window._hsq.push(['trackPageView']);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;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)&lt;/P&gt;
&lt;P&gt;I tried using &lt;CODE&gt;_hsq.push(['revokeCookieConsent']);&lt;/CODE&gt; to delete the cookies but it deletes all of them except for &lt;CODE&gt;messagesUtk&lt;/CODE&gt; which seems to be the one causing the issue.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jan 2019 11:50:05 GMT</pubDate>
    <dc:creator>ahmdsolmn1</dc:creator>
    <dc:date>2019-01-28T11:50:05Z</dc:date>
    <item>
      <title>Multiple users using the same browswer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Multiple-users-using-the-same-browswer/m-p/248431#M21224</link>
      <description>&lt;P&gt;I am trying to integrate the conversations with my website.&lt;/P&gt;
&lt;P&gt;After a user logs in to my website I use below code to identify a user which works fine:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="lang-auto"&gt;  window._hsq.push(['identify', {
    email: 'firstUser@email.com',
    firstname: 'firstUser',
  }]);
  window._hsq.push(['trackPageView']);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;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)&lt;/P&gt;
&lt;P&gt;I tried using &lt;CODE&gt;_hsq.push(['revokeCookieConsent']);&lt;/CODE&gt; to delete the cookies but it deletes all of them except for &lt;CODE&gt;messagesUtk&lt;/CODE&gt; which seems to be the one causing the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 11:50:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Multiple-users-using-the-same-browswer/m-p/248431#M21224</guid>
      <dc:creator>ahmdsolmn1</dc:creator>
      <dc:date>2019-01-28T11:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users using the same browswer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Multiple-users-using-the-same-browswer/m-p/249256#M21967</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/84912"&gt;@ahmdsolmn1&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To confirm, are you trying to follow the steps &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11385"&gt;@cbarley&lt;/a&gt;&amp;nbsp;mentions in &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Hubspotutk-cookie-with-several-users-on-the-same-machine/m-p/236312" target="_self"&gt;this post&lt;/A&gt;, but finding that the &lt;CODE&gt;messagesUtk&lt;/CODE&gt; cookie remains even after triggering&lt;CODE&gt;_hsq.push(['revokeCookieConsent']);&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 18:44:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Multiple-users-using-the-same-browswer/m-p/249256#M21967</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-01-29T18:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple users using the same browswer</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Multiple-users-using-the-same-browswer/m-p/259331#M23149</link>
      <description>&lt;P&gt;Apologies for not following up on this post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The cause of this issue should now be resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;revokeCookieConsent&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;method now removes the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;messagesUtk&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;cookie, allowing you to clear live chat identities on the same device. This change has been live since&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;February 21, 2019&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Hubspot-LiveChat-Identifying-users-within-Single-page-apps/m-p/251357" target="_self"&gt;this thread&lt;/A&gt; for additional context.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 13:12:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Multiple-users-using-the-same-browswer/m-p/259331#M23149</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-03-15T13:12:08Z</dc:date>
    </item>
  </channel>
</rss>

