Integration guide
Squarespace
Add the widget to every page with code injection.
Steps
- Copy the embed code from your chatbot's page in the console (what it looks like).
- Go to Settings → Developer tools → Code injection. On older versions it's under Settings → Advanced.
- Paste the code into Footer and click Save.
Embed code
<!-- DeepFountain Widget -->
<script>
(function() {
const script = document.createElement('script');
script.src = 'https://saas.deep-fountain.com/widget-v3/YOUR_CHATBOT_IDENTIFIER/loader.js?api_key=YOUR_API_KEY';
script.setAttribute('data-api-key', 'YOUR_API_KEY');
script.async = true;
script.defer = true;
document.head.appendChild(script);
})();
</script>
<!-- End DeepFountain Widget -->
Good to know
- If you don't see Code injection, check your Squarespace plan.
- The widget doesn't show up? See troubleshooting.