Hi,
I’m trying to integrate the Visitor Identification api with the chat widget on a developer test portal. I followed the related documentation but I’m still unable to make this work properly.
Here is the thing : I’m able to get a token from the Visitor Identification api, I have set the properties to the chat widget, but when I start a chat conversation then it shows up as “Unknown Visitor”.
My code looks like this :
if (window.HubSpotConversations) {
onConversationsAPIReady();
}
else {
window.hsConversationsOnReady = [onConversationsAPIReady];
}
function onConversationsAPIReady() {
window.hsConversationsSettings = {
loadImmediately: false,
identificationEmail: "<EMAILADRESS>",
identificationToken: "<TOKEN>"
};
}
function loadChat() {
window.HubSpotConversations.widget.load();
}
So I don’t know what I’m missing or if this kind of issue has already been resolved in another post that I haven’t seen.
I’d appreciate your help thanks.