Web Chat V2
Quidget Web Chat Widget – Migration Guide
We’ve released Version 2.0 of the Quidget WebChat widget. It’s visually and functionally identical to v1.0, but offers significant improvements in code isolation, style encapsulation, and security.
If you’re currently using v1.0 (script-only installation from w.quidget.ai), you’ll need to migrate to v2.0 (iframe + script installation from quidget.ai/webchat).
Use this code before
</body>
Version 1.0 (Legacy – Deprecated)
Widget loads via a single JavaScript file that dynamically creates UI elements directly in your site’s DOM.
<script
async
src="https://w.quidget.ai/quidget.loader.js"
data-id="YOUR_QUIDGET_INTEGRATION_ID"
></script>
Version 2.0 (Current – Recommended) ⭐
Widget runs inside an isolated iframe with a script controller for behavior management.
<iframe
src="https://quidget.ai/webchat/chat-iframe.html?id=YOUR_QUIDGET_INTEGRATION_ID"
id="quidget-chat-iframe"
height="620"
width="380"
style="position: fixed; z-index: -1"
>
</iframe>
<script
async
src="https://quidget.ai/webchat/quidget.loader.js"
data-id="YOUR_QUIDGET_INTEGRATION_ID"
></script>
Comparison Table
| Feature | v1.0 (Script Only) | v2.0 (Iframe + Script) |
|---|---|---|
| CSS Isolation | ❌ Style conflicts possible | ✅ Complete isolation |
| JavaScript Isolation | ❌ Shared global scope | ✅ Separate execution context |
| Z-index Conflicts | ⚠️ Can interfere | ✅ Controlled |
| Third-party Scripts | ⚠️ Can break widget | ✅ Isolated |
How to Migrate
- Step: Find your current widget code (v1.0)
- Step: Replace it with the v2.0 code.
(You can copy your new code on app.quidget.ai -> Sidebar -> “Test & Install” page) - Step: Test the widget on your site
Migration time: ~5 minutes



