Do you want to load chat widget, only when the visitor clicks a button on your site and hide the widget otherwise? Follow the steps below to achieve that. Note: Below steps should be performed on the page where the chat widget has been installed. Step 1: Add an ' id ' to the element (button), that you want to use…