<?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: How to identify a contact in the chat? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/296513#M27832</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11385"&gt;@cbarley&lt;/a&gt;. Can you send us the HTML example page working identifying a visitor by email?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using your example code snippet but didn´t work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 12:31:15 GMT</pubDate>
    <dc:creator>tbrito85</dc:creator>
    <dc:date>2019-10-14T12:31:15Z</dc:date>
    <item>
      <title>How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228672#M7568</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;how can I identify a visitor in the chat box? I've tried the &lt;A href="https://developers.hubspot.com/docs/methods/tracking_code_api/identify_visitor" rel="nofollow noopener"&gt;identify API&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; var _hsq = window._hsq = window._hsq || []; 
_hsq.push(["identify", { email: "${email}" }]);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but it didn't work. New chat conversations still appear as "Uknown Visitor"&lt;/P&gt;
&lt;P&gt;I'd appreciate your help.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;
Lukasz&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 08:09:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228672#M7568</guid>
      <dc:creator>LukaszWiktor</dc:creator>
      <dc:date>2018-08-30T08:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228673#M7569</link>
      <description>&lt;P&gt;Hi Lukasz,&lt;/P&gt;
&lt;P&gt;I am having the exact same issue.&lt;BR /&gt;
I'm interested if you found a solution !&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;
Romu&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 17:08:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228673#M7569</guid>
      <dc:creator>Romusc</dc:creator>
      <dc:date>2018-08-30T17:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228674#M7570</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/lukaszwiktor"&gt;@LukaszWiktor&lt;/A&gt; and &lt;A class="mention" href="https://community.hubspot.com/u/romusc"&gt;@Romusc&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;The "identify" method of the Tracking Code API only stores the identity information in the tracker; you'll need to call the "trackEvent" or "trackPageView" method to actually pass the identity info to HubSpot. Are you both subsequently calling one of these events?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 17:26:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228674#M7570</guid>
      <dc:creator>Derek_Gervais</dc:creator>
      <dc:date>2018-09-12T17:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228675#M7571</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/derek_gervais"&gt;@Derek_Gervais&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for the hint! I was only calling &lt;CODE&gt;identify&lt;/CODE&gt;. Now, I added &lt;CODE&gt;trackPageView&lt;/CODE&gt; right below but it still didn't help. My code snippet looks like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="lang-auto"&gt;&amp;lt;script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/1234567.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
    var _hsq = window._hsq = window._hsq || [];
    _hsq.push(["identify",{
         email: "user@example.com",
    }]);
    _hsq.push(["trackPageView"]);
&amp;lt;/script&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I have this user already in my Contacts but when they start a chat conversation then it shows up as  "Unknown Visitor" &lt;IMG src="https://community.hubspot.com/legacyfs/online/emojis/twitter/frowning.png?v=6" title=":frowning:" class="emoji" alt=":frowning:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 04:21:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228675#M7571</guid>
      <dc:creator>LukaszWiktor</dc:creator>
      <dc:date>2018-09-13T04:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228676#M7572</link>
      <description>&lt;P&gt;Hi &lt;A class="mention" href="https://community.hubspot.com/u/lukaszwiktor"&gt;@LukaszWiktor&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Is this true even after a page refresh? My gut tells me that the contact identification is working, but the messages client isn't being updated with the identity info. Can you try making the association, then refreshing?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 20:36:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228676#M7572</guid>
      <dc:creator>Derek_Gervais</dc:creator>
      <dc:date>2018-09-20T20:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228677#M7573</link>
      <description>&lt;P&gt;Hiii&lt;BR /&gt;
I have same issue but after refreshing it's identified in chat conversation. I have SPA in Angular 5. Any other solution for Why should i have to refresh.??&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 13:10:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228677#M7573</guid>
      <dc:creator />
      <dc:date>2018-10-17T13:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228678#M7574</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
I have the same issue&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="lang-auto"&gt;&amp;lt;!-- Set up the path for the initial page view --&amp;gt;
&amp;lt;script&amp;gt;
    var _hsq = window._hsq = window._hsq || [];
    _hsq.push(["identify",{
        email: '{{ app.user.email }}',
        id: '{{ app.user.id }}'
    }])
    _hsq.push(["trackPageView"]);
&amp;lt;/script&amp;gt;

&amp;lt;!-- Start of HubSpot Embed Code --&amp;gt;
&amp;lt;script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/portal_id.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;!-- End of HubSpot Embed Code --&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Oct 2018 13:37:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228678#M7574</guid>
      <dc:creator>Dimo_Boyadzhiev</dc:creator>
      <dc:date>2018-10-22T13:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228679#M7575</link>
      <description>&lt;P&gt;Did you find any solution?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 22:51:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228679#M7575</guid>
      <dc:creator>Vinicius_Pavei</dc:creator>
      <dc:date>2018-11-26T22:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228680#M7576</link>
      <description>&lt;P&gt;No,&lt;BR /&gt;
