JavaScript API
Once your embed script is loaded on the page, a small JavaScript API is available atwindow.UpdatesPage for controlling the slide-over panel programmatically.
Embeds are available on the Business plan. See Installing an Embed for setup.
Methods
Both methods take your embed ID (the same ID that appears in your embed’s script tag URL).Open the panel
Close the panel
Using a custom trigger
By default, the embed renders its own trigger button where the script tag is placed. To use your own button, link, or menu item instead:- In the dashboard, go to Account → Embeds and open your embed in the editor
- Set the action style to custom — this hides the default button
- Call
window.UpdatesPage.open("<embed-id>")from your own UI