Home Forums Unicon Button add onclick event

Home Forums Unicon Button add onclick event

  • Creator
    Ticket
  • #86002

    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.