Keep the hosted Convor widget fast without maintaining Convor infrastructure yourself.
The production widget is loaded asynchronously from Convor's hosted assets. Your site should treat the embed as a single third-party script and avoid adding custom loaders or duplicated initialization around it unless your application has a specific integration requirement.
Use the code copied from Settings → Widget → Installation and security:
<script
src="https://cdn.convor.io/widget.js"
data-key="convor_wpk_..."
async
></script>Place the snippet once. Loading it more than once creates unnecessary browser work and can make troubleshooting harder.
Keep appearance and behavior in the Convor dashboard. Do not duplicate hosted service addresses, visual settings, or transport configuration in tag managers and application environment variables.
Use window.Convor only for values that genuinely come from the current
application session, such as signed-in customer data or SPA route changes.
When the widget is noticeably slower than the rest of the page:
widget.js loads or during a later request.The widget observes normal browser history changes. If your router represents a
logical route without updating the browser URL, call Convor.setPage() after
navigation instead of destroying and reloading the widget.
await Convor.setPage({
url: currentRoute,
referrer: previousRoute,
});Keeping one widget instance for the page lifetime avoids unnecessary reloads and preserves the visitor session.
Ostatnia aktualizacja: 10 sie 2026
Czy ta strona była pomocna?