Squarespace
1 min read
Add the probate calculator to your Squarespace website.
Overview
Squarespace allows custom code injection, making it easy to add the Made For Law calculator to any page.
Adding the Calculator
Get your embed code
Log in to the portal and go to Settings > Embed. Copy your script tag.
Open Code Injection
In your Squarespace admin, go to Settings > Advanced > Code Injection.
Paste in the Footer section
Paste your embed code into the Footer code injection area and click Save. This will place the calculator at the bottom of every page. If you want the calculator on a specific page section, skip Code Injection and use a Code Block on that page instead.
Add a Code Block to your page
Edit the page where you want the calculator. Add a Code Block (from the content blocks menu) and paste your script tag from Settings > Embed:
<"hl-attr">class="hl-tag">script "hl-attr">src="https://app.madeforlaw.com/widget/loader.js" "hl-attr">data-key="MFL-XXXX-XXXX-XXXX-XXXX" "hl-attr">data-app="probate"></"hl-attr">class="hl-tag">script>The calculator will render where you placed the script tag on the published page.
Make sure your domain (e.g., www.yourfirm.com) is in the allowed domains list in Settings > Embed in the portal.