Embed widget
Add your InsiteChat chatbot to any website with a single embed code. The widget adds a chat icon to the corner of your page — visitors click it to open a full chat interface. No plugins or developers required.Getting started
Open your chatbot
Copy your chatbot ID
Choose an embed method
Paste into your website
Test
- WordPress and Shopify plugins
- API calls and developer integrations
- Webhook configuration
- Third-party platform setup
Embed options
- Script Tag (Recommended)
- iFrame Embed
- Direct Link
- Automatic positioning based on your widget settings (left/right, icon size, distance)
- Responsive — adapts when chat opens/closes
- Supports all customization features (auto-open, RTL, personas, etc.)
- Minimal performance impact with deferred loading
YOUR_CHATBOT_ID with your actual Chatbot ID. The Embed tab provides this code pre-filled with your ID.Platform-specific instructions
WordPress
WordPress
- Plugin (Recommended)
- Theme Editor (Advanced)
Install plugin
Open settings
Paste code
Save
Shopify
Shopify
Access themes
Edit code
Open theme.liquid
theme.liquid.Add embed code
</body> tag.Save
Squarespace
Squarespace
Open settings
Code injection
Add code
Save
Wix
Wix
Open editor
Access settings
Custom code
Add code
Configure
Apply
Webflow
Webflow
Open project settings
Custom code tab
Add footer code
Save and publish
Custom HTML / Static Sites
Custom HTML / Static Sites
Copy embed code
Open HTML
Paste code
</body> tag.Save and upload
Verifying installation
Clear browser cache
Open incognito window
Locate chat icon
Open and test
Check customization
Troubleshooting
Chatbot not appearing
Chatbot not appearing
- Verify the embed code is present in your page source (right-click > View Page Source, search for “insitechat”)
- Check the browser console (F12) for JavaScript errors
- Ensure your chatbot has been trained with at least one source
- Confirm the chatbot is active (not deleted or disabled)
- Try a different browser or device
Chatbot appears but doesn't respond
Chatbot appears but doesn't respond
- Verify your chatbot has trained content (check Sources tab — at least one source should be “done”)
- Check the Overview dashboard — training status should be “Ready”
- Test in the Preview tab first to isolate whether the issue is with the chatbot or the embed
Multiple chat icons appearing
Multiple chat icons appearing
- Check that you haven’t added the embed code multiple times
- Verify you’re only using one embed method (script OR iframe, not both)
- Search your page source for duplicate InsiteChat scripts
Widget position is wrong
Widget position is wrong
- Go to the Embed tab and check the Widget Position setting (left/right)
- Adjust Bottom distance and Side distance in the Chat Icon section
- If using iFrame embed, adjust the CSS
bottom,right/leftvalues manually
Auto-open not working
Auto-open not working
- Auto-open only triggers once per browser session (uses sessionStorage)
- Check that auto-open is enabled in the Embed tab for the correct device (desktop vs mobile)
- The delay must pass before the widget opens — check the configured delay value
- Try clearing sessionStorage or opening a new incognito window
