1. Home
  2. WalkMe Mobile
  3. Mobile: Analytics and APIs
  4. Mobile: Additional Mobile APIs
  5. Mobile: What Is The Campaign Trigger API and How Is It Used?

Mobile: What Is The Campaign Trigger API and How Is It Used?

Updated on May 8, 2021 Download PDFDownload as PDF
image_pdf

Brief Overview

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.

Enabling the API Trigger in the Mobile Console

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:

How To Integrate API Triggers With Your App

Android

Trigger a campaign without redirect

ABBI.trigger("my-key");

ABBI.trigger("my-key","myapp://deep_link");

iOS

Trigger a campaign without redirect

[ABBI trigger:@"my-key"];

[ABBI trigger:@"my-key" withDeepLink:@"myapp://deep_link"];

Was this article helpful?

Thanks for your feedback!

Related Articles

< Back