I’ve just set up Crisp chat tool for my Webflow site and want to have a custom button to open the chat box.
From their help page here, it says to use:
- This JS code to open the chat box:
$crisp.push(['do', 'chat:open']);. I’ve put this in the body like so:
- And something like this to call it:
<button onclick="$crisp.push(['do', 'chat:open'])">Click Me!</button>. No idea where how to use this.
I’ve tried multiple times and I’m stuck with these issues:
- The code from (1) seems to be opening the chatbox every time the page loads- not something I intended.
- I have a button somewhere in the page but haven’t been able to get the chat box open when it’s clicked.
I’d really appreciate any help in getting it to work!