Tracking.setCustomAction()

This API lets you initiate a trigger upon an action, like clicking on a button in your mobile app.

shouldOpenChatWindow:

When the shouldOpenChatWindow parameter is set to true, the Zoho SalesIQ’s chat window in the user's app will open directly when the API is triggered.

Note:

  • By default, the shouldOpenChatWindow parameter is set to false. In this case, if the trigger is activated, an in-app notification will be sent to the user's mobile device.
  • The shouldOpenChatWindow parameter is supported from version 5.1.0 and above.
  • The shouldOpenChatWindow parameter is optional.

Syntax:

CopiedZohoSalesIQ.Tracking.setCustomAction(String actionName, boolean shouldOpenChatWindow)

Parameters:

  • actionName - Name of the action performed by the visitor.

Example:

CopiedZohoSalesIQ.Tracking.setCustomAction("Navigated to Zylker", true/false);