Before you start
- Know your website’s address exactly as it appears in the browser’s address bar on the page where the booking page will go, for example
https://www.example.com. Only the part up to.com(or.ph,.netand so on) matters. - Your website must open with
https://. Most website builders do this for you.
Allow your website
Your booking page shows only on the websites you list here. Every other site that tries to show it gets an empty frame.1
Open Embed
Go to Settings, Website, then Embed.
2
Turn it on
Turn on Show your booking page on your website.
3
Enter your website's address
In Website address, enter your site, like
https://www.example.com. Enter the site only, without a page after it: https://www.example.com, not https://www.example.com/book. If you type www.example.com, Onsuki adds https:// for you.4
Add other addresses your site uses
If your site also opens without
www, select Add another address and enter that one too, for example https://example.com. You can list up to 5 addresses.5
Save
Select Save. The code to paste appears under your addresses.

Embed, with a website address saved and the code to copy
Add a Book button to your website
The Book button opens your booking page over your website, already loaded, so it shows the moment a client selects it.1
Copy the code
On Embed, under Paste this where your Book button should go, select Copy code.
2
Paste it into your website
In your website builder, add an embed, HTML or code block where the button should go, and paste the code into it. Then publish your website.
- Use your builder’s own button. With the code on a page, any button or link on that page that goes to
https://your-business.onsuki.com/servicesopens booking the same way. Set your button’s link to that address. - One service. Under Or open one service, choose the service and copy its code. Its button opens straight on that service’s times.
- Stays and events. Under Or open your stays or Or open your events, choose All stays, All events, or one accommodation or event, and copy its code. Its button opens that page over your website. Clients pick dates or tickets there, and booking and payment continue on your booking site in the full window.
- More than one button. Paste the code once per page. The other buttons need only the
<a ...>line. - Nothing is booked until a client selects a service. Your website loads your services list in the background, and nothing is saved until a client chooses one.
Add a floating Book button
A floating button sits in a corner of every page of your website and opens your booking page over it, the same as the Book button. It uses your booking site’s button color.1
Choose its label and corner
On Embed, under Or a floating button on every page, change the Button label from Book now if you like, and choose Bottom right or Bottom left.
2
Copy the code
Select Copy code.
3
Paste it once for your whole site
In your website builder, paste the code where it adds code to every page, such as a site-wide header or footer code setting. Then publish your website.
- One service. To open one service instead of your services list, add
data-target=and the service’s ID, the same ID as in its Or open one service code. - It hides while booking is open, and shows again when the client closes it.
- It shows only on the websites you allowed. On any other site, nothing appears.
- With a Book button too. Paste the floating code once, and your other buttons need only the
<a ...>line.
Show your services inside the page
To show your services list as part of a page, copy the code under Or show your services inside the page:800px, for example to 1200px. To show another tab, name it: data-onsuki-inline="schedule", "packages", "classes" or "about".
One service’s times inside the page
To show one service’s dates and times as part of a page, or inside your website’s own pop-up, choose the service under Or open one service and copy the code under Or show its times inside the page:- It loads with your page. Nothing is saved until a client picks a time, so the times are already showing when a client opens your pop-up. Keep it without
loading="lazy". - Picking a time continues the booking. With Let customers book inside your website on, clients finish a free booking inside your page. Otherwise, the booking continues in the full window.
- With more than one location, clients pick where first. To open one location, add
?loc=and the location’s ID to the address. - A service with a question to answer first, such as a required add-on, shows a Book button instead of the times.
What clients see
- Browsing stays on your website. Clients move between your tabs, look at services, prices and the schedule inside your page.
- Booking opens in the full window. When a client selects Book, Sign in, or their account, your booking site opens in the whole browser window at your Onsuki address. They pick a time, enter their details, pay and get their confirmation there, the same as on your booking site.
- Payment works as it does on your booking site. Online payment, a receipt upload, or Pay in person, whichever you offer. Nothing about the payment or the client’s account is shown inside your website.
- After booking, clients stay on your booking site. The confirmation page is on your booking site, not on your website. Use the browser’s back button to return.
On phones
On a phone, the Book button opens your booking page over the whole screen, with a close button at the top. Shown inside the page instead, it fits the width of your page and clients scroll inside it. You can use both, for example the button near the top of the page and your services lower down.Link straight to one service
To send clients straight to one service’s times, link to that service instead of your whole booking site. Use it for a page or a button about one service, such as a store visit or a consultation.1
Open the service
Go to Catalog, Services and open the service.
2
Copy its link or its button
Under Share, select Copy booking link for the address, or Copy Book button for a Book now button to paste into your website the same way as above. Open shows you what clients see.
- The service’s times, in the full window. Your booking site opens with that service already chosen, at its times. If the service has options or add-ons, or more than one team member offers it, clients choose those first. They pick a time, enter their details and book as usual.
- With more than one location, clients first pick where. If clients book one service at a time, they see only the locations that offer the service, and a service offered at one location opens there directly.
- A service clients can’t book online opens your services list instead. If nobody is set up to do the service, its row says it is not bookable online at the moment.
For website builders
Every builder has a place to paste embed code. Look for a block or element named:- WordPress: a Custom HTML block.
- Squarespace: a Code block.
- Shopify: a Custom Liquid section in the theme editor, or the code view of a page.
- Wix: Custom Code in your site’s settings, with a Wix button for Book. See On Wix.
On Wix
Wix shows an Embed HTML element in a small box of its own, and booking cannot open over your page from inside that box: a Book button there opens your booking site in a new tab. For booking over your page, add the code to your whole site instead, and use a Wix button.1
Add the code to your site
In your Wix dashboard, go to Settings, then Custom Code (under Advanced or Development & integrations). Select Add Custom Code and paste only the first line of your code, the one that starts with
<script. Under Add Code to Pages, choose All pages, and under Place Code in, choose Body - end. Select Apply.2
Link a Wix button to your booking page
In the editor, add a button, select Link, choose Web address, and enter
https://your-business.onsuki.com/services with your own web address. For one service, use that service’s booking link (see Link straight to one service).3
Publish
Publish your site and select the button on the published site.
If it doesn’t show
If the frame is empty, gray, or says the site refused to connect:The address on Embed differs from your website's
The address on Embed differs from your website's
The address must match exactly.
https://www.example.com and https://example.com are two different sites to a browser, so list both if your site opens with and without www. Open the page where you pasted the code, copy the address from the browser, and compare it with what is on Embed.You saved a moment ago
You saved a moment ago
A change can take a minute or two to reach every visitor. Wait two minutes and reload the page.
The switch is off
The switch is off
On Settings, Website, Embed, check that Show your booking page on your website is on and your address is saved. Turning it off stops every website from showing your booking page.
Your builder puts the code in a frame of its own
Your builder puts the code in a frame of its own
Some builders place pasted code inside their own frame on a different address, which then has to be allowed too. If your address matches and it still doesn’t show, use the Book now button from Settings, Website, Booking Site instead, or message us at support@onsuki.com with your website’s address.
Good to know
- What is refused, and why. The address must start with
https://, be your own website (not your Onsuki address), have no page after it and no port number. When an address is refused, Onsuki says which part to fix. - Removing a site. Clear its address and select Save, or turn off Show your booking page on your website to remove them all. The change reaches visitors within about a minute.
- Your plan. Embed is part of the Business and Clinic plans. On another plan, Embed says how to change your plan. See Change your plan.
- Your booking site’s address stays the same. Clients can still book at your Onsuki address and from your link and QR code.