# Step 6: Test your integration

URL: https://www.digia.tech/docs/developer/webengage/test-your-integration

WebEngage Change your setup in the sidebar
Checklist to verify your Digia Engage and WebEngage integration end to end: init order, host placement, screens, users and a live campaign.

Follow these steps to verify end-to-end functionality before releasing:

1. **Verify initialization order** — the Digia WebEngage plugin is registered right after the WebEngage SDK starts, in the same startup code as `Digia.initialize` , before any WebEngage event fires.
2. **Verify host placement** — For React Native, mount `<DigiaHost />` once at the app root. Otherwise `DigiaHost` must be in the root Composable (Android Compose), the root SwiftUI wrapper (iOS), or `MaterialApp.builder` (Flutter). Android View apps call `Digia.attach(application)` in their `Application` class; iOS UIKit apps call `Digia.attach(to:)` with a plain root view controller.
3. **Verify Flutter iOS AppDelegate** — confirm `DigiaSuppressPlugin.shared` is passed as the `notificationDelegate` in `AppDelegate.swift` .
4. **Create a test campaign** — create an In-App (Custom HTML) campaign with a `digia-config` block pointing to a known Digia campaign and trigger it immediately for your test device.
5. **Verify inline slots** — place `DigiaSlot` / `DigiaSlotView` on a visible screen, trigger an In-App campaign whose `digia_campaign_key` points to an inline Digia campaign targeting that slot, and confirm content renders.
6. **Verify guides** — register a `DigiaAnchor` / `DigiaAnchorView` with an `anchorKey` , point a Guide campaign step at it, and confirm the tooltip/spotlight anchors correctly.
7. **Verify screen tracking** — navigate between screens and confirm that screen-triggered campaigns fire on the correct screen (use navigation listeners calling `Digia.setCurrentScreen(...)` on React Native, `Digia.setCurrentScreen(...)` or `digiaScreen("...")` in Android View/XML apps, route/screen change hooks calling `Digia.setCurrentScreen(...)` on Swift, and `DigiaNavigatorObserver` on Flutter). SeeReporting the Current Screen for per-stack and per-router wiring, andScreen Targeting to scope campaigns to specific screens.
