Squarespace chatbot embed
Install the widget through Squarespace Code Injection so it loads before the closing body tag.
Squarespace
Before you start
Best for
Brand sites, creator sites, restaurants, services, ecommerce catalogs, booking pages, and portfolio websites.
Install location
Use Settings, Advanced, Code Injection, Footer for all normal site pages.
Install
Install steps
- 1Copy the widget snippetOpen the chatbot Embed page and copy the generated script.
- 2Open Code InjectionIn Squarespace, open the Code Injection panel from the site settings area.
- 3Paste in FooterPaste the complete script in the Footer field so it is injected before the closing body tag.
- 4Save and testSave the code injection change, open the public site, and confirm the widget launcher appears.
Access
Domains
Add the custom Squarespace domain.
Add the built in Squarespace domain only when testing from that public URL.
Remove old test domains after launch to keep access narrow.
Verify
Verify
Code Injection availability depends on the Squarespace plan.
Checkout pages and some special pages may not run normal site code.
If Ajax loading affects the widget after navigation, refresh the live page and retest from the first page a visitor lands on.
Troubleshoot
Squarespace troubleshooting
If the launcher does not appear, confirm the chatbot is published, the plan and credits are active, and the exact live hostname is allowed.
If the widget loads in preview but not production, check whether the builder preview URL and the live custom domain are different hostnames.
If the page has a content security policy, allow the OrhanAI app URL and widget requests before retesting.
If the launcher appears twice, remove duplicate snippets from theme files, site settings, and tag managers.
If mobile layout feels crowded, adjust widget position and test the most important conversion pages first.
If these checks pass and the widget still does not load, compare the installed snippet with the current Embed page and review widget setup.
