- This topic has 2 replies, 2 voices, and was last updated 7 years, 2 months ago by .
-
Ticket
-
Greetings,
we’re trying to implement an onclick event on a button to start a chat through Crisp. The code:
<button onclick="$crisp.push(['do', 'chat:open'])">START CHAT</button>
We tried this using a text element but after saving, it erases the onclick part. Using a normal button doesn’t work because there isn’t a field to add the onclick event.
Any suggestions?
Sorry, only verified customers can view ticket replies.