Wix Installation
Add Grounded chat widget to your Wix website.
Add the Grounded widget to your Wix site using the Wix Custom Code feature.
Prerequisites
Custom code requires a Wix Premium plan (any paid plan works).
Installation Steps
1. Access Custom Code Settings
- Go to your Wix Dashboard
- Click Settings in the left menu
- Select Custom Code under Advanced
2. Add the Widget Code
- Click + Add Custom Code
- Paste the widget code:
<script
src="https://grounded.sh/widget/grounded-widget.js"
data-chatbot-id="YOUR_CHATBOT_ID"
async
></script>
- Configure the settings:
- Name: Grounded Chat Widget
- Add Code to Pages: All pages (or select specific pages)
- Place Code in: Body - end
- Click Apply
3. Publish Your Site
- Go to your Wix Editor
- Click Publish in the top right
- Visit your live site to verify the widget appears
Using Wix Velo (Advanced)
If you're using Wix Velo for custom development:
// In your site's masterPage.js
$w.onReady(function () {
// Load Grounded widget
const script = document.createElement('script');
script.src = 'https://grounded.sh/widget/grounded-widget.js';
script.setAttribute('data-chatbot-id', 'YOUR_CHATBOT_ID');
script.async = true;
document.body.appendChild(script);
});
Troubleshooting
Widget Not Appearing
- Ensure you have a Premium plan
- Check that custom code is enabled for your plan
- Verify the code is set to load at Body - end
- Clear your browser cache and refresh
Conflicts with Wix Chat
If you're using Wix's built-in chat:
- Go to Add Apps > My Apps
- Remove or disable Wix Chat to avoid confusion
- Use Grounded as your primary chat solution
Mobile Display
The widget is mobile-responsive. If issues occur:
- Test on actual mobile devices, not just browser preview
- Check Wix mobile editor for conflicting elements
- Ensure no mobile-hidden classes affect the widget area