Install live chat on Squarespace
Add the message.com chat widget to a Squarespace site with one paste into Code Injection. Three minutes end to end. Works on Squarespace 7.1 and the older 7.0 platform.
Code Injection requires a Business, Commerce Basic, or Commerce Advanced plan. Personal plans cannot inject custom scripts.
Before you begin
- Squarespace site on a Business or Commerce plan.
- Owner or Administrator role on the site.
- Your install snippet from
Settings → Chats → Installationin message.com.
HTML
<!-- message.com live chat -->
<script>
(function(d,s,o){
var j=d.createElement(s);j.async=1;j.src='https://app.message.com/widget.js';
j.dataset.workspace=o;
d.head.appendChild(j);
})(document,'script','YOUR_WORKSPACE_ID');
</script>1. Open Code Injection
- Sign in to Squarespace.
- Open the site you want to add chat to.
- From the Home Menu, go to Settings → Advanced → Code Injection.
- You will see two text areas: Header and Footer.
2. Paste the snippet
- Paste the snippet into the Footer text area (not Header).
- Click Save.
The Footer panel renders the snippet right before the closing </body> tag on every public page, which is exactly where the install belongs.
3. Verify the install
- Open your site URL in a private window (not the Squarespace editor preview, which strips injected code).
- Wait two seconds. The launcher appears in the bottom-right.
- Open the browser console. Confirm the
[message]startup log. - Click the launcher, send a test message.
- Open
app.message.com. The visitor and message appear in the inbox.
Common pitfalls
- Squarespace editor preview. Code Injection is stripped from the in-app preview. Always test on the public URL.
- Member areas and password-protected pages. Code Injection runs on the page after sign-in. The widget loads, but anonymous visitors on the lock screen do not see it.
- Lock screen. The single-page lock screen for password-protected sites strips Code Injection by design.
- Squarespace 7.0 vs 7.1. Both platforms support Code Injection identically. No version-specific differences.
- Another chat app already installed. Disable any prior Squarespace chat extension (Acuity, Drift, Intercom) before installing.
Per-page installs
Squarespace also exposes a Per-page Code Injection field under each page's settings. Use this if you want the widget on one page only. Otherwise stick with the site-wide Footer setting.
Next steps
- Customise the widget: colour, position, welcome message.
- Configure business hours.
- Send proactive messages.