Add the Clema widget to Squarespace
Copy the embed snippet from Leads, then Embed in Clema and paste it into Settings, Advanced, Code Injection, Footer in Squarespace so it loads on every page. Publish the site and confirm the chat bubble appears.
On this page
Before you start
This article covers installing the Clema website widget on a Squarespace site. You need a widget already created in Clema, and permission to add custom code to your Squarespace site.
Step 1: copy the snippet in Clema
Step 1: Open Leads, then Embed.
The page is titled Deploy.
Step 2: Pick the widget you want to install from the Widget list.
Step 3: Make sure your site's domain appears under Connected Domains.
If it shows No domains configured yet., add the domain under Allowed domains on the Widget Setup page and save.
Step 4: Under Embed Snippet, select Copy.
Step 2: paste it into Squarespace
Step 1: In Squarespace, open Settings, then Advanced, then Code Injection.
This is the location Clema's Embed page gives for Squarespace.
Step 2: Paste the snippet into the Footer box.
Step 3: Save.
Step 3: check it works
Step 1: Open your live site in a new browser tab.
Step 2: Look for the chat bubble in the corner you chose under Widget position.
Step 3: Open it and send a test question.
Step 4: In Clema, open Leads, then Lead Responses, to see the conversation.
Troubleshooting
- The chat bubble does not appear.
- Confirm the domain your Squarespace site is served from is listed under Connected Domains in Clema, including the
wwwform if your site uses it. Then confirm the site is published, not only saved. - The bubble shows on the preview address but not on your own domain, or the other way round.
- Each address is a different domain. Add every one you want the widget on.
- The widget disappeared after a site key rotation.
- Copy the snippet again from Embed in Clema and replace the old one in Squarespace.
Common questions
- I do not see Code Injection in Squarespace. What now?
- Code Injection is a Squarespace setting, and whether you have it depends on your Squarespace plan. Check your plan with Squarespace.
- Does the widget show while I am editing the site?
- Check on the live site in a separate browser tab. Injected code may not run inside the editor.
- Can I limit the widget to one Squarespace page?
- Yes. Paste the snippet into that page's own code injection setting instead of the site-wide Footer box.