Open live chat

SOLVE
Highlighted
Occasional Contributor

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?

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Highlighted
Regular Advisor

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.  Hope this helps!

Chris Bryant | Your Dedicated HubSpot Expert
2 Replies 2
Highlighted
Regular Advisor

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.  Hope this helps!

Chris Bryant | Your Dedicated HubSpot Expert
Highlighted
Occasional Contributor

Thanks, that worked perfectly!