# Open live chat

**URL:** <https://community.hubspot.com/t/open-live-chat/25167>\
**Category:** Lead Capture Tools\
**Tags:** lead-flows\
**Created:** [September 7, 2020, 7:52pm UTC](https://community.hubspot.com/t/open-live-chat/25167 "2020-09-07T19:52:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Handemmet](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/handemmet/32/73373_2.png) [@Handemmet](https://community.hubspot.com/u/Handemmet)\
**Post date:** [September 7, 2020, 7:52pm UTC](https://community.hubspot.com/t/open-live-chat/25167/1 "2020-09-07T19:52:00Z")

</div>

Hi.

I have the Live Chat icon down the bottom and works perfectly.

On my Contact Page, I have created another icon on the page and I was wondering what is the link I can use to launch the Live Chat?

---

<div class="post-metadata">

**Author:** ![Bryantworks](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bryantworks/32/94963_2.png) [@Bryantworks](https://community.hubspot.com/u/Bryantworks)\
**Post date:** [September 8, 2020, 7:32am UTC](https://community.hubspot.com/t/open-live-chat/25167/2 "2020-09-08T07:32:57Z")

</div>

Hey @Handemmet you should append your link with the following:

`<a class="cta-primary" href="" onclick="window.hubspot.messages.EXPERIMENTAL_API.requestWidgetOpen();">Link text</a>`

This is taken from this [earlier post](https://community.hubspot.com/t5/Blog-Website-Page-Publishing/How-to-link-to-chat-on-my-website/td-p/213823). Hope this helps!

---

<div class="post-metadata">

**Author:** ![Handemmet](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/handemmet/32/73373_2.png) [@Handemmet](https://community.hubspot.com/u/Handemmet)\
**Post date:** [September 8, 2020, 11:17am UTC](https://community.hubspot.com/t/open-live-chat/25167/3 "2020-09-08T11:17:41Z")

</div>

Thanks, that worked perfectly!

---

<div class="post-metadata">

**Author:** ![brianserocke](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/brianserocke/32/13210_2.png) [@brianserocke](https://community.hubspot.com/u/brianserocke)\
**Post date:** [October 1, 2020, 7:37am UTC](https://community.hubspot.com/t/open-live-chat/25167/4 "2020-10-01T07:37:44Z")

</div>

@Bryantworks I am attempting this same implementation but not having any luck. Here’s the code I’m using inside of a module:

`<a class="cta_button" onclick="window.hubspot.messages.EXPERIMENTAL_API.requestWidgetOpen();">{{ module.cta_two.button_text }}</a>`

The “Start a Live Chat” button on [this contact page](https://www.beaconspoint.com/contact) doesn’t appear to pop open the chat window. I also remember an href target of “#hs-chat-open” as another solution but I don’t see that working either.

Any additional help you can offer?

---

<div class="post-metadata">

**Author:** ![MatthewShepherd](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matthewshepherd/32/31314_2.png) [@MatthewShepherd](https://community.hubspot.com/u/MatthewShepherd)\
**Post date:** [July 15, 2021, 9:23am UTC](https://community.hubspot.com/t/open-live-chat/25167/5 "2021-07-15T09:23:43Z")

</div>

@brianserocke the conversations method code changed slightly, so try this as your onclick  
onclick="window.HubSpotConversations.widget.open();  
p.s. For anyone looking to not load their chat widget at all until a button is clicked the above isn’t what you need. Take a look at this post: [https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/onclick-action-doesn-t-work/m-p/457288#M472](https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/onclick-action-doesn-t-work/m-p/457288#M472)

---

<div class="post-metadata">

**Author:** ![brianserocke](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/brianserocke/32/13210_2.png) [@brianserocke](https://community.hubspot.com/u/brianserocke)\
**Post date:** [August 19, 2021, 4:49am UTC](https://community.hubspot.com/t/open-live-chat/25167/6 "2021-08-19T04:49:04Z")

</div>

Thanks for the clarification, @MatthewShepherd! We implemented this on our [Contact page](https://www.beaconspoint.com/contact) and it appears to be working well. I appreciate you giving us the heads up.
