Step 6: Test your integration
Publish a few test campaigns in Digia Engage and check app-open, screen, event, inline and login campaigns in your app before release.
Create a few simple campaigns in the dashboard, publish them, and check them in your app.
- A popup on app open. Create a nudge, set Targeting → When it fires to App open, and publish it. Restart your app: it should appear.
- A screen campaign. Set When it fires to Screen view with one of your screen names. Open that screen: it should appear.
- An event campaign. Set When it fires to Event and pick one of your events. Do that action in the app: it should appear.
- Inline content. Create an inline campaign for one of your slots: it should show in the slot.
- Login and logout. Create a campaign for logged-in users only. It should show after login and stop after logout.
Something didn't show? Filter your console logs for DIGIA (in React Native, set
logLevel: 'verbose' first). Each line names the campaign and says why it showed or didn't.
tip
Live test in the dashboard shows a campaign on your test device straight away. Use it to check the design. To check the rule, publish the campaign and trigger it from the app as above.
Share these names with your campaign team
Campaigns can only use what your app sends. Send your campaign team a list like this:
| What | Examples |
|---|---|
| Screen names | home, product_detail, cart |
| Events and their properties | add_to_cart with price, category |
| User attributes | city, plan, has_ordered |
| Anchor keys | buy_now_button |
| Slot keys | home_top |