A Book now button for your website
Customers choose services, pick a free time in the next seven days, sign in with an OTP and book. The booking lands in your EaseSeat appointments like any other, and they pay at your business.
Add it to your website
- Ask EaseSeat to turn on website booking for your business. You get a code and one line of script.
- Paste the script once, just before
</body>. On Wix, WordPress or Squarespace, add it as custom code in the footer of every page. - That's it. The button appears in the bottom corner.
<script src="https://easeseat.github.io/customer-booking-widget/embed.js"
data-business="YOURCODE10" async></script>
Options
| Attribute | What it does |
|---|---|
data-business | Your 10-character business code. Required. |
data-label | The button's words. Default "Book now". |
data-position | left puts the button in the bottom-left corner. |
data-button | none hides the floating button, for sites that use their own. |
Use your own button
Give any link or button data-easeseat-book, or call EaseSeatBooking.open():
<a href="#book" data-easeseat-book>Book an appointment</a>
Count bookings in your analytics
After a booking, the page gets an easeseat:booked event with the date, time and value. It never includes the customer's details.
window.addEventListener('easeseat:booked', (event) => {
// event.detail: { date: '2026-12-02', time: '14:30', value: 1200, currency: 'INR' }
gtag('event', 'conversion', { value: event.detail.value, currency: event.detail.currency })
})
Privacy and security
- The booking screens run on EaseSeat's own address, in a frame. Your website never sees the customer's phone number, OTP or sign-in.
- Your code is public. It only shows what your business shows anyone: services, prices and free times. Booking needs a signed-in customer.
- EaseSeat sets every price and checks every time when the booking is made. Nothing the browser sends can change them.
- No cookies, and nothing loads until a customer clicks the button.