Skip to navigation

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.


Playbook SET steps fill variables placed in text

A Playbooks SET step with an exact value can fill in variables placed inside text, as a SEND step does. This change rolls out by account. It is not on for every account yet.

For example, a URL such as https://forms.example.com/?name=@name writes the URL with the end user’s name in it. Without this change, the step fails and the variable stays empty. This applies only when the target variable is a text or media variable. Math such as @count + 1 and joins such as "ORD-" + @order_id work as before.

The editor also shows a warning when an operator joins a value to a variable with no space, such as 63-@phone. The warning covers +, -, *, / and % between a variable and a number or another variable. The step calculates these values as math when the values are numbers, so 63-@phone subtracts and @first+@last adds two numbers. The Ada MCP server and adacli show the same warning when they save a playbook.

For more information, see Exact value.