Support » Plugin: Tidio Live Chat » How to set click to chat?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support olektidio

    (@olektidio)

    Hello,

    It is possible to have the chat widget opened using a particular element on your website. 🙂

    First of all, you will need to paste another script before your chat’s javascript code. The script should work the plugin too! Here it is:

    <script>
    function chatShow() {
    
     window.tidioChatApi.show();
    
     window.tidioChatApi.open();
    
    }
    
    </script>

    Once this is installed you will now need to make your button/text start the action. For that we recommend using a button command. Here’s how to do it:

    <button onclick="chatShow()">
    
    YOUR LINK TEXT OR ELEMENT HERE
    
    </button>

    The second part needs to be put into your contact, product or your main page with the HTML editor, and that is it! Now after clicking on a button/link your chat widget will open up for your visitor.

    Please let me know if you would have any trouble with that or there would be anything else I could help you with!

    sanhos95

    (@sanhos95)

    Thank you very much, it helped me a lot. Works great

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.