.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.4.0 and above.
  • The shouldOpenChatWindow parameter is optional

Syntax:

CopiedZohoSalesIQ.Tracking.setCustomAction(name: String, shouldOpenChatWindow: Bool)

Example:

CopiedZohoSalesIQ.Tracking.setCustomAction("Zylker", shouldOpenChatWindow: true)