You can show your whole booking page inside a page on your Squarespace website, so customers can book without leaving your site. This uses Bookingly's Embedded option and a Squarespace Code Block.
Squarespace only runs custom code on some plans. If your site is on a plan that does not allow code, the booking page will not appear. If you are not sure, check your plan in Squarespace, or use the Direct link option from Add Online Booking to Your Website and add it as a button or menu link instead.
Before you start
- Make sure online bookings are turned on and your services, staff hours and location hours are correct. See Setting Up Your Booking Page.
- Have your Squarespace site open in another browser tab so you can switch between the two.
Step 1: Copy your embed code from Bookingly
- In Bookingly, open More > Setup > Online bookings and scroll to Share.
- Select the Embedded tab.
- Select Copy code.
The code is specific to your business, so always copy it from your own account rather than from another website.
Step 2: Add a Code Block in Squarespace
- Log in to Squarespace and open the page where you want customers to book. Create a new page first if you need one, for example Book Now.
- Select Edit on the page, then select the section where the booking page should appear.
- Select Add Block (or the + icon) and choose Code from the list. The Code Block is under More or Embed and code depending on your Squarespace version.
- In the Code Block settings, set the mode to HTML and make sure Display Source is turned off. If Display Source is on, Squarespace shows the code as text instead of running it.
- Paste the code you copied from Bookingly into the Code Block.
- Select Apply (or click outside the block), then select Save.
Step 3: Check it works
Squarespace does not run custom code while you are editing, so the editor may show an empty or placeholder block. This is normal.
- Select Save, then Exit the editor.
- Visit the page on your live website. Your booking page should appear in the section where you placed the block.
- Make a test booking selection to check it loads and scrolls properly.
If you only see a blank area, use a private or incognito browser window to rule out browser extensions, and check you are viewing the published page rather than a preview.
Make it fit your page
The page height is controlled by the data-bookingly-resize setting in the code you pasted:
falsegives the booking page a fixed height with its own scrollbar inside the block.truemakes the booking page grow to fit its content and scroll with your Squarespace page, with no inner scrollbars. This usually looks best on a dedicated booking page.
To change it, edit the Code Block and replace data-bookingly-resize="false" with data-bookingly-resize="true" (or the other way round), then save.
Tips for a clean result:
- Give the booking page a page of its own, with the block in a full-width section, so it has room to display.
- Avoid putting other content beside the block on narrow screens.
- Add the page to your Squarespace navigation, for example with a Book Now link.
Alternative: a Book Now button with a popup
If you would rather keep your page short, show a Book Now button that opens your booking page in a popup. Customers stay on your page while they book.
- In Bookingly, open More > Setup > Online bookings, scroll to Share, select the Popup tab and select Copy code.
- In Squarespace, add a Code Block (as in Step 2 above) with the mode set to HTML and Display Source turned off.
- Paste this button into the block, then paste the code you copied from Bookingly directly underneath it:
<button class="bookingly-button">Book Now</button>- Select Apply, then Save, and check the live page.
Keep the button and the code in the same Code Block, and use either the embedded code or the popup code on a page, not both.
Changing how the button looks. To change the wording, edit the text between > and </button>. To make it match your site, you can use a link instead, such as <a href="#" class="bookingly-button">Book Now</a>, and style it with your site's own styles. Any button or link with the class bookingly-button opens the popup, and you can add the class to as many buttons or links on the same page as you like.
Troubleshooting
Problem | What to try |
|---|---|
The code appears as text on the page | Open the Code Block and turn Display Source off, with the mode set to HTML. |
Nothing appears on the live page | Check your Squarespace plan allows custom code, and that the code was pasted in full, starting with |
It looks blank in the editor | This is normal. Save and view the live page instead. |
The booking page has two scrollbars | Change |
It shows the wrong business or a "page not found" message | Check the address in the code ( |
Good to know
- The booking page inside Squarespace looks the same as your own booking page, including your colours, logo and layout.
- Any change you make to your services or booking page settings shows up on your Squarespace site straight away. There is nothing to update there.
- Customers who book this way appear in your calendar like any other online booking.
- For a Book Now button that opens a popup instead, see the alternative above, or the Popup option in Add Online Booking to Your Website.