The booking widget for your website
One script, no dependency, no cookie, to open your booking page from any site, prefill it and know when a meeting is booked.
The Artibox Calendar booking widget for your website is a single file, widget.js, served by the application, with no cookie and nothing else loaded. For now the booking page always opens in a window of its own: framing it (iframe) is not open yet, so the inline mode shows a button.
<script src="https://your-application-domain/widget.js" defer></script>Booking widget for your website: three modes
<!-- Popup: a plain link, which still works without JavaScript -->
<a href="https://your-application-domain/r/my-space/intro-call"
onclick="return Rdv.initPopup({ url: this.href })">Book a meeting</a>
<!-- Inline: a button where the block sits; starts on its own -->
<div class="rdv-inline" data-url="https://your-application-domain/r/my-space/intro-call"></div>The badge is a fixed button: Rdv.initBadge({ url, texte, couleur, couleurTexte }). Rdv.closePopup() closes the window.
Prefill and tracking
Every mode takes prefill: name (or first_name and last_name), email, phone, a1 to a10 for the type's questions, and contexte for a signed context link. The utm_*, gclid, fbclid and ref parameters of your page are carried over (or pass them in utm), stored on the booking and sent in webhooks.
Events
The booking page tells the page that opened it, and only that page: rdv.date_et_heure_choisies, then rdv.reservation_creee, relayed by the widget as a rdv:reservation event on window:
window.addEventListener("rdv:reservation", function (event) {
console.log("Booked for", event.detail.debut);
});More on the API in the quick start.
Add booking to your site
Create your booking page, then copy the code from the « Embed » screen.
Create my account