Add Olotalk to Squarespace

Squarespace has a built-in, site-wide Code Injection area — paste the snippet into its Footer.

You’ll need your Assistant ID (ast_oltk_…) from your assistant’s Install step. Code Injection requires a Business plan or higher. New here? Start with the Quick start.


Install via Code Injection

In your Squarespace dashboard, go to Settings → Advanced → Code Injection (on newer accounts this lives under Settings → Developer Tools → Code Injection). Paste the snippet into the Footer box:

<script
  src="https://cdn.jsdelivr.net/npm/@olotalk/assistant-loader@0/dist/loader.iife.js"
  data-olotalk-assistant-id="YOUR_ASSISTANT_ID"
  async
></script>

Save.

<html>
<head> … </head>
<body>
… your page …
target<script src="…/loader.iife.js" data-olotalk-assistant-id="…" async></script>
</body>
</html>
Paste the snippet into Code Injection → Footer. Wherever a platform puts it, the goal is the same: it loads just before the closing body tag.

Use Code Injection → Footer, not a per-page Code Block. A Code Block renders inside an iframe, so the floating launcher can’t overlay your page. Code Injection injects into the real page body, site-wide.


Allow your domain

Add your live domain under your assistant’s Install domains. If you’re on a built-in *.squarespace.com URL, add that too.


Verify

Open your published site and look for the chat launcher in the bottom-right. Then check your dashboard: the Install step’s Install status card shows Seen on yourdomain.com once the snippet loads — with a one-click fix if the domain isn’t allowed yet. Nothing there? See Troubleshooting.