calvana/Docs
Docs pages

Website embed

Last updated: November 9, 2026

How to put a Calvana form on your own site: the embed code and its options, the URL parameters it reads, the messages it sends your page, and what happens when the form ends.

At a glance

A prospect reaches a Calvana form through its link, or through an embed on your own site. The embed is one script tag that puts the form in an iframe on your page.

Ways in
The form link, an inline embed, or a floating button that opens the form in a popup.
Copied from
The form's "Copy embed code" or "Embed" button, which walks you through the options.
Script
https://calvana.com/embed/script.js
Talks to your page
Four messages: the form's height, a request to close the popup, a request to scroll the form's bottom on screen, and a redirect when the form ends on a Custom URL.
Thank-you page
Optional. A second snippet shows the booking that just landed on your own page.
Your page
Embed script
Form iframe
1. Loads script.js, from Your page to Embed script
2. Inserts the form, from Embed script to Form iframe
With your page's query string
3. calvana-resize, from Form iframe to Embed script
Each time its height changes
Sets the iframe's height
4. Opens your thank-you page, from Form iframe to Your page
Booked, with a Custom URL: ?calvana_call=<token>
The form runs on Calvana's domain inside the iframe. Your page only hosts it and follows its redirect.

Embed code

Put the tag inside <body>, where the form should appear. An inline form takes the full width of the element it sits in, or ends the page when the tag is in <head>. A floating form adds a button in a corner of the page.

Inline
<script src="https://calvana.com/embed/script.js"
  data-form="/book/acme/strategy-call" data-type="inline"></script>
Floating button
<script src="https://calvana.com/embed/script.js"
  data-form="/book/acme/strategy-call" data-type="floating"></script>
AttributeValue
data-formThe form's path, /book/<team>/<form>. A full URL or a personal link's path shows "Form not found".
data-typeinline or floating. Left out, the form is floating.
data-channelOptional. The channel the bookings are credited to, by its slug.
data-repOptional. The host the bookings are pinned to, by their id.
data-setterOptional. The setter the bookings are credited to, by their id.

The Embed card picks these for you, in four steps: Pick a layout, Pick a channel, Pick a host, and Pick a setter. It skips the host and setter steps for a standalone form, and the setter step when the team has no active setters. A form whose answers lead to no calendar and no Disqualify step has no embed button.

Confirmation widget

For a calendar whose Confirmation Page is a Custom URL, this tag on that page shows the booking that just landed. Copy it from the calendar's "Embed confirmation widget" button, or "Copy Embed Code" under the Custom URL choice. The tag names no calendar, so many calendars can send prospects to one thank-you page with one tag on it, and each prospect sees the calendar they booked. It reads calvana_call from your page's address, so a page that drops the query string, or is opened without a booking, shows no widget at all. Older tags that carry data-event-id keep working, and the booking still decides what they show.

Confirmation widget
<script src="https://calvana.com/embed/script.js"
  data-type="confirmation"></script>
LinkShape
The formhttps://calvana.com/book/<team>/<form>
A personal linkThe form link plus /<host>, /_<setter> or /<host>_<setter>, each the team member's name in lower case with dashes, like /nick-jones. Two members with one name get nick-jones and nick-jones-2. A member keeps their link name when renamed. Links made with the first 8 characters of a member's id, /<host>, /s-<setter> or /<host>-<setter>, still work. The link card builds it from Pick a host and Pick a setter.
With a channelAny link plus ?via=<channel>

A link pinned to a host shows only that host's times on the calendars they take, and skips routing to a rep. On other calendars, routing picks the host as usual. A renamed form's old link keeps working until another form takes the old name. A renamed team's old links work for 7 days.

URL parameters

The embed passes your page's own query string into the form, so a link to yoursite.com/book?email=jane%40acme.com fills in the form on that page. The snippet's own attributes win on a clash.

ParameterDoes
first_name last_name emailFills those questions in.
phone phone_number telFills the phone question. Send the "+" as %2B. Calvana restores one lost to URL encoding, and never guesses a country code.
viaCredits the booking to that channel. An unknown slug credits nothing.
setter repEmbed only, each a full team member id. setter credits a setter, and rep pins a host as a personal link does. The snippet's data-setter and data-rep win over them.
  • Prefill works on the opening question and the questions certain to follow it, and the form opens on the first question still empty. Other questions can't be prefilled.
  • The script keeps these names for itself and drops them from your page's query: form, eventId, type, preview, view, call and calvana_call.
  • Calvana's records don't keep UTM or click-id parameters, so they don't reach Zapier or a CRM.
  • Channel and setter credit goes to the submission that first records them, and a resume link keeps it. An inactive channel credits nothing. The credit shows in Calvana and its CSV export, and Zapier and the CRMs don't receive it.
  • Theme, hidden steps, dates and language aren't parameters. They come from the form's settings.

