Live chat unknown visitor

<Script id=“hubspot-livechat”>

{`

window.hsConversationsSettings = {loadImmediately: false, identificationEmail:${userEmail}};

let _hsq = window._hsq = window._hsq || [];

_hsq.push([“identify”,{email: ${userEmail},}]);

_hsq.push([“trackPageView”]);

`}

</Script>

<Script

type=“text/javascript”

id=“hs-script-loader”

async

defer

src=“//js-na1.hs-scripts.com/xxxxxxxx.js

></Script>

I have used this code to install chat widget and idenfy the user. But in the inbox i get message as “unknown visitor” but contacts with the user email gets created. I want my chat to show user email instead of “unknown visitor”, i am currently in the freee tier. How can i do that? thanks

Hi, @DRijal :waving_hand: Thanks for the question. I’d recommend checking out this post for some inspiration — Visitor Identification API trouble, and this documentation for more information on working with the Conversations API

and the Visitor Identification API.

There is not a single guide or document to outline specific steps, as that will be different for each use case.

In general, the best way to utilize the community is to provide:

  • steps you’ve taken
  • recourses you’ve used
  • code examples of what you’ve written or modified
  • the exact issue you are stuck on

Have fun building! — Jaycee