.visitor.feedback()
This event handler allows you to invoke a method right after the visitors submit feedback about the support session they had with the operators of your firm.
PARAMETERS
visitid: Unique ID generated for the visitor.
data: Visitor feedback message information.
feedback: Feedback given by the visitor to the agent who attended the chat.
agent: The email address of an agent who attends the chat.
Syntax
Copied$zoho.salesiq.visitor.feedback(function(visitid,data){});
"visitid" : "<Visitor id>","data" :
{
"visitid" : "<Visitor id>",
"feedback" : "<Visitor feedback message>",
"agent" : "<Agent email address>"
}
Example
Copied<script>
$zoho.salesiq.ready=function()
{
$zoho.salesiq.visitor.feedback(function(visitid,data)
{
TrackinMyApplication(data.name,data.email,data.question,data.visitid);
});
}
</script>