
Getting Your Embed Code
1
Open Dashboard
Go to bubblav.com/dashboard
2
Select Website
Click on the website you want to install
3
Go to Installation
Click Installation in the sidebar
4
Copy Code
Click Copy to copy the embed code to your clipboard
Your Embed Code
Your website ID is unique to your account. Never share it publicly, as it identifies your chatbot.
Platform Instructions
Choose your website platform:- WordPress
- Shopify
- Wix
- Squarespace
- Webflow
WordPress Installation
Option 1: Using a Plugin (Recommended)1
Install Plugin
Go to Plugins → Add New, search for “Insert Headers and Footers”, and install it
2
Activate
Click Activate after installation
3
Open Settings
Go to Settings → Insert Headers and Footers
4
Paste Code
Paste your BubblaV embed code in the Scripts in Footer section
5
Save
Click Save to apply changes
- Go to Appearance → Theme File Editor
- Select
footer.phpfrom the right sidebar - Paste the embed code just before
</body> - Click Update File
Developer Platforms
For custom or developer-built websites:- HTML
- React
- Next.js
- Vue
Advanced Options
Script Attributes
Customize widget behavior with data attributes:| Attribute | Values | Description |
|---|---|---|
data-site-id | Your ID | Required. Identifies your chatbot |
Excluding Pages
To hide the widget on specific pages, use the Exclude URLs setting in your Widget Design settings:- Go to Design in the sidebar
- Expand the Advanced Settings section
- Enter the URLs where you want to hide the widget (one per line)
- You can use specific paths like
https://example.com/checkoutorhttps://example.com/admin
Verify Installation
After adding the code, verify it’s working:1
Clear Cache
Clear your browser cache or open an incognito window
2
Visit Your Site
Go to your website in a new tab
3
Look for Widget
The chat bubble should appear in the corner (usually bottom-right)
4
Test It
Click the bubble and send a test message like “Hello”
5
Check Response
You should receive a response from your AI assistant
Troubleshooting
Widget not appearing
Widget not appearing
Check these common issues:
- Code is placed before
</body>, not in<head> - Website ID is correct (copy from dashboard)
- Your domain matches the one in your BubblaV settings
- JavaScript is enabled in your browser
- No browser extensions blocking scripts
- Open browser DevTools (F12)
- Check Console for errors
- Check Network tab for widget.js loading
Widget appears but doesn't respond
Widget appears but doesn't respond
- Check your message limits (may be exceeded)
- Verify crawl completed successfully
- Ensure knowledge base has content
- Check browser console for API errors
Widget conflicts with other elements
Widget conflicts with other elements
- Adjust z-index in Widget Design settings
- Check for CSS conflicts with
.bubblav-widgetclass - Try different position (left vs right)
Widget loads slowly
Widget loads slowly
- The
asyncattribute ensures non-blocking load - Widget loads after main content (intentional)
- Check if your site has slow third-party scripts
Widget not appearing on mobile
Widget not appearing on mobile
- Verify mobile isn’t disabled in settings
- Check responsive CSS isn’t hiding it
- Test on actual mobile device, not just DevTools
CORS or security errors
CORS or security errors
- Ensure your domain matches BubblaV settings
- Check for Content Security Policy restrictions
- Verify HTTPS is used on your site
Content Security Policy (CSP)
If your site uses CSP headers, add these directives:Multiple Websites
If you have multiple websites:- Each website needs its own embed code
- Use the unique
data-site-idfor each site - Install the appropriate code on each website
