.chatbutton.click()
This event handler allows you to invoke a method right after the chat button is clicked.
Syntax
Copied$zoho.salesiq.chatbutton.click(function(){});
Example
Copied<script>
$zoho.salesiq.ready=function()
{
$zoho.salesiq.chatbutton.click(function()
{
#insert your code here
});
}
</script>