Is it possible to open the live chat directly from a link or a custom button?

Luca Micheli
Written by Luca MicheliLast updated 4 years ago

If you want to open the live chat from a button or link of yours on your website you can easily achieve it with the onclick html tag.


If you have a <button> or <a> element to open the live chat when someone clicks on it just add the onclick="customerly('open')" to it.


<button onclick="customerly.open()">Click me</button>


Or if you are using an <a> element follow the example below:


<a onclick="customerly.open()"> Link to click </a>


Did this article help you solve your issue?

Customerly - Help Center

© 2025 Customerly - Help Center. All rights reserved.

Knowledge Base Software by Customerly