adjust-icon

Remote Trigger Callback

The Adjust SDK can listen for remote triggers configured in Adjust and notify your app when a trigger is received. You can use this functionality to react to server-side configured activities and access the trigger metadata within your application.

Configure the remote trigger callback

To listen for remote triggers, you need to configure the AdjustDelegate and implement the remote trigger callback function.

Add the AdjustDelegate protocol

Add the AdjustDelegate declaration to your AppDelegate:

Set the delegate on your ADJConfig instance

Assign your delegate instance before initializing the Adjust SDK.

Implement the remote trigger callback

The SDK invokes the callback function whenever a configured remote trigger is received.

The callback provides an ADJRemoteTrigger object containing information about the trigger, including:

  • label: The trigger label configured in Adjust.
  • payload: Additional payload data associated with the trigger.