siteId, then displays campaigns after the user is identified.
Enable in-app messaging
Pass settings under theZixflow In-App Plugin integration when you load the SDK:
Identify users
Identify a user before personalized in-app messages can be delivered:How messages appear
- Create and launch an in-app campaign in the Zixflow dashboard.
- When campaign conditions match, the SDK fetches and displays the message.
- Standard modal / overlay messages render without extra UI code.
analytics.page() on SPA navigations.
Listen for in-app events
Provide anevents listener in plugin settings to receive message lifecycle events:
Notification inbox
When the plugin is loaded, callanalytics.inbox() for persistent inbox messages:
| Method | Description |
|---|---|
total() | Total inbox messages |
totalUnopened() | Unopened count |
messages() | Current messages |
onUpdates(callback) | Subscribe to list changes; returns unsubscribe |
message.markOpened() | Mark opened |
message.markUnopened() | Mark unopened |
message.markDeleted() | Delete |
message.trackClick(name?) | Track a click metric |