Online booking widget for your website
The Bronjoy widget adds online booking to your website. Visitors pick a service, a professional and a time without leaving your site, and the booking lands in your dashboard straight away. The widget is free on every plan and works on any site where you can paste HTML.
There are three ways to show it:
- Floating button — a "Book online" button in the corner of every page;
- Form on the page — the booking form right inside a page;
- Your own buttons — any button or link on your site opens booking.
Get the code
- Sign in to the Bronjoy dashboard and open Settings → Website widget.
- Under How it appears choose Floating button, Form on the page or Your own buttons.
- Under Appearance set the Language, Theme, Colour, Button text and Position.
- If the button should open one service straight away, pick it under Open with a service.
- Under Code for your site click Copy.


Further down there is a Preview. It's live: a booking made there lands in your calendar.
Nothing is saved in the dashboard — every setting lives in the code itself. To change the colour or text, copy the code again and replace the old one.
Where to paste it in a site builder: WordPress, Tilda, Wix, Google Sites.
Floating button
Paste the code once, just before the closing </body> tag — the button appears on every page.
<script src="https://bronjoy.com/widget.js" data-venue="your-venue" data-lang="en" async></script>
Replace your-venue with your Bronjoy page name: the last part of its address. For bronjoy.com/tashkent/barber/my-salon it's my-salon. The code from the dashboard already has it.

Clicking it opens the booking window on top of your site. On phones it fills the screen.

Form on the page
Put <div data-bronjoy-inline></div> where the form should go, for example on a "Book" or "Contacts" page. Add the script with data-button="false" once per page.
<div data-bronjoy-inline></div>
<script src="https://bronjoy.com/widget.js" data-venue="your-venue" data-lang="en" data-button="false" async></script>
The form sets its own height. When the visitor moves to the next step, the page scrolls back to the top of the form.

Your own buttons
Add the data-bronjoy-open attribute to any button or link. Paste the script once before </body>.
<a href="#" data-bronjoy-open>Book now</a>
<button type="button" data-bronjoy-open data-service="12">Book a haircut</button>
<script src="https://bronjoy.com/widget.js" data-venue="your-venue" data-lang="en" data-button="false" async></script>
data-service="12" opens booking with that service already picked. The service number appears in the dashboard code when you choose it under Open with a service.
All options
Options are attributes on the <script> tag. Only data-venue is required.
| Attribute | Values | What it does |
|---|---|---|
data-venue | page name | Which business to open. Required |
data-lang | ru, uz, en | Booking window language. Defaults to the page language (<html lang>), otherwise Russian |
data-color | #RRGGBB | Button and accent colour. Default #7B6BF6 |
data-label | text | Floating button text. Defaults to "Book online" in the window's language |
data-position | right, left | Floating button corner. Default right |
data-button | false | Don't show the floating button |
data-theme | light, dark | Light or dark booking window |
data-service | service number | Open with that service picked |
data-staff | staff number | Open with that professional picked |
An inline form (data-bronjoy-inline) and your own buttons (data-bronjoy-open) can carry their own data-service, data-staff, data-lang and data-color, which win over the script's. A value on the attribute opens a different business: data-bronjoy-open="other-venue". Useful for a chain with several Bronjoy pages.
Control it from JavaScript
Bronjoy.open({ service: 12 }) // open the booking window
Bronjoy.close() // close it
Bronjoy.on('booked', (e) => {}) // a booking was made: e.venue, e.appointment
Bronjoy.scan() // pick up buttons and forms added after load
There are also open and close events, and a bronjoy:booked event on window.
Analytics
Every booking is sent to Google Tag Manager and GA4 as the bronjoy_booking event automatically. It carries the business, the booking number, the service, the price and the currency. It never carries the client's personal details.
In Google Tag Manager create a Custom Event trigger named bronjoy_booking and attach your conversion tag to it.
If it doesn't work
- No button appears. Check that the code is on the published page, not only in a draft. Some builders run code only on a paid plan — see the guide for your builder.
- The browser console says "Bronjoy no venue". The tag has no
data-venue. - A phone number shows instead of the form. Your Bronjoy page isn't ready for booking yet: publish it and add services, staff and working hours.
- The builder strips
<script>. Use a normal button with your booking link. - Your site has a strict Content Security Policy. Allow
https://bronjoy.cominscript-srcandframe-src.
Booking link and QR code
Where a business owner gets the link to their Bronjoy online booking, which link to put where, and how to print a booking QR code for the door, the counter or a business card.
WordPress
How to add online booking to a WordPress site — the free Bronjoy Booking plugin with a block and shortcodes, or pasting the code without a plugin.