How It Works
Understand the embed flow in plain language.
The integration follows a simple model:
- Your page loads the embed script.
- The widget reads queued commands, including
init. - The chat iframe opens when needed.
- Your page and the iframe exchange data through browser messaging.
Why this model is used
Queue-first startup
You can push initialization commands before the script is fully loaded.
When runtime is ready, those commands are applied.
On-demand loading
The chat iframe is typically created when users open the widget, keeping initial page load lighter.
Context synchronization
You can send context at startup and update it later when user/product data changes.
What this means for integrators
- Installation stays simple: one snippet from configurator.
- Dynamic sites can keep context updated without page refresh.
- Non-technical users can complete setup without deep JavaScript knowledge.
Continue to Troubleshooting.