APIs & Integrations

Douglas_leve
Miembro

How to open live chat window immediately without showing launcher button.

resolver

Hi ,

 

I'm using the live chat api to open the chat window using a custom button in my Ionic/Angular application.

For desktop works ok, because when I click on the custom open button the chat window is displayed fine.

But on mobile devices when I click on the open chat button, the app first opens the launcher and then I need to click on the launcher to open the chat window, but what I really need is to open right away (just like how it works on the desktop version)

 

I'm trying to use these two methods, but it's not working the way I need:

window.HubSpotConversations.widget.load({ widgetOpen: true });

window.HubSpotConversations.widget.open();

 

Any ideias on how I could do that?

 

Regards!

0 Me gusta
1 Soluciones aceptada
Douglas_leve
Solución
Miembro

How to open live chat window immediately without showing launcher button.

resolver

Hi guys!

 

I found the #hs-chat-open in the related subjects and works like charm.

https://community.hubspot.com/t5/APIs-Integrations/Opening-live-chat-via-javascript/m-p/248318

 

Thanks

 

 

Ver la solución en mensaje original publicado

3 Respuestas 3
Dhemes
Miembro

How to open live chat window immediately without showing launcher button.

resolver

To use live chat for your Menu item – follow next steps:
Copy the third code of this option. It will look like this – #lcsShowChat_1.
Go to Appearance -> Menus.
In Menu Structure choose item and paste code into the “Title Attribute” field.
Save menu changes.

 

Regards,

Will

0 Me gusta
dennisedson
Equipo de producto de HubSpot
Equipo de producto de HubSpot

How to open live chat window immediately without showing launcher button.

resolver

@piersg , @John , @webdew , any of you ever mess around with this?

0 Me gusta
Douglas_leve
Solución
Miembro

How to open live chat window immediately without showing launcher button.

resolver

Hi guys!

 

I found the #hs-chat-open in the related subjects and works like charm.

https://community.hubspot.com/t5/APIs-Integrations/Opening-live-chat-via-javascript/m-p/248318

 

Thanks