Chatbot With Iframe Integration: When an Iframe Is the Right Embed, When It Is Not, and What to Use With LiveChatBot Instead (Free Decision Tree)
Chatbot with iframe integration means the chat sits in a box on your page that loads another site inside it. Some buyers want that for a tidy, isolated embed. Others find it clumsy on phones and bad for tracking. LiveChatBot does not give you an iframe embed code; it uses a script and an inline mode. This guide explains the trade-offs, shows which route fits your page, and gives a decision tree to follow.
⚡ In short
- An iframe shows another web page inside a box on your page. The box is isolated from your page’s code and style.
- LiveChatBot loads by script and has an inline mode; it does not provide an iframe embed code.
- If your page is itself inside an iframe, put the chat script in that inner document.
- Use the decision tree to pick between a bubble, inline chat and a link to a chat page.

The basics
What an iframe is, and why people ask for it
An iframe is an HTML element that shows another page inside a rectangle on yours. A video player and a map are usually iframes. The inner page runs on its own, so its styles and scripts cannot clash with yours.
Why a chatbot with iframe integration appeals
- It looks self-contained, so a theme cannot break it.
- It is easy to drop into a page builder that only accepts an embed code.
- The vendor can change the chat without touching your page.
The catch
Iframes have a fixed size, so they sit awkwardly on phones. They cannot easily see your page: the current URL, scroll position or logged-in user. Many sites also block being framed for security reasons. A floating chat bubble avoids most of those problems, which is why the script route is the norm.
Our approach
What LiveChatBot uses instead of an iframe
LiveChatBot adds the chat by pasting a script. The script draws the bubble and window directly on your page, so it knows which page the visitor is on and can run page-based Flows and visitor tracking.
Bubble
The default floating bubble in a corner, with your colour, position, team name and welcome text.
Inline mode
If you want chat built into a layout, such as a Contact page, inline mode places it within the page rather than floating over it. This is the closest match to what people want from an iframe.
Link to chat
A button on your page can open the chat using the JavaScript API call LiveChatBot.open(), so you can use your own design and still get the real widget. See the live chat API integration guide.
Try it
Which embed fits your page?
Follow the branch that matches your situation.
Framed pages
Putting a chatbot on a page that is itself framed
Sometimes your page is the thing being framed: a booking widget shown inside a partner’s site, or a portal inside an intranet. Then a floating bubble only appears inside that frame, which may be small.
Check the frame size
If the frame is short, the bubble and chat window may be cramped. Test at the real size on a phone.
Check what the outer site allows
Some hosts remove scripts or limit the frame. If the chat does not appear, the host is likely blocking it, not your setup.
Use a link instead
If the frame is too small, add a normal link or button that opens your own chat page in a new tab. That avoids the cramped box and keeps your inbox in one place.
Common problems
Fixing a chatbot with iframe integration that will not show
If you tried an iframe approach from another tool and nothing appears, check these.
- The target refuses framing. Many sites send headers that stop their pages being embedded.
- The frame is too small. The chat window is clipped.
- Mixed content. An http frame on an https page is blocked.
- Cookies in frames. Browsers restrict cookies inside third-party frames, which can break session memory.
- Mobile. Scrolling inside a frame inside a page fights with page scrolling.
Switching to the script route removes most of these. If you need help with placement, read the embeddable widget guide and the website chat widget guide.
Honest limits
What you will not get without an iframe
Be straight about trade-offs.
- There is no iframe embed code or hosted page URL that we promise. Ask our team if you have a specific need.
- The chat is not sandboxed from your page’s styles the way an iframe would be, so very aggressive theme CSS can in rare cases affect it. Test after theme changes.
- There is no pre-chat form.
- “Powered by LiveChatBot” stays on every plan.
What you do get: a chat that sees the current page, works with Flows and tracking, and is free for 100 visitors per website each month. See pricing for packs.
Choosing
Should you choose a chatbot with iframe integration at all?
It depends on one question: is your goal a separate box, or a working chat that understands your site?
If you need strict isolation, such as a regulated page where nothing external may touch your DOM, an iframe has real value, and you should ask vendors whether they provide one. If you want the chat to react to pages, show proactive messages and track visitors, a script is better.
For most small businesses, a script plus inline mode gives the look of an embed with the benefits of a page-aware widget. Test it on your slowest phone first and decide from what you see.
A quick test routine
- Open the page on a phone, in a private window, and scroll to the bottom. Does the chat cover a button?
- Press your own “Chat with us” button and check it opens the chat.
- Send a test message and confirm it lands in the inbox on your Android app or browser.
- Change the page address in the address bar to another page and confirm the chat follows.
- Ask a colleague on a different network to try the same steps and tell you what they see.
Frequently asked questions
Does LiveChatBot offer a chatbot with iframe integration?
No iframe embed code is offered. The chat loads by script, with a floating bubble or inline mode inside a page.
What is the closest thing to an iframe on LiveChatBot?
Inline mode, which places the chat within your page layout instead of floating over it.
Can I put the chat on a page that is inside an iframe?
Yes, by adding the script to the inner page’s own HTML. Check the outer site does not block scripts.
Why does a framed chat misbehave on phones?
Fixed frame sizes, nested scrolling and cookie limits in third-party frames cause most problems.
Is the chat free to test?
Yes. The free plan covers two websites and 100 visitors per website each month, with no per-seat charges.
Keep reading
Related guides
Chatbot With Embeddable Widget: Where the Code Goes on WordPress, Shopify, Wix and Plain HTML, and How to Prove It Works (Free Install Checklist)
Chatbot With JavaScript SDK: What an SDK Is, What LiveChatBot Gives You Instead, and the Eight Calls You Can Copy Today (Free Copy-Ready Calls)
Chatbot With REST API: Five Jobs a REST API Can Do for Your Business, and a Quick Quiz to Decide If You Need It Yet (Free Route Quiz)
More to read
More guides on this topic
Chatbot With Instagram Integration: A Decision Tree for Sellers Who Get Orders in DMs, and How to Move the Repeat Questions to Your Website (Free Decision Tree)
Embed chat the simple way
One script, a bubble or inline mode and a free plan. Start free on livechatbot.in.