Skip to content
Go to app
Signpost for Astro Get the theme →

Embed booking pages on your site

Add an inline booking page or a pop-up to any website with one script tag.

Beginner · 4 min read · Updated Sep 12, 2026

The embed script works on any site: plain HTML, React, Webflow or Framer.

Add this once, before the closing </body> tag:

<script src="https://embed.example.com/v1/embed.js" async></script>

Place a container where the booking page should appear. The embed resizes itself to fit its content.

<div data-meetlane-inline="acme/product-demo" style="min-height: 640px"></div>

Any element with data-meetlane-popup opens the booking page in a modal:

<button data-meetlane-popup="acme/product-demo">Book a demo</button>

Pass known details and UTM parameters, so the booking is attributed to your campaign:

Meetlane.open("acme/product-demo", {
prefill: { name: "Ada Lovelace", email: "ada@example.com" },
utm: { source: "pricing-page", campaign: "q4-launch" },
})

The embed emits a browser event when a booking is confirmed:

window.addEventListener("meetlane:booked", (event) => {
console.log(event.detail.booking_id)
})