it is not possible.&lt;/P&gt;
&lt;P&gt;The chat and analytics are two different systems and they don't communicate each other.&lt;/P&gt;
&lt;P&gt;I had to use another chat provider &lt;IMG src="https://community.hubspot.com/legacyfs/online/emojis/apple/frowning.png?v=6" title=":frowning:" class="emoji" alt=":frowning:" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 07:40:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228680#M7576</guid>
      <dc:creator>Dimo_Boyadzhiev</dc:creator>
      <dc:date>2018-11-27T07:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228681#M7577</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Could you tell me which chat provider you use?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 12:52:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228681#M7577</guid>
      <dc:creator>Vinicius_Pavei</dc:creator>
      <dc:date>2018-11-27T12:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228682#M7578</link>
      <description>&lt;P&gt;Hello, we have the exact same issue. We want to identify the conversations, but instead we only get "Unknown Visitor".&lt;/P&gt;
&lt;P&gt;Any solution for this ?&lt;/P&gt;</description>
      <pubDate>Sun, 02 Dec 2018 14:49:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228682#M7578</guid>
      <dc:creator>6CMarketing</dc:creator>
      <dc:date>2018-12-02T14:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228683#M7579</link>
      <description>&lt;P&gt;Any updates on this?&lt;/P&gt;
&lt;P&gt;My problem is that I need to re-identify my users upon logout / another login, but it seems that the first identify is stucked, and when the chat widget opens, the previous history shows up, and the messages goes in the name (email) of the first identified user no matter if I call again the window._hsq.push([ "identify", { email: .. } ]). What is the proper way to re-identify the chat so I could handle my single page app logout/login process?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 12:45:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228683#M7579</guid>
      <dc:creator />
      <dc:date>2018-12-03T12:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228684#M7580</link>
      <description>&lt;P&gt;&lt;A class="mention" href="https://community.hubspot.com/u/derek_gervais"&gt;@Derek_Gervais&lt;/A&gt; I'm using Forms API to submit hubspotutk along with contact name/email/ip upon login, yet I still need to refresh for the contact to be recognized by the bot.&lt;/P&gt;
&lt;P&gt;When the user was just logged in for the first time, it's still considered an unknown visitor by the bot, and simply one more refresh would solve the issue. It has nothing to do with timing, I tried dynamically loading the script 10 seconds after the page was fully loaded upon login but I still had to refresh one more time to have the bot recognize the contact.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 13:25:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/228684#M7580</guid>
      <dc:creator>Dexter_Chen</dc:creator>
      <dc:date>2018-12-03T13:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/266501#M23893</link>
      <description>&lt;P&gt;Was there ever a solution on this? we have the same problem, visitors are identified as unknown until refresh the page we only want to show chat to people in a targeted segment, so need to know who they are and not hope that they refresh the page, on a single page application&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2019 10:36:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/266501#M23893</guid>
      <dc:creator>jordand</dc:creator>
      <dc:date>2019-04-24T10:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/272664#M24750</link>
      <description>&lt;P&gt;We are also having issues with this and are using Segment. Are there any solutions? Surely this is a critical requirement?&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 14:36:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/272664#M24750</guid>
      <dc:creator>breslinv</dc:creator>
      <dc:date>2019-05-30T14:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/272830#M24773</link>
      <description>&lt;P&gt;Hey all, we recently came out with a &lt;A href="https://developers.hubspot.com/docs/methods/conversations_api/hubspot-conversations-javascript-api" target="_blank" rel="noopener"&gt;Conversations JavaScript API&lt;/A&gt;, where you wouldn't have to refresh the page. This is great for SPAs because now you can just refresh the widget and not the page itself. After some quick testing on a page of my own, I was able to identify the contact, refresh the widget programmatically, then have the ability to see the contact's email address within the Conversations tool.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;screenshot: &lt;A href="http://prntscr.com/nvwptt" target="_blank"&gt;http://prntscr.com/nvwptt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;We still can't use personalization tokens inside the chat unless you're using bots, but now the contacts you identify won't show up as "Anonymous Visitor". Here's the code I used:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;function onConversationsAPIReady() {
    var _hsq = window._hsq = window._hsq || [];
    console.log("ready")
    _hsq.push(["identify",{
    	email: "test@testing.com"&lt;BR /&gt;    }]);
    _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;
