Bronjoy
Your website and links

Online booking widget for your website

How to add online booking to your own website: a floating Book online button, a booking form in the page, or your own buttons. Free on every Bronjoy plan, with every data-* option.

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.
Until your page is published with services, staff and working hours, the widget shows your phone number instead of a booking form.

Get the code

  1. Sign in to the Bronjoy dashboard and open Settings → Website widget.
  2. Under How it appears choose Floating button, Form on the page or Your own buttons.
  3. Under Appearance set the Language, Theme, Colour, Button text and Position.
  4. If the button should open one service straight away, pick it under Open with a service.
  5. 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.

AttributeValuesWhat it does
data-venuepage nameWhich business to open. Required
data-langru, uz, enBooking window language. Defaults to the page language (<html lang>), otherwise Russian
data-color#RRGGBBButton and accent colour. Default #7B6BF6
data-labeltextFloating button text. Defaults to "Book online" in the window's language
data-positionright, leftFloating button corner. Default right
data-buttonfalseDon't show the floating button
data-themelight, darkLight or dark booking window
data-serviceservice numberOpen with that service picked
data-staffstaff numberOpen 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.com in script-src and frame-src.
Copyright © 2026