# Webflow (/developers/platforms/webflow)



You can take bookings on a Webflow site without sending customers away from it. This guide covers Book Now buttons that open booking on top of your page, and booking placed directly on a page.

<IntegrateNow host="webflow" />

The wizard writes the code below with your own Location ID and booking page address already in it. If you would rather do it by hand, read on.

Before you start [#before-you-start]

* **A paid Site plan, or a Core, Growth, Agency or Freelancer Workspace.** Webflow does not allow custom code on the free Starter plan.
* **Your Location ID.** In the Resytech dashboard, click your name in the top right and choose **Location Settings**. The ID is at the top of the page with a copy button.
* **Your booking page address.** In the dashboard, click your name in the top right, choose **Location Settings**, then open **Booking Domain**. The address has to show **Verified**. See [Booking Page Address](/docs/getting-started/booking-page-address).

<Callout type="warn" title="Test on the published site">
  Preview in the Designer does not run custom code unless you switch that on, and a Code Embed is only a placeholder on the canvas. Publish, then test at your `.webflow.io` address or your own domain.
</Callout>

Book Now buttons [#book-now-buttons]

<Steps>
  <Step>
    Add the booking script to your site [#add-the-booking-script-to-your-site]

    In the Designer, open the Webflow logo menu and choose **Site settings**. Open the **Custom code** tab.

    Paste this into **Head code**, replacing `YOUR_LOCATION_ID` and the booking page address with your own. If there is already code there, add this underneath it. Click **Save changes**, then **Publish** your site.

    ```html
    <script
      src="https://js.resytech.com/1/resytech.js"
      data-resytech-location-id="YOUR_LOCATION_ID"
      data-resytech-base-url="https://yourbusiness.bookingui.com"
      data-resytech-links="true"></script>
    ```

    This loads Resytech booking. The last line lets ordinary Webflow buttons and links open it.
  </Step>

  <Step>
    Point a button at a booking link [#point-a-button-at-a-booking-link]

    Select a **Button** or link on the canvas, or add one. In its **Settings**, under **Link settings**, choose **URL** and paste one of these exactly as shown, starting with the slash:

    | Link                      | What it opens                                                                                    |
    | ------------------------- | ------------------------------------------------------------------------------------------------ |
    | `/#book`                  | The full booking flow, where customers choose an activity first                                  |
    | `/#book-YOUR_ACTIVITY_ID` | One activity. The ID is the last part of the address when you open the activity in the dashboard |
    | `/#gift-card`             | Gift card purchase                                                                               |

    **Publish** your site. You can use a different link on each button.
  </Step>

  <Step>
    Test it [#test-it]

    Open your published site and click the button. The booking window should open on top of the page.
  </Step>
</Steps>

<Callout type="warn" title="Do not use book or gift-card as an element ID">
  Webflow scrolls to any element whose ID matches a link, and takes the click before booking can open. Make sure nothing on your site has the ID `book` or `gift-card`.
</Callout>

Slide-in panel instead of a pop-up [#slide-in-panel-instead-of-a-pop-up]

To have booking slide in from the side of the page, add one line to the script tag:

```html
<script
  src="https://js.resytech.com/1/resytech.js"
  data-resytech-location-id="YOUR_LOCATION_ID"
  data-resytech-base-url="https://yourbusiness.bookingui.com"
  data-resytech-presentation="drawer"
  data-resytech-links="true"></script>
```

Custom attributes instead of a link [#custom-attributes-instead-of-a-link]

Webflow lets you put custom attributes on an element, which is another way to make a button open one activity. Select the button, open the **Element settings** panel, and under **Custom attributes*&#x2A; click &#x2A;*+**. Add the name `data-resytech-activity-id` with your activity ID as the value. For gift cards, use the name `data-resytech-gift-card` with the value `true`. There is no attribute for the full booking flow, so use the `/#book` link for that.

Booking on a page [#booking-on-a-page]

This places the booking calendar inside one of your pages, with no button to click.

<Steps>
  <Step>
    Add the booking script to your site [#add-the-booking-script-to-your-site-1]

    Open **Site settings**, then the **Custom code** tab, and paste this into **Head code**. If you already added the script tag for Book Now buttons, keep it and add only the last line underneath. Click **Save changes**.

    ```html
    <script
      src="https://js.resytech.com/1/resytech.js"
      data-resytech-location-id="YOUR_LOCATION_ID"
      data-resytech-base-url="https://yourbusiness.bookingui.com"
      data-resytech-links="true"></script>
    <script>new ResytechApi().registerComponents();</script>
    ```
  </Step>

  <Step>
    Place the booking on a page [#place-the-booking-on-a-page]

    In the Designer, open the **Add** panel and find **Custom Code**. Drag a **Code Embed** to where the booking should appear. Paste this into the editor and click **Save & Close**. Then **Publish** your site.

    ```html
    <resytech-booking-embed
      base-url="https://yourbusiness.bookingui.com"
      location-id="YOUR_LOCATION_ID">
    </resytech-booking-embed>
    ```

    To show one activity, add `activity-id="YOUR_ACTIVITY_ID"` to the tag. The booking area is 700 pixels tall unless you say otherwise. Add `height="900"` to change it.
  </Step>

  <Step>
    Test it [#test-it-1]

    Open the page on your published site. The booking calendar should appear where you placed the embed.
  </Step>
</Steps>

A link to your booking page [#a-link-to-your-booking-page]

If you would rather not add any code, point a button at your booking page address, for example `https://yourbusiness.bookingui.com`. Add `/YOUR_ACTIVITY_ID` to go straight to one activity, or `/gift-cards` for gift cards. Customers book on your booking page instead of on your site. This works on every Webflow plan.

Troubleshooting [#troubleshooting]

<Accordions type="single">
  <Accordion title="Nothing happens when I click the button">
    Check you published after saving the custom code, and that you are looking at the published site, not the Designer. Then check the button link is exactly as shown.
  </Accordion>

  <Accordion title="The page scrolls instead of opening booking">
    Webflow scrolls to any element whose ID matches the link. Make sure nothing on your site has the ID `book` or `gift-card`: select the element, open **Element settings** and change its ID.
  </Accordion>

  <Accordion title="The Custom code tab is locked">
    Custom code needs a paid Site plan, or a Core, Growth, Agency or Freelancer Workspace.
  </Accordion>

  <Accordion title="The booking does not show in the Designer">
    A Code Embed is only a placeholder on the canvas. Publish and look at the live page.
  </Accordion>

  <Accordion title="The booking window opens but stays blank or shows an error">
    The booking page address in the code has to match your address in the dashboard exactly, including `https://`. In the dashboard, click your name in the top right, choose **Location Settings**, open **Booking Domain** and check the address shows **Verified**.
  </Accordion>

  <Accordion title="I need to see what the script is doing">
    Add `data-resytech-debug="true"` to the script tag, reload the page and open the browser console. Remove it again once things work.
  </Accordion>

  <Accordion title="Webflow support will not help">
    Webflow support does not cover custom code. If you get stuck, contact Resytech support and tell us the page you are working on.
  </Accordion>
</Accordions>

How this guide was checked [#how-this-guide-was-checked]

The menu names were checked against Webflow's help pages on 9 November 2026. We have not yet run these steps on a live Webflow site. Two things are still to be confirmed there: that the URL field keeps `/#book` exactly as typed, and that the booking element inside a Code Embed comes through publishing unchanged. If either gives you trouble, use a link to your booking page and tell Resytech support what you saw.

Related [#related]

* [Add Booking to Your Website](/developers/integrate): the wizard that writes this code for you
* [Installation](/developers/installation): everything the script tag can do
* [Embed Booking UI](/developers/embed-booking-ui): more options for booking on a page
