APIs & Integrations

Douglas_leve
メンバー

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

解決

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 いいね!
1件の承認済みベストアンサー
Douglas_leve
解決策
メンバー

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

解決

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

 

 

元の投稿で解決策を見る

3件の返信
Dhemes
メンバー

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

解決

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 いいね!
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

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

解決

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

0 いいね!
Douglas_leve
解決策
メンバー

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

解決

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