Website setup guide

Add online booking to your Squarespace site

One Code Block is all it takes. Show your whole booking page on a Squarespace page, or keep the page short with a Book Now button.

Start free All website builders

Included on every plan, even the free one. Free for 100 new bookings a month.

What you'll need

  • A Bookingly account with online bookings switched on
  • A Squarespace plan that allows custom code
  • On a plan without code, add your direct booking link as a button or menu link instead

How to embed your booking page in Squarespace

First, copy your code. In Bookingly, open More > Setup > Online bookings, scroll to Share, select the Embedded tab and select Copy code. It looks like this, with your own address:

<script src="https://app.bookingly.com/scripts/widget.js"
  defer
  data-bookingly-url="https://yourbusiness.bookingly.com"
  data-bookingly-mode="embedded"
  data-bookingly-resize="false">
</script>
  1. In Squarespace, edit your booking page and choose the section for the booking page.
  2. Select Add Block (or the + icon) and choose Code.
  3. Set the mode to HTML, turn Display Source off and paste your snippet.
  4. Save, exit the editor and check the live page, then add the page to your navigation.

Or add a Book Now button with a popup

Copy the code from the Popup tab instead, and paste it into Squarespace with a button that has the class bookingly-button. Use either the embedded code or the popup code on a page, not both.

<button class="bookingly-button">Book Now</button>

<script src="https://app.bookingly.com/scripts/widget.js"
  defer
  data-bookingly-url="https://yourbusiness.bookingly.com"
  data-bookingly-button-selector=".bookingly-button"
  data-bookingly-mode="popup">
</script>

See the popup on an example website

Two Code Block settings that matter

Check how the Code Block is set up before looking anywhere else.

  • Set the mode to HTML
  • Turn Display Source off, otherwise visitors see the code as text
  • Expect an empty block while editing: Squarespace doesn't run custom code in the editor

Making it look at home

Give booking a page of its own with the block in a full-width section. Change data-bookingly-resize to true and the booking page grows with your Squarespace page instead of scrolling inside the block. Your colours, logo and layout come from your Bookingly booking page.

If something isn't right

The code appears as text
Turn Display Source off, with the mode set to HTML.
Nothing appears on the live page
Check your plan allows custom code and that the whole snippet was pasted.
There are two scrollbars
Change data-bookingly-resize to true in the Code Block.

Questions about Squarespace booking

Which Squarespace plan do I need?

One that allows custom code. If yours doesn't, link a button or menu item to your direct booking link, which needs no code.

Why is the block blank while I'm editing?

Squarespace doesn't run custom code in the editor. Save, exit and view the published page.

Can I open booking in a popup?

Yes. Put a button with the class bookingly-button and the popup code in the same Code Block.

Try it on your own website

Bookingly is free for 100 new bookings a month, then one flat price for unlimited bookings. Squarespace is a trademark of its owner, and this guide isn't endorsed by them.

Sign up for free