Size and layout

InlineFloating
Width100% of the element it sits inUp to 420px, and 48px narrower than a smaller window
HeightStarts at 600px, then follows the form's content with no limit, so your page scrolls, not the iframeStarts at 650px and follows the content, up to the window's height less 48px and the button. Taller content scrolls inside the popup
ClosesNeverOn the X, a click outside, or Esc on your page or in the form

The form lays itself out by the iframe's width, not the screen's, so a narrow column gets the phone layout. Its background is transparent, so your page shows around the form's card.

Messages to your page

The form posts these to its parent window. The embed script handles them, and your page can listen too. None says the prospect booked. Check that event.origin is https://calvana.com before acting on one, because the form posts them to any origin.

MessageSent when
{ type: "calvana-resize", eventId, height }The form's height changes. eventId is the data-form path, or confirmation for the confirmation widget (confirmation:<id> for an older snippet that carries data-event-id).
{ type: "calvana-close", eventId }Esc is pressed in a floating form.
{ type: "calvana-reveal-bottom" }An iOS prospect opens the mail app picker, which docks at the form's bottom. The script scrolls your page until an inline form's bottom is on screen.
{ type: "calvana-navigate", url }The form ends on a Custom URL, after a booking, a standalone form or a Disqualify step, and a sandbox stops it from sending your page there itself. The script sends your page there, for http and https URLs only.

To count bookings in your own analytics, send the calendar's Confirmation Page to a Custom URL on your site and fire the tag there. A booking's redirect carries calvana_call, and a disqualified or standalone ending's redirect doesn't, so the parameter tells a booking apart. The form runs no pixel or tag of yours.

After the form

The form ends onChoices
A bookingThe calendar's Confirmation Page: "Calvana Confirmation Widget", shown inside the form, or "Custom URL". Each host can have their own URL.
A standalone form's end"Calvana Thank You Page" or "Custom URL".
A Disqualify step"Calvana Disqualification Page" or "Custom URL".
  • A Custom URL always opens in the same tab. In an embed, your whole page goes there, not just the iframe. Calvana adds calvana_call=<token> to a booking's URL.
  • After a booking, if the browser doesn't follow the redirect within 4 seconds, the form shows "Taking you to your confirmation page." with a Continue link. A standalone or Disqualify redirect shows nothing while it waits.
  • Once any host has their own confirmation URL, the calendar uses only those. A host without one gets Calvana's confirmation, without its add-to-calendar options.
  • Links inside the form open in a new tab.
  • Resume links in Calvana's abandoned-booking messages open the form on Calvana's own site, not on your page. The submission keeps its channel and setter, but a host the original link pinned is dropped.

Look

The form's Design step sets its look everywhere it appears: light or dark, colours, one of 18 fonts Calvana hosts itself (Latin letters, including Polish and other Central European accents; Lato covers Polish only), and which parts show. The embed code can't override any of it. Your page can style only the iframe's container, and the script sets the iframe's height itself.

The Design step's Embed card sets the floating button: its text (up to 40 characters, "Book a call" when blank), colour, corner and pulsing dot. The button shows the plain look if those don't load within 3 seconds.

Domains and security

  • Any site can embed a form. Calvana keeps no list of allowed domains.
  • The form needs no cookies, so third-party cookie blocking doesn't stop it. It keeps only its booking session in the iframe's session storage, so a reload starts the form again, with the URL prefill.
  • When a calendar has bot detection on, the form loads Cloudflare Turnstile inside the iframe at booking time. Your page needs nothing for it.
  • Calvana limits each IP address to 20 form opens a minute and 100 an hour, the same for bookings, and 300 answers an hour. Visitors behind one office network share these. Past a limit, the form asks them to wait.
  • If your site sets a Content Security Policy, allow https://calvana.com in script-src and frame-src. A floating form also needs it in connect-src and font-src, and style-src 'unsafe-inline', because the script adds a style element. Without it the floating button never fades in.

Known limits

  • Several forms can share a page. Each embed sizes and closes its own iframe.
  • The script has no init or destroy call. On a single-page app, running it again adds another copy of the form, and a floating button stays on later routes.
  • A floating form loads when your page loads, hidden, not when the button is pressed. Each page view counts as a form open against the limits above.
  • The popup sits 24px from the bottom corner, at z-index 9999 over an overlay at 9998. Two floating forms share the corner. Element ids contain the form path with its slashes, so escape them in CSS selectors.
  • Browsers may keep script.js for an hour and the floating button's settings for a minute.
  • In a page builder that boxes custom code in its own frame, such as Wix, the form can't grow past the box, and a redirect may open inside the box.
  • The popup has no dialog role, doesn't move keyboard focus into the form or back to the button, and doesn't stop your page scrolling behind it. The iframes have no title attribute.