Embed in Squarespace

Add voice calls to your Squarespace site using Code Blocks

Quick Start

1

Get Your Widget Key

Sign up at mediasfu.com to get a free widget key.

2

Add a Code Block

In Squarespace Editor, click Add Block (+) → Code.

3

Paste the Widget Code

Copy one of the code snippets below, replace YOUR_WIDGET_KEY, and paste into the Code Block.

4

Publish

Click Done. The widget appears on your published site.

Note: Code Blocks require a Business plan or higher. If you're on Personal or Unlimited, try adding the code via Code Injection instead (Settings → Advanced → Code Injection).

Widget Code Examples

Click-to-Call Button

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="click-to-call"
  button-text="Call Now">
</mediasfu-widget>

AI Agent

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="ai-agent">
</mediasfu-widget>

Meeting Portal

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="meeting-join">
</mediasfu-widget>

Calls Dashboard

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="calls">
</mediasfu-widget>

Web Agent

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="web-agent-embed"
  height="600px">
</mediasfu-widget>

Agent Dashboard

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="web-agent-dashboard"
  height="700px">
</mediasfu-widget>

Installation Options

Option 1: Per-Page Code Block (Recommended)

Add the widget code in a Code Block on any page where you want it to appear. Easy to manage and update.

Option 2: Site-Wide Code Injection

Go to Settings → Advanced → Code Injection → Footer. Add your code there to appear on every page. Works on all plans.

Configuration

Customize the widget with these attributes:

Troubleshooting

Code Block not available?

Widget not showing?

Widget key rejected?

Calls not working?

Need help? Email support@mediasfu.com or visit mediasfu.com/docs.