To learn more about how to use the Chaty app click here, and don’t forget to check our entire Chaty app knowledgebase to make the most out of it.
You can use this feature to launch or close your Chaty app widget from anywhere on your website, for example, through a button or an image.
How to launch your Chaty app widget
Please note that if you have more than one Chaty widget, you need to pass the widget ID too. You can find your Chaty widget ID in the URL when you edit a widget. Check the example below!
Let’s assume we are in the settings of our second widget. When you click on the browser URL, you will find the widget ID, like so:
In this case, our second widget ID is “620iyuohqz”. So, the function in this case will be like this:
How to close your Chaty app widget
And of course, following the example above, to close our second, etc. Chaty widget, we will use the function below:
When you’re done, don’t forget to hit ”Save”. That’s it! Easy as 1,2,3 ☺️
In the end, depending on your settings and customisations, it may look something like this: