How to open Crisp chat on click
This guide will show you how to open the Crisp chatbox via a custom button.

Before you proceed please make sure you have installed Crisp on your website. Learn how to do it in our simple guide.
Copy this code:
In Unicorn Platform, open the required button's settings:


Paste the code from step 1 into the onclick field:

Replace the button's URL with this ID: #0

You can use any random number instead of 0. For example, it can be #123.
Open the live version of your website and click the button to see the results.


Before you proceed please make sure you have installed Crisp on your website. Learn how to do it in our simple guide.
Step 1/4
Copy this code:
$crisp.push(['do', 'chat:open']);
Step 2/4
In Unicorn Platform, open the required button's settings:


Step 3/4
Paste the code from step 1 into the onclick field:

Step 4/4
Replace the button's URL with this ID: #0

You can use any random number instead of 0. For example, it can be #123.
Done!
Open the live version of your website and click the button to see the results.

Updated on: 23/03/2022
Thank you!