In this article, we'll cover how to trigger your Maven HQ Webchat to open when someone clicks on a specific button or hyperlinked text on your website or landing page.


1. Make sure your webchat is installed on your landing page or website

2. Immediately after your closing "script" tag for the webchat embed code ( </script> ), add this code snippet: 

<script>
        var toolkit = new ToolkitChat();
        toolkit.open();
 </script>

3. Create a button or hyperlinked text (ex: Chat with us) on your landing page or website

4. The link for the button should be "#mktchat" (without the quotes)

5. The "class" for the button should be "mktchat" (without the quotes) 

5. Test it live and the webchat should open when you click on your new button or hyperlinked text!



If you have any questions, feel free to reach out to our support team at support@mavenhq.io.