APIs & Integrations

JimLynch
Member

Launching Chat Using URL?

SOLVE

I have a page that with button click we are adding #hs-chat-open to fire the chat session to open.  The issue is if someone minimizes the chat session and maybe scrolls down the page and hit the button again it doesnt refire because the #hs-chat-open already existed in the url.  Anyone have any ideas on how to get it to open automatically everytime with button push.  We are using Divi builder if at all helpful for response.  Thanks!

1 Accepted solution
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Launching Chat Using URL?

SOLVE

Hey @JimLynch,

 

Just to ensure that we're on the same page, could you share more in details on how you fire the chat when someone click the button? 

 

Are you using the Conversations API? Specifically, this open widget script:

window.HubSpotConversations.widget.open();

View solution in original post

2 Replies 2
WendyGoh
Solution
HubSpot Employee
HubSpot Employee

Launching Chat Using URL?

SOLVE

Hey @JimLynch,

 

Just to ensure that we're on the same page, could you share more in details on how you fire the chat when someone click the button? 

 

Are you using the Conversations API? Specifically, this open widget script:

window.HubSpotConversations.widget.open();
JimLynch
Member

Launching Chat Using URL?

SOLVE

I am not, but could look into this.  Currently just using #hs-chat-open at end of url to open. 

0 Upvotes