.floatwindow.open()

This API would let you invoke a method right after a visitor opens the chat window.

 

Syntax:

Copied$zoho.salesiq.floatwindow.open(function(){ });

Example

Copied<script>
$zoho.salesiq.ready=function(embedinfo)
{
  $zoho.salesiq.floatwindow.open(function(){
     #insert your code here
  })
}
</script>