Website Embed
Iframe embed: put the chatbot inside a page
Embed the full Assistrio chatbot inside any page with an iframe — install code, sizing, Top Pages analytics, and the referrer policy it needs.
Use the iframe when you want the chat to be part of one page rather than a floating launcher on every page. Copy it from Deploy › Iframe.
<iframe
src="https://app.assistrio.com/iframe/YOUR_AGENT_ID"
style="width:100%;height:650px;border:0;border-radius:16px;"
allow="clipboard-write; microphone"
title="Assistrio chat"
></iframe>- Give it at least 600px of height and full width.
- Keep the
srcexactly as copied. The page that shows the iframe must be on your Allowed websites list — Assistrio setsframe-ancestorsfrom that list. - In React or Next.js JSX, use
style={{ width: "100%", height: 600, border: 0 }}.
Top Pages analytics
Optional but recommended: append parentPageUrl so analytics can show which pages chats start on.
const src =
"https://app.assistrio.com/iframe/YOUR_AGENT_ID" +
"?parentPageUrl=" + encodeURIComponent(window.location.href);Referrer policy
Important
The iframe identifies your website from the browser referrer. If your site sends Referrer-Policy: no-referrer or same-origin, the chat may not load. Use strict-origin-when-cross-origin (the browser default) or origin.
Was this page helpful?
Need help? Contact support — we reply within one to two business days.
