Squarespace
A complete guide to integrate the InBe widget within your Squarespace website.
This guide will help you add the InBe widget to your Squarespace website using code injection.
Add the widget container
- Go to your Squarespace site editor
- Navigate to the page where you want to add the widget
- Add a Code Block element to your page
- In the code block, add the container element:
- Usually the id is
inbe-widget
, but if you have changed it, use the id you have chosen.
Add the widget scripts
- In your Squarespace admin panel, go to Settings → Advanced → Code Injection
- In the Footer section, paste both script tags (one for the widget library, and one for the initialization)
- If you changed the id of the container element, remember to update the
container
id in the second script tag.
If you are using the Widget Builder, and pasting the generated code into your site, make sure to remove <div id="inbe-widget"></div>
.
- Click Save
Publish your site
- Click Save in the site editor
- Publish your site
- Visit the page to see your widget
Important Notes
Make sure to replace YOUR_PUBLIC_API_KEY
with your actual API key. The
widget will appear in the code block you added to your page. If you don't see
the widget, check that your API key is correct and try refreshing the page
Troubleshooting
If the widget doesn't appear: 1. Ensure the container element exists on the page, 2. Check that your API key is correct, 3. Try clearing your browser cache, 4. Make sure both script tags are in the Footer section of Code Injection.