Instant Quote / Install guides

Add Instant Quote to a Squarespace website

Add the side tab to every page of a Squarespace site with Code Injection, put the estimator on one page with a Code block, or add your link to the menu.

What you need

  • For the side tab: a Squarespace plan that includes Code Injection.
  • For the estimator on one page: a paid Squarespace plan, Core or higher. A Code block only runs code on those plans.

Side tab on every page

  1. In DeckBuild, open Settings, then Instant Quote. Under Put it on your website, find One line of code and click Copy code under the first line (the side tab).
  2. In Squarespace, open Website, then Pages. Scroll down to Custom Code and click Code Injection.
  3. Paste the line into the Footer box, not the Header, and click Save.
<script src="https://quote.deckbuild.com/embed.js" data-quote="your-name" async></script>

Estimator on one page

  1. In DeckBuild, open Settings, then Instant Quote. Under Put it on your website, click Copy code under the second line (the estimator inside one page).
  2. Edit the page, click Add Block where you want it, pick Code, paste the line, and make sure Display Source Code is off.
  3. A new Code block starts narrow. Drag its edges out to the full width of the page, then save the page.
<script src="https://quote.deckbuild.com/embed.js" data-quote="your-name" data-mode="inline" async></script>

Link in your menu

  1. In DeckBuild, open Settings, then Instant Quote, and click Copy next to Your link.
  2. Go to Pages, click + next to your main menu, pick Link, type Price your deck, paste your link and save.

Check it worked

  1. Open your live website in a private (incognito) browser window and look for the tab, or open the page with the estimator. Code you add often does not run in the site builder's own editor or preview.
  2. Code can be hidden while you are signed in to the editor, so check from a private window.

Good to know

  • Some Squarespace templates load the next page without a full reload. The Footer box keeps the side tab on every page through that, which is why it goes there. An estimator in a Code block starts again by itself on its page.

The lines above show your-name where your own name goes. Copy your own lines from DeckBuild.