Messaging web SDK: setPageUrl and integration event fields
The Messaging web SDK now provides setPageUrl(url) on window.adaEmbed and AdaMessagingClient.
Use it to report the current page URL, such as after navigation in a single-page app.
The SDK uses this URL for URL-triggered campaigns, greeting path targeting, initialURL, and analytics.
Call setPageUrl after start and on each navigation.
See the setPageUrl reference.
The ada:integration:command, ada:integration:result, and ada:integration:event window events now carry lifecycle fields only.
They contain no message text, agent identity, or credentials.
Hosts that read detail.payload must use these lifecycle fields instead.
See the integration event fields.