JavaScript APIs

$zoho.salesiq.visitor

.visitor.chat()To handle an event on initiating a chat

This event handler allows you to invoke a method, when a visitor initiates the chat.

Read More >>>

.visitor.missed()To handle an event for missed chat

This event handler allows you to invoke a method, when the chat is missed.

Read More >>>

.visitor.offlineMessage()To handle an event when the agents are offline

This event handler allows you to invoke a method on submitting an offline request.

Read More >>>

.visitor.rating()To handle an event on submitting feedback rating

This event handler allows you to invoke a method, when a visitor rates the support session.

Read More >>>

.visitor.feedback()To handle an event on submitting a feedback

This event handler allows you to invoke a method on submitting the feedback message.

Read More >>>

.visitor.idle()To handle an event when the visitor is idle

This event handler allows you to invoke a method, when the visitor turns to idle state.

Read More >>>

.visitor.active()To handle an event when the visitor is active

This event handler allows you to invoke a method, when the visitor resumes to an active state from idle.

Read More >>>

.visitor.trigger()To implement your own custom trigger

Allows invoking your own custom trigger in the visitor’s landing page, if the visitor matches the configured condition. To do so:

  1. Implement this JS API in your website.
  2. Set a rule for which the API should be triggered in the Settings -> Automation -> Intelligent Triggers and choose the Invoke JS API option in the Select an Option dropdown.
  3. The API will be invoked when the visitor matches the rule. If trigger name is mentioned in the textbox then it will be passed as a parameter to the method. The second parameter contains available visitor information.
Read More >>>

Top