Step 6: Connect CleverTap campaigns
How a CleverTap campaign shows a Digia Engage campaign through DigiaTemplate, and the campaign keys and names your campaign team needs from you.
Your app can now show Digia campaigns. Your campaign team creates each one in Digia and CleverTap, so there's no code to write per campaign. This page covers what you need to know as the developer.
How a CleverTap campaign shows a Digia campaign
CleverTap decides who sees a campaign and when. Digia decides what they see. Each
CleverTap campaign carries a digia_campaign_key, and the Digia plugin shows the Digia campaign
with that key. It can also carry variables, such as a coupon code or the user's name.
| Digia experience | CleverTap campaign | What your app needs (Step 2) |
|---|---|---|
| Nudge, survey | In-App, using DigiaTemplate | DigiaHost |
| Guide | In-App, using DigiaTemplate | DigiaHost, plus a DigiaAnchor for each step's anchor key |
| Floater (floating video or story) | Native Display, with a custom key-value | DigiaHost |
| Inline | Native Display, with a custom key-value | A DigiaSlot with the matching placement key |
Nudges, guides and surveys take over the screen, so they use In-App, which shows one campaign at a time. Floaters and inline content leave the rest of the app usable, so they use Native Display, which never blocks other campaigns. Why it's set up this way.
What your campaign team needs from you
DigiaTemplatesynced to your CleverTap project (Step 5). In-App campaigns can't use it until it is.- Your anchor and slot keys: the
anchorKeyof eachDigiaAnchorand theplacementKeyof eachDigiaSlot. Campaigns must use these exact names. - The first app version that includes Digia, so campaigns target only that version and later. Older versions still receive the CleverTap campaign but can't show it.
Then point them to the CleverTap campaign guides. They explain how Digia campaigns map to CleverTap and walk through each experience step by step:
| Experience | Guide |
|---|---|
| Bottom sheet or dialog | Bottom-Sheet Nudge |
| Tooltip tour | Multi-Step Tooltip Guide |
| Survey | In-App Survey |
| Inline content | Inline Carousel |
Inline content stays loaded once a campaign renders it — it doesn't clear when the user's context changes. To clear it (for example on logout), see Managing Inline Content.