&lt;P&gt;feel free to keep testing, but just wanted to make sure you were aware of this new JS API we have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 13:10:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/272830#M24773</guid>
      <dc:creator>cbarley</dc:creator>
      <dc:date>2019-05-31T13:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/276544#M25195</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11385"&gt;@cbarley&lt;/a&gt;&amp;nbsp;Thanks for your precious feedback!&lt;BR /&gt;&lt;BR /&gt;I've been spending the last few hours on this but I'm still having issues in using the &lt;EM&gt;refresh&lt;/EM&gt; API.&lt;BR /&gt;&lt;BR /&gt;I'm using the exact same code you posted; I also verified that things are lined up just fine temporally (the sequence of events is correct: once the hsConversation API is ready my code pushes the "identify" value and the "trackPageView" into _hsq and then calls the refresh function).&lt;BR /&gt;&lt;BR /&gt;Though, nothing happens, my user is still "unknown" to HubSpot (even though I've provided&amp;nbsp;&lt;EM&gt;id&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;email&lt;/EM&gt; matching one of my contacts).&amp;nbsp;&lt;BR /&gt;Similarly, if I setup the Chatflow to show only for tracket contacts, the widget never shows, even though I provide the id and email of the contact before calling refresh.&lt;BR /&gt;&lt;BR /&gt;I still need to do a hard reload of the page to see the widget popping up. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;This is the code I run (in a simplified version, without setTimeout and fake data):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;window._hsq = window._hsq || [];
window._hsq.push([
  "identify",
  { email: "email@example.com" }
]);
window._hsq.push(["trackPageView"]);

window.HubSpotConversations.widget.refresh();&lt;/PRE&gt;&lt;P&gt;Nothing happens when I do that.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What I noticed is that when this happens I find the following response for the network request issued by your code to the url:&amp;nbsp; &lt;A href="https://api.hubspot.com/livechat/v1/message/public?portalId=XXXXX&amp;amp;...&amp;amp;mobile=false&amp;amp;messagesUtk=YYYY" target="_blank" rel="noopener"&gt;https://api.hubspot.com/livechat/v1/message/public?portalId=XXXXX&amp;amp;...&amp;amp;mobile=false&amp;amp;messagesUtk=YYYY&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{"@type":"HIDE_WIDGET","type":"HIDE_WIDGET","metadata":{"@type":"HIDE_WIDGET_META","reason":"NO_MATCHING_WELCOME_MESSAGE","description":"No matching welcome message for portal XXXXX page http://localhost:3000/mypageurl or visitor does not match targeting rules"}}&lt;/PRE&gt;&lt;P&gt;Might this be linked to the widget not refreshing as intended?&lt;BR /&gt;&lt;BR /&gt;Ah, one additional thing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that if I open my contact detail page in HubSpot, I correctly see ALL the "trackPageView" events I pushed!&amp;nbsp;&lt;BR /&gt;Even though the chat widget keep not recognizing the user (unless I refresh the page), the "trackPageView" event I push seems to correctly reach HubSpot and map to the correct contact!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 14:19:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/276544#M25195</guid>
      <dc:creator>damdam</dc:creator>
      <dc:date>2019-06-21T14:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/276599#M25205</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/97732"&gt;@damdam&lt;/a&gt;&amp;nbsp;, the contact's name or email can't show inside the chat bubble since personalization tokens aren't able to be used in that setting, but if you identify the contact, you should be able to see in the Conversations Tool inside HubSpot that they aren't an Unknown Visitor anymore.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The weirdness of that behavior you're seeing right now could also be because you're testing on localhost. I've seen strange behavior there so you should probably just test out on an unpublished test page in HubSpot.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 17:13:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/276599#M25205</guid>
      <dc:creator>cbarley</dc:creator>
      <dc:date>2019-06-21T17:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/276625#M25217</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11385"&gt;@cbarley&lt;/a&gt;&amp;nbsp;, thanks for the quick reply!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I'm aware of the issue with the personalization token &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;That's not what I was talking about. My problem is exactly what you guessed: in HubSpot the visitor is &lt;STRONG&gt;not&lt;/STRONG&gt; recognized as a contact and shows up as "Unknown visitor" (until I refresh the browser page that is, from that moment onward it is properly recognized).&lt;BR /&gt;&lt;BR /&gt;I honestly don't see why using localhost might be a problem, since there's no mention of any domain in Hubspot (so HubSpot wouldn't be able to apply any special behaviour depending on the URL of the incoming request); if that was the case, I would expect the visitor not to be recognized, ever, not even after a page refresh (and that is not the case).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try connecting through a tunnel (to proxy my localhost address through a public address) and see if there's any difference but I won't hold my breath on this.. I've a feeling that it won't change that much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll keep you posted &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the prompt feedback, much appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 19:46:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/276625#M25217</guid>
      <dc:creator>damdam</dc:creator>
      <dc:date>2019-06-21T19:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify a contact in the chat?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/280163#M25745</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to follow your example but it seems some of your code is missing. How do you utilize the call to&amp;nbsp;sendIdentify()?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 14:14:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-identify-a-contact-in-the-chat/m-p/280163#M25745</guid>
      <dc:creator>israelj</dc:creator>
      <dc:date>2019-07-11T14:14:35Z</dc:date>
    </item>
  </channel>
</rss>

