DrTalks.ai Documentation
Everything you need to get your DrTalks chat widget up and running on your website.
Copy your actual embed script from the API Keys page in your DrTalks dashboard. The snippet below shows the structure for reference only.
Add DrTalks to Squarespace
Squarespace has a built-in Code Injection feature that makes adding custom scripts simple.
- In your Squarespace admin, go to Settings → Advanced → Code Injection.
- In the Header field, paste your DrTalks embed script.
- Click Save.
Your embed script will look like this:
<!-- DrTalks Chat Widget -->
<script src="[copied from your dashboard]"
defer
data-widget-id="YOUR_WIDGET_ID"
data-site-domain="YOUR_DOMAIN">
</script>
<!-- End DrTalks Chat Widget -->The widget will appear on every page of your Squarespace site. Code Injection is available on Squarespace Business and Commerce plans.