JavaScript APIs

$zoho.salesiq.visitor

.visitor.name()To set visitor name

This API is used to fill the visitor's name in the chat widget text box.

Even if the visitor name field is hidden from the chat widget, the API can still set the visitor name and display it to the agent.

Read More >>>

.visitor.email()To set visitor email

You can use this API to fill the visitor email address in the chat widget text box.

Even if the visitor email field is hidden from the chat widget, the API can still set the visitor email address and display it to the agent.

Read More >>>

.visitor.contactnumber()To set visitor contact number

This API is used to fill the visitor contact number in the chat widget text box.

Even if the visitor contact number field is hidden from the chat widget, the API can still set the visitor contact number and display it to the agent.

Read More >>>

.visitor.info()To set visitor information

This API allows you to add the additional information about the visitor and displays it to the agent in the visitor information section. These information are not visible to the visitors.

Note:

To push the values passed in the JSON object to CRM, create a new field with the same JSON key under Leads/Contacts/Visits module in CRM.

Example: A JSON object {"Band" : "Premium"} will update the value as Premium, if a custom field with name Band exists in your CRM.

Read More >>>

.visitor.question()To set visitor question

You can use this API to pre-fill a question in the chat widget.

Read More >>>

Top