.visitor.info()

This API would let you add additional information about the visitors and display it to the operators of your firm in the pane right beside their chat windows while conversing with the visitors. 

Note:

To push the values passed in the JSON object to your CRM, create a new field with the same name as that of the JSON key passed, under Leads/Contacts/Visits module in CRM. For instance, say a JSON object contains - {"Band" : "Premium"}, the value "Premium" will be passed over and will be updated in your CRM only if there exists a field called "Band" in your CRM account. The keys are case sensitive, so make sure that the cases of the field name in your CRM and the key passed match. 

PARAMETERS

  • key:Name of the field to be created.
  • value: Value that will be updated in the field.

Syntax

Copied<script>

$zoho.salesiq.ready=function()

{
   $zoho.salesiq.visitor.info({" < key1 > " : " < value1 > ", " < key2 > ": "< value2 > "});
}
</script>

Example

Copied<script>

$zoho.salesiq.ready=function()

{
   $zoho.salesiq.visitor.info({"Band" : "Premium", "Branch": "California"});
}
</script>