Squarespace Setup Guide

How to add an Estimate Calculator to a Squarespace website with a Code block.

Adding an Estimate Calculator to Squarespace

On Squarespace you add your calculator with a Code block and one line of code.

Before you start

  • A published calculator. New here? Follow the 8 minute setup guide first.
  • Your calculator's code, from the Embed tab in the editor:
<script src="https://estimatecalculators.com/embed.js" data-calculator="YOUR_ID" async></script>
  • A Squarespace plan that allows custom code in Code blocks. On most accounts this means the Business plan or higher.

Step 1 - Edit your page

Open the page where you want your calculator and click Edit.

Step 2 - Add a Code block

Click an insert point (or Add block) and choose Code.

Step 3 - Paste your code

Delete the sample text in the block, paste your one line of code, and make sure the mode is set to HTML. Leave "Display source code" switched off.

Step 4 - Save

Click Save, then view the live page. Squarespace often doesn't run scripts while you're editing, so check the published page rather than the editor preview.

Troubleshooting

  • I can't add a Code block, or it shows "Script disabled". Your plan may not include custom code. Check your Squarespace plan.
  • The calculator isn't showing on the live page. Check it's Published in the editor. If you've filled in Allowed websites on the Embed tab, add your Squarespace address (and your custom domain if you have one).
  • It says "This calculator is currently unavailable". Publish it in the editor, and check nothing is left on the checklist.