In addition to static triggers, Campaigns can be triggered by a unique API call integrated into the app.
The API trigger is useful for activating Campaigns by an action performed in your app, such as a button tap or a screen transition. For example, if there is nothing in the app to key a segment off of, you can set an API trigger to precisely determine the moment when a Campaign will start.
The API trigger requires setting a key with which the Campaign will use to start, which can be done in the Campaign Wizard's REVIEW & PUBLISH tab.
Click on the API trigger:
and enter the API key:
ABBI.trigger("my-key");
ABBI.trigger("my-key","myapp://deep_link");
[ABBI trigger:@"my-key"];
[ABBI trigger:@"my-key" withDeepLink:@"myapp://deep_link"];