As of February 28, 2022, Ada no longer supports Embed1. Please contact your Customer Success Representative about upgrading to Embed2.
If you are coming to Embed2 from Embed1, great! Upgrading couldn't be simpler. For basic setups, you just need to change the Embed script src
on your web page(s) from <https://static.ada.support/embed.js
> to <https://static.ada.support/embed2.js
>.
Example
<script
id="__ada"
data-handle="<YOUR-BOT-HANDLE>"
src="https://static.ada.support/embed2.js">
</script>
Although the Embed2 API is almost identical to Embed1, in some cases features have been removed or modified, as listed below.
Embed1 Feature | Status | Comments |
---|---|---|
authCallback | Modified | Renamed to zdChatterAuthCallback . |
crossWindowPersistence | Modified | Simplified to accept a boolean instead of an object. |
dragAndDrop | Deprecated | |
mobileOverlay | Deprecated | |
private | Modified | Renamed to privateMode . |
styles | Deprecated |
Additionally, all actions have been modified to return Promises.