APIs & Integrations

stepa_pershko
Member

Visitor Identification with Angular and Chat Widget

Hey there , 

Is there any possibilities to work with Non-identified users via loginPage and when i have already login it will be identify

 

I Have connected all options by BE with new token but there is a problem on the login page

 

1. Login in i have initialized a chat vidget by AfterViewInitComponent (and it is success)

But when i will login it was not identify user due to the Chat was already initialized and unknown user is there 

Is there any chanse to Destroy first Chat to Make work 2nd with identifyied user

 

P.S 

It will identify if i will not call the method in the app-component on AfterViewInit

 

The code i have included via link

https://jsfiddle.net/stepa_pershko/xr2uegc9/3/

 

Thanks in Advance

0 Upvotes
1 Reply 1
dennisedson
HubSpot Product Team
HubSpot Product Team

Visitor Identification with Angular and Chat Widget

Hey @stepa_pershko 

Unsure if this is exactly what you want, but maybe check out @VetoMP 's solution
@VetoMP , do you have any further suggestions about this?

0 Upvotes