<?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 Re: Identify a contact in a chat widget in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/342781#M33540</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have kind of a similar situation.&amp;nbsp;&lt;BR /&gt;I am trying to enable the cookie banner for the chat and at the same time being able to 'listen' to the given(or not) consent and pass the information via Google Tag Manager to our cookie consent provider, OneTrust.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked into your chat widget API, and the only events available are chat started, chat closed, and chat count changed. There is no event I can listen to. Maybe I am looking into it with the wrong lens, so please any advice is appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 08:27:09 GMT</pubDate>
    <dc:creator>lcoelho</dc:creator>
    <dc:date>2020-05-29T08:27:09Z</dc:date>
    <item>
      <title>Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272410#M24711</link>
      <description>&lt;P&gt;We're trying to structure a chat flow so that it picks up the name and email of our users in the client interface. Can you advise please?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 07:48:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272410#M24711</guid>
      <dc:creator>kporteus</dc:creator>
      <dc:date>2019-05-29T07:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272669#M24752</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/82559"&gt;@kporteus&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To clarify, are you seeking to identify users with information from your web app&amp;nbsp;&lt;EM&gt;before&lt;/EM&gt; they open a chat?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, you can accomplish this by triggering the Tracking Code API's&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/identify_visitor" target="_self"&gt;&lt;CODE&gt;identify&lt;/CODE&gt;&lt;/A&gt; method, then&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/track_page_view" target="_self"&gt;&lt;CODE&gt;trackPageView&lt;/CODE&gt;&lt;/A&gt;, and then &lt;A href="https://developers.hubspot.com/docs/methods/conversations_api/widget_refresh" target="_self"&gt;refreshing the chat widget&lt;/A&gt;. See&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11385"&gt;@cbarley&lt;/a&gt;'s example code in &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/272830/highlight/true#M24773" target="_self"&gt;this related discussion&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;function onConversationsAPIReady() {
    var _hsq = window._hsq = window._hsq || [];
    console.log("ready")
    _hsq.push(["identify",{
    	email: "test@testing.com"
    }]);
    _hsq.push(['trackPageView']);
    setTimeout( () =&amp;gt; {
      console.log("refresh")
      window.HubSpotConversations.widget.refresh();
    }, 1000)
  }

  function sendIdentify(){
    if (window.HubSpotConversations) {
     onConversationsAPIReady();
    } else {
      window.hsConversationsOnReady = [onConversationsAPIReady];
    }&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 May 2019 18:33:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272669#M24752</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-05-31T18:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272678#M24755</link>
      <description>&lt;P&gt;Hi Isaac, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We'd like our chatbot to say 'Hi NAME' when they're logged into our web app - as opposed to collecting their name and email address each time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this the way to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 15:52:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272678#M24755</guid>
      <dc:creator>kporteus</dc:creator>
      <dc:date>2019-05-30T15:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272703#M24757</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/82559"&gt;@kporteus&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes and no.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/identify_visitor" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;CODE&gt;identify&lt;/CODE&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;method to avoid asking for the user's name and email each time, but&amp;nbsp;&lt;/SPAN&gt;HubSpot chat welcome messages (the first message in a flow) cannot use personalization tokens, like&amp;nbsp;&lt;CODE&gt;{{ contact.firstname }}&lt;/CODE&gt;. You can call users by their name on subsequent messages, though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Welcome message.jpg" style="width: 674px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/17454i6EAE167CBA0BFA0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Welcome message.jpg" alt="Welcome message.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 17:41:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272703#M24757</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-05-30T17:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272775#M24765</link>
      <description>&lt;P&gt;Ok thank you - that should work for us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So just to confirm we need to use the identify method followed by the trackPageView OR just the idendify method?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other thread mentions something about a hard refresh being required - Will the user only be identified if we hard refresh the conversations inbox in HubSpot?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need this to happen automatically so the chat flow can direct the user to their contact owner without the need for any refresh.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 08:56:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272775#M24765</guid>
      <dc:creator>kporteus</dc:creator>
      <dc:date>2019-05-31T08:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272832#M24774</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/82559"&gt;@kporteus&lt;/a&gt;&amp;nbsp;, I'll let Isaac continue to work with you on this, but you wouldn't need a hard refresh of the &lt;EM&gt;page&lt;/EM&gt; with a new API we just released. Check out my recent comment here:&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/272830#M24773" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/272830#M24773&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 13:12:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272832#M24774</guid>
      <dc:creator>cbarley</dc:creator>
      <dc:date>2019-05-31T13:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272933#M24794</link>
      <description>&lt;P&gt;Great catch,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11385"&gt;@cbarley&lt;/a&gt;! I've updated my initial response to reflect this fact.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/82559"&gt;@kporteus&lt;/a&gt;, as Connor says above, you no longer need to hard refresh the page, but you&amp;nbsp;&lt;EM&gt;do&lt;/EM&gt; need to trigger the following in order:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/identify_visitor" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;CODE&gt;identify&lt;/CODE&gt;&lt;/A&gt;: Stores the data you define (such as &lt;CODE&gt;name&lt;/CODE&gt; and &lt;CODE&gt;email&lt;/CODE&gt;) in the tracker.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/track_page_view" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;CODE&gt;trackPageView&lt;/CODE&gt;&lt;/A&gt;: Passes the data in the tracker into HubSpot so that it can be used in personalization tokens.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://developers.hubspot.com/docs/methods/conversations_api/widget_refresh" target="_self"&gt;&lt;CODE&gt;HubSpotConversations.widget.refresh()&lt;/CODE&gt;&lt;/A&gt;: Refreshes the chat widget so that personalization tokens can populate with known values.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 31 May 2019 18:43:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/272933#M24794</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-05-31T18:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/303306#M28550</link>
      <description>&lt;P&gt;Hi, all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you've implemented the&lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/identify_visitor" target="_self" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;CODE&gt;identify&lt;/CODE&gt;&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/track_page_view" target="_self" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;CODE&gt;trackPageView&lt;/CODE&gt;&lt;/A&gt;, and&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/conversations_api/widget_refresh" target="_self" rel="nofollow noopener noreferrer noopener noreferrer"&gt;&lt;CODE&gt;HubSpotConversations.widget.refresh()&lt;/CODE&gt;&lt;/A&gt;&amp;nbsp;methods outlined above but are still seeing some&amp;nbsp;&lt;/SPAN&gt;chats come in as "Unknown Visitors," I can confirm that&amp;nbsp;it is currently expected behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/identify_visitor" target="_self" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;CODE&gt;identify&lt;/CODE&gt;&lt;/A&gt;&amp;nbsp;method critical to the approach HubSpot Developer Support&amp;nbsp; has heretofore positioned on the Community&amp;nbsp;&lt;EM&gt;only&lt;/EM&gt;&amp;nbsp;directly updates the&amp;nbsp;&lt;CODE&gt;hubspotutk&lt;/CODE&gt;&amp;nbsp;cookie with the visitor's identity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The conversations (live chat) tool uses a different cookie&amp;nbsp;—&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/reports/what-cookies-does-hubspot-set-in-a-visitor-s-browser" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;CODE&gt;messagesUtk&lt;/CODE&gt;&lt;/A&gt;— to populate visitor names. If this cookie is not associated with any identity information, a chat will come in under an "Unknown Visitor."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HubSpot currently has a back end process which associates the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;hubspotutk&lt;/CODE&gt;&amp;nbsp;identity information with the&lt;CODE&gt;messagesUtk&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;cookie, but calling the&lt;CODE&gt;identify&lt;/CODE&gt;method does not always trigger this process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As such,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;there is currently no way to guarantee that a chat won't come in under an "Unknown Visitor,"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;even with the method outlined above, which works much of the time.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Our team is working on a dedicated solution for this use case but we currently can't offer a concrete timeframe. Please subscribe to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/changelog" target="_self" rel="nofollow noopener noreferrer"&gt;API Changelog&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to be notified of the update when it is released.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Apologies for the confusion and thank you in advance for your understanding.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 21:46:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/303306#M28550</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-11-20T21:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/316682#M30312</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently trying to use HotSpot Live Chat on our website but ran into some problems. It would be really appreciated if anyone could help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. We know we could identify users using cookies, but we also want to identify logged in users on our website. If the user doesn't clear cookies and logs in with another account, HotSpot still identifies him as the previous logged in users instead of the new one. Is there any way to solve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. When the page gets reloaded, any previous conversations the user has created disappear completely. How could we store the chat history?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Every time the user sends a message, it creates one conversation in the inbox. Is that possible to integrate all messages from the same users in one place (integrate all conversations) so that we will get a clearer sense of the user's message?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Same user with multiple conversations" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/23604i051BEB49CA796888/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="Same user with multiple conversations" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Same user with multiple conversations&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could anyone help please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 17:45:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/316682#M30312</guid>
      <dc:creator>Teresa1</dc:creator>
      <dc:date>2020-02-04T17:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/316998#M30346</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/114578"&gt;@Teresa1&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll try to address each of your questions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; At this time, I cannot think of a good way around this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/remove_cookies" target="_self"&gt;Removing cookies&lt;/A&gt; would create a nighmarish user experience and while &lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/identify_visitor" target="_self"&gt;identifying visitors&lt;/A&gt; would create and update separate contact records with analytics events (i.e. page views), since chatflows identify visitors via the &lt;A href="https://knowledge.hubspot.com/reports/what-cookies-does-hubspot-set-in-a-visitor-s-browser" target="_self"&gt;&lt;CODE&gt;messagesUtk&lt;/CODE&gt;&lt;/A&gt; cookie, conversations would be associated with the wrong contact.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The dedicated solution for identifying visitors in chatflows which I mention above should help with this use case, but that has yet to enter beta. See &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/74650"&gt;@cdewey22&lt;/a&gt;'s response in &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/310711/highlight/true#M29608" target="_self"&gt;this related Community thread&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; Interesting, that has not been my experience. &lt;A href="https://recordit.co/4vXaTer1wx" target="_self"&gt;This screen recording&lt;/A&gt; shows me refreshing the page after beginning two chats. My chats remain visible after refresh due to the &lt;FONT face="Menlo, Monaco, Consolas, Courier New, monospace" color="#c7254e"&gt;&lt;SPAN style="font-size: 14.4px; background-color: #f9f2f4;"&gt;messagesUtk&lt;/SPAN&gt;&lt;/FONT&gt;&amp;nbsp;cookie.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Per &lt;A href="https://knowledge.hubspot.com/reports/what-cookies-does-hubspot-set-in-a-visitor-s-browser" target="_self"&gt;this article&lt;/A&gt;, do you have the&amp;nbsp;&lt;EM&gt;Consent to collect chat cookies&lt;/EM&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;option enabled on your chatflow?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt;&amp;nbsp;Not at this time. Assuming conversations are associated with the correct user, the contact record is the best place to view all chats started by the same user in one place.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 17:27:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/316998#M30346</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2020-02-05T17:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/326757#M31577</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/665"&gt;@IsaacTakushi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i would like to use the live chat without tracking my users. But if i set the doNotTrack-Cookie in the beginning its impossible to set the identity of the user after his login.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible in the dedicated solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, do you have some kind of documentation for the&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.hubspot.com/livechat-public/v1/thread/visitor" target="_blank"&gt;https://api.hubspot.com/livechat-public/v1/thread/visitor&lt;/A&gt; REST API? We would implement to JS for UI at our side, but with hubspot REST API as backend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Steffen...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 19:57:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/326757#M31577</guid>
      <dc:creator>stundzigs</dc:creator>
      <dc:date>2020-03-19T19:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/327361#M31640</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/123186"&gt;@stundzigs&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the delayed response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To clarify, do you wish to be able to identify users via chat but do&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; wish to capture other analytics or browsing information?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't speak in detail about how the dedicated solution would interact with other analytics tracking scripts.&lt;BR /&gt;&lt;BR /&gt;Might you be able to speak to this,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/74650"&gt;@cdewey22&lt;/a&gt;?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 17:48:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/327361#M31640</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2020-03-24T17:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/327488#M31660</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/665"&gt;@IsaacTakushi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes that's right. I will only chat with the user and never track them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/74650"&gt;@cdewey22&lt;/a&gt;&amp;nbsp;do you have a solution for that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Steffen...&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 06:50:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/327488#M31660</guid>
      <dc:creator>stundzigs</dc:creator>
      <dc:date>2020-03-25T06:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/327859#M31700</link>
      <description>&lt;P&gt;Unfortunately, we do not have a solution for this. Chat is part of the Hubspot system so it was intended to work seamlessly with our CRM. We might in the future enable this via API but it is not something we have on our roadmap at the moment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are working on some more solutions regarding how to present to the customer how to consent to the cookie, including a banner at the beginning of the experience (this already exists today in settings) or a banner at the end of the experience (this is currently being worked, so will be avail in the near future). These options were intended to give your visitor more control over them being cookied.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, would love to learn more about your specific usecase though. Feel free to email me at cdewey@hubspot.com so we can continue chatting about how your company is using chat.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cassie&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 13:26:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/327859#M31700</guid>
      <dc:creator>cdewey22</dc:creator>
      <dc:date>2020-03-26T13:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/342781#M33540</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have kind of a similar situation.&amp;nbsp;&lt;BR /&gt;I am trying to enable the cookie banner for the chat and at the same time being able to 'listen' to the given(or not) consent and pass the information via Google Tag Manager to our cookie consent provider, OneTrust.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked into your chat widget API, and the only events available are chat started, chat closed, and chat count changed. There is no event I can listen to. Maybe I am looking into it with the wrong lens, so please any advice is appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 08:27:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/342781#M33540</guid>
      <dc:creator>lcoelho</dc:creator>
      <dc:date>2020-05-29T08:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/413584#M40957</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/665"&gt;@IsaacTakushi&lt;/a&gt; could you please confirm if there is any solution for chats from an&amp;nbsp;&lt;STRONG&gt;"Unknown Visitor"&lt;/STRONG&gt; even after using&amp;nbsp;&lt;FONT color="#008000"&gt;identify&lt;/FONT&gt;,&amp;nbsp;&lt;FONT color="#008000"&gt;trackPageView&lt;/FONT&gt;, and&amp;nbsp;&lt;FONT color="#008000"&gt;HubSpotConversations.widget.refresh()&lt;/FONT&gt;&amp;nbsp;methods?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 07:05:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/413584#M40957</guid>
      <dc:creator>rizwaneatapp</dc:creator>
      <dc:date>2021-03-01T07:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Identify a contact in a chat widget</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/471340#M45553</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/665" target="_blank" rel="noopener"&gt;@IsaacTakushi&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Its more than 2 year and issue still pending for fix ?&amp;nbsp;&lt;BR /&gt;Sucess rate of this API is only 2% and from 2 year nothing is improved ?&lt;BR /&gt;&lt;BR /&gt;Even passing correct data hubspot not able to identify the user.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;window.hsConversationsSettings = {
  loadImmediately: false,
   identificationEmail: "visitor-email@example.com",
   identificationToken: "&amp;lt;TOKEN FROM STEP 1&amp;gt;"
};&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 07:52:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Identify-a-contact-in-a-chat-widget/m-p/471340#M45553</guid>
      <dc:creator>PTamrakar</dc:creator>
      <dc:date>2021-08-03T07:52:24Z</dc:date>
    </item>
  </channel>
</rss>

