Install on Squarespace
Squarespace ships with a built-in Code Injection feature that lets you add a script tag to every page on your site. Paste the LuluDesk snippet there and the chat widget appears on every page, no template editing needed.
Code Injection requires a Squarespace Business plan or higher. Personal plans do not expose this setting. If you are on a Personal plan, upgrade or paste the snippet into a Code Block on each page instead (less ideal but works).
Copy your install snippet
In LuluDesk, open the Widget tab and copy the embed snippet. It contains your install_token:
<script src="https://luluclaw.com/widget/v1/YOUR_INSTALL_TOKEN" async></script>Open Code Injection in Squarespace
In your Squarespace dashboard, go to Settings, Advanced, Code Injection. You will see four text boxes: Header, Footer, Lock Page, and Order Confirmation Page.
Paste the snippet into Footer
Paste the script tag into the Footer box. Footer injection runs on every page of your site, just before the closing </body> tag, which is the recommended placement for chat widgets.
<script src="https://luluclaw.com/widget/v1/YOUR_INSTALL_TOKEN" async></script>Scroll to the bottom and click Save. Squarespace applies the change to your live site immediately.
Verify on your live site
Open your site in a new tab. Within a few seconds the pink chat button should appear in the bottom-right corner. Click it, confirm the chat opens, and send a test message.
Back in LuluDesk, the Widget tab status flips to Active once the first beacon arrives.
Indexing your Squarespace content
To let the assistant answer questions about your pages, add your site as a knowledge source in the Sources tab. Point at your sitemap (Squarespace auto-generates one at /sitemap.xml) so new pages and blog posts are picked up on the configured recrawl schedule.
Limitations
- Personal plans cannot use Code Injection. You need Business or higher. As a workaround you can drop the snippet into a Code Block on individual pages, but it will not appear site-wide.
- Squarespace fluid engine pages.The widget loads normally, but Squarespace's mobile preview tool inside the editor does not run injected scripts. Always verify on the published live site, not in the editor.
- Commerce checkout. Squarespace Commerce checkout pages strip injected scripts by design. The widget will not load during checkout.
Removing the widget
Open Settings, Advanced, Code Injection, clear the Footer box, and save. The widget stops loading on the next page view.
