How to Add Bookingly to an Unbounce Page

Last updated 24 November 2026

You can show your whole booking page inside an Unbounce landing page, so visitors can book straight from your ad or campaign page without leaving it. This uses Bookingly's Embedded option and an Unbounce Custom HTML element.

If you would rather keep your landing page simple, add a button that links to your booking page instead. Copy your link from the Direct link tab, as described in Add Online Booking to Your Website.

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 Unbounce page open in the page builder in another browser tab.

Step 1: Copy your embed code from Bookingly

  1. In Bookingly, open More > Setup > Online bookings and scroll to Share.
  2. Select the Embedded tab.
  3. Select Copy code.

The code is specific to your business, so always copy it from your own account.

Step 2: Add a Custom HTML element in Unbounce

  1. In Unbounce, open your landing page in the page builder.
  2. Add a Custom HTML element to the page. In the Classic Builder, drag it from the Elements panel in the sidebar onto the page. In the Smart Builder, use Add element and choose Custom HTML.
  3. Select the element, then select Edit HTML (or Edit) from the settings.
  4. Paste the code you copied from Bookingly into the box and select Done (or Save).
  5. Resize the element so the booking page has room. About 700 to 900 pixels tall works well on desktop, and the full width of your content area is best.
  6. Select Save.

Step 3: Check it works

The page builder often doesn't run custom code, so the element may look empty or show a placeholder while you edit. This is normal.

  1. Select Preview in Unbounce to check the page, or select Publish if you are ready to go live.
  2. On the preview or live page, your booking page should appear in the element.
  3. Try selecting a service to check it loads and scrolls properly.
  4. Check the mobile view of your page as well, and adjust the element's size for phones if needed.

If you only see a blank area, check the code was pasted in full, starting with <script and ending with </script>, and view the page in a private or incognito window.

Make it fit your page

The page height is controlled by the data-bookingly-resize setting in the code you pasted:

  • false gives the booking page a fixed height with its own scrollbar inside the element. This is the best choice on Unbounce pages, where elements are placed at a set size and position.
  • true makes the booking page grow to fit its content with no inner scrollbars. Use this only if the booking page is the last thing on the page, because it can grow over elements below it.

To change it, edit the Custom HTML element and replace data-bookingly-resize="false" with data-bookingly-resize="true" (or the other way round), then save and republish.

Tips for a clean result:

  • Give the booking page its own section so it has room to display.
  • Keep the page focused on one action: booking. Too many other buttons and forms compete for attention.
  • Republish your page after any change. Unbounce shows visitors the last published version.

Alternative: a Book Now button with a popup

If you would rather keep your landing page short, show a Book Now button that opens your booking page in a popup. Visitors stay on your page while they book.

  1. In Bookingly, open More > Setup > Online bookings, scroll to Share, select the Popup tab and select Copy code.
  2. In Unbounce, add a Custom HTML element (as in Step 2 above) where the button should appear.
  3. Paste this button into the element, then paste the code you copied from Bookingly directly underneath it:
<button class="bookingly-button">Book Now</button>
  1. Select Done, then Save, and Preview or publish the page to check it.

Keep the button and the code in the same element, 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

Nothing appears on the published page

Check the code was pasted into a Custom HTML element and in full, then republish the page.

The element looks empty in the builder

This is normal. Use Preview to see the booking page.

The booking page is cut off

Make the element taller, or use a larger fixed height. On mobile, adjust the element's size in the mobile view.

The booking page overlaps content below

Change data-bookingly-resize to false, or move the booking page to the bottom of the page.

It shows the wrong business or a "page not found" message

Check the address in the code (data-bookingly-url) matches your booking page, and that you have not changed your Subdomain since copying the code. If you have, copy the code again.

Good to know

  • The booking page inside Unbounce 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 landing page straight away. There is nothing to update in Unbounce, apart from your own page edits, which need republishing.
  • 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.