- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Opening live chat via javascript
SOLVEDec 22, 2018 6:26 PM
We're trying to make it so a button can open the live chat widget via javascript, how could we do this?
(by live chat, I am referring to the hubspot live chat widget)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Accepted Solutions
Dec 27, 2018 10:03 AM
Hi, @Chris_Cardone.
Your request seems similar to this topic. If you use JavaScript to append #hs-chat-open
to the end of the URL, the chat widget will open immediately.
Check out the documentation here .
This feature was implemented due to feedback on this HubSpot Community request . The thread includes some helpful code examples from other developers.
Isaac TakushiAlumnus, HubSpot Developer Support |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 5, 2019 7:38 PM
hi @chriscardone and @tjoyce , we also just released a Conversations Live Chat Widget API, where you can use this this function to open the widget:
window.HubSpotConversations.widget.open();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content