With an “embed”, you can display your upcoming activities on your own website.
Your customers can see what you offer and proceed to registration with a single click.
To use this feature, you need access to the website’s code / CMS system.
If someone else manages your website, send them this article.
<iframe id="bookli-embed" src="https://bookli.app/embeds/workshop-calendar?locationIds=XXXXXXXXXXX&variant=0&locale=da-DK&hidePrice=0&hideBookingsCount=0&hideWaitlistCount=0" style="width: 100%; display: block; border: none;"></iframe>
<script>
(function () {
var bookliEmbedFrame = document.getElementById('bookli-embed')
if (!bookliEmbedFrame) {
return
}
function onMessage(event) {
var data = event && event.data
if (data && data.type === 'bookli-embed-resize' && typeof data.height === 'number') {
bookliEmbedFrame.style.height = data.height + 'px'
}
}
window.addEventListener('message', onMessage, false)
})()
</script>Please note when using the code:
Replace XXXXXXXXX with your location ID.
You can find your location ID with Bookli’s link builder — see the section below.
Include the script
This ensures that the calendar automatically adjusts its height to fit its content. Without it, the calendar will have a fixed height and its own scrollbar.
Minimum container width
It works best if the container into which the embed is inserted has a minimum width of 1540 pixels on desktop.
Go to the Link builder in Bookli
Select “location front page” and copy the ID after “location/”

variant= controls the calendar’s color. Replace the number with the theme that suits your website:
Number | Color |
|---|---|
0 | Black |
1 | Brown |
2 | Green |
3 | Blue |
Missing a color that better matches your design? Write to us — we can create more themes.
If you have multiple locations, you can display them together in one calendar.
Write the location IDs one after another, separated by commas — with no spaces:
locationIds=XXXXXXXXXXX,YYYYYYYYYYYBy default, the calendar shows the price, the number of registrations and the number of people on the waiting list.
To hide any of these, change 0 to 1 in the code.
Hides | Code |
|---|---|
Price | hidePrice=1 |
Number of registrations | hideBookingsCount=1 |
Number on waiting list | hideWaitlistCount=1 |
If you only want to show one or more specific activity types, you can limit what the calendar displays.
Add &activityTypeIds= to the code with the IDs of the activity types you want to show.
To show more than one, separate them with commas:
&activityTypeIds=YYYYYYYYYYY,ZZZZZZZZZZZZZHow do I find an activity type’s ID?
Go to Activities → Activity types in Bookli Admin
Open the activity type
Find the ID and click the copy button

The calendar can be displayed in four languages. Replace the code in locale= with the one you want to use:
Language | Code |
|---|---|
Danish |
|
English |
|
German |
|
Finnish |
|
Try out the code before it goes on the website
If you’d like to see what the calendar looks like with your color and language, you can test the code at codepen.io/pen.
Insert the entire code in the HTML field, and the calendar will appear immediately.