Wix
Add Resytech booking to a Wix site with a link to your booking page, booking embedded on a page, or Book Now buttons using Custom Code.
There are three ways to take bookings from a Wix site. A link to your booking page works on every Wix site and needs no code. Booking on a page and Book Now buttons keep customers on your site, but we have not been able to try them on a live Wix site yet, so test them carefully before you rely on them.
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
- Your booking page address. In the Resytech 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.
- Your Location ID, for anything other than a plain link. In the 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.
- For Book Now buttons, a published site with a connected domain, which needs a paid Wix plan. Wix only runs custom code on a site with its own domain.
Test on the published site
Wix does not run custom code in the editor or in Preview. Publish, then test on your live site.
A link to your booking page
This is the dependable option. Customers click a button and book on your booking page.
Select your button, or add one. In Wix Editor, click the link icon and choose Web address. In Wix Studio, open Settings and use Links to. Paste 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. Click Done, then Publish your site.
Booking on a page
This places the booking calendar inside one of your pages. Wix shows pasted code inside a frame of a fixed size, so the whole block goes in one place and you set its height yourself.
Add an HTML embed
In the editor, add an HTML embed where the booking should appear:
- Wix Editor: Add Elements, Embed Code, Embed HTML
- Wix Studio: Add Elements, Embed & Social, Embed Code
- Wix Harmony: Add, Elements, More Options, Embed, Embed code
Paste the booking code
Click Enter Code (in Harmony, the Settings icon), paste this in with your own Location ID and booking page address, and click Apply.
<script src="https://js.resytech.com/1/resytech.js"></script>
<script>new ResytechApi().registerComponents();</script>
<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 last tag.
Give it room
Stretch the element across the page and make it tall, about 1,000 pixels. Wix keeps it at the size you set, so a short one shows scroll bars. Then Publish your site.
Test it
Open the page on your published site. The booking calendar should appear where you placed the embed. Make one test booking from start to finish, including payment, and check nothing is cut off.
Book Now buttons
A button opens booking on top of your page. Wix buttons can only be given a link, so the booking script watches for links that end in #book.
Add the booking script to your site
In your Wix site dashboard, open Settings, then Custom Code. It is in the Development & integrations section, which older dashboards call Advanced.
Click + Add Custom Code and paste this in, replacing YOUR_LOCATION_ID and the booking page address with your own. Give it a name such as Resytech booking. Choose All pages, set it to load once, and under Place Code in choose Head. Click Apply.
<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>Point a button at a booking link
Select your button, or add one. In Wix Editor, click the link icon and choose Web address. In Wix Studio, open Settings and use Links to. Wix wants a full address, so put your own website address in front of one of these endings, for example https://www.yoursite.com/#book:
| Link ending | 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 |
Choose to open the link in the current window. Click Done, then Publish your site.
Test it
Open your published site and click the button. The booking window should open on top of the page. If the button reloads the page instead, use a link to your booking page and tell Resytech support what happened.
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:
<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>Troubleshooting
How this guide was checked
The menu names were checked against Wix's help pages on 9 November 2026, for Wix Editor, Wix Studio and Wix Harmony. We have not yet run these steps on a live Wix site. Still to be confirmed there:
- Whether the button link tool keeps the
#bookending, and whether Wix lets the booking script handle the click. - Whether booking embedded on a page can finish a payment, including Apple Pay and Google Pay, from inside the frame Wix puts around pasted code.
A link to your booking page does not depend on either.
Related
- Add Booking to Your Website: the wizard that writes this code for you
- Installation: everything the script tag can do
- Embed Booking UI: more options for booking on a page
WordPress
Add Resytech Book Now buttons, a slide-in booking panel, or booking on a page to a WordPress site using the WPCode plugin and Custom HTML blocks.
Shopify
Add Resytech Book Now buttons, a slide-in booking panel, or booking on a page to a Shopify store using theme.liquid and Custom Liquid sections.
