Embed booking pages on your site
Add an inline booking page or a pop-up to any website with one script tag.
The embed script works on any site: plain HTML, React, Webflow or Framer.
Add the script
Section titled “Add the script”Add this once, before the closing </body> tag:
<script src="https://embed.example.com/v1/embed.js" async></script>Inline embed
Section titled “Inline embed”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>Pop-up from a button
Section titled “Pop-up from a button”Any element with data-meetlane-popup opens the booking page in a modal:
<button data-meetlane-popup="acme/product-demo">Book a demo</button>Pre-fill and track
Section titled “Pre-fill and track”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" },})Listen for bookings
Section titled “Listen for bookings”The embed emits a browser event when a booking is confirmed:
window.addEventListener("meetlane:booked", (event) => { console.log(event.detail.booking_id)})