Wix
A complete guide to integrate the InBe widget within your Wix website.
This guide will help you add the InBe widget to your Wix website using custom code.
Add the widget container
- In your Wix Editor, add an HTML Embed element to your page where you want the widget to appear
- In the HTML embed, add the container element:
Add the widget scripts
- In your Wix Editor, go to Settings → Custom Code
- In the Head section, add the first script tag:
Widget Builder Note
If you are using the Widget Builder, and pasting the generated code into your site, only paste the first script tag.
- In the Body section, add the initialization script:
Widget Builder Note
If you are using the Widget Builder, and pasting the generated code into your site, only paste the second script tag.
- Click Apply
Publish your site
- Click Publish in Wix
- Visit your published site to see the widget
Important Notes
Make sure to replace YOUR_PUBLIC_API_KEY
with your actual API key. The
widget will appear in the HTML embed element. You can resize the HTML embed
element to adjust the widget size
Troubleshooting
If the widget doesn't appear: 1. Ensure the container element exists in the HTML embed, 2. Check that your API key is correct, 3. Try refreshing the page, 4. Make sure both script tags are in the correct sections (Head and Body).