Embed a Calendly booking page in a shared HTML page
A proposal, portfolio or landing page with a "book a call" calendar on it. The three Calendly embed styles, the height the inline one needs, what a wrong link shows, how to hide the cookie notice inside the frame, and how to share the page as a link.
Ask Claude or ChatGPT for a proposal, a portfolio or a landing page "with a link to book a call" and it often adds the Calendly embed code: a <div class="calendly-inline-widget"> plus a script from assets.calendly.com. That code works in a shared page as written once the booking link and the height are right.
The tests below were run in headless Chrome, on a page served over http, against a public Calendly booking page.
Use your booking link
The data-url (or url) in the embed code must be your Calendly booking link, the address you would send someone to book with you, such as https://calendly.com/your-name or https://calendly.com/your-name/30min. AI tools often fill in a placeholder.
Tested: a link to a Calendly name that does not exist loaded Calendly's own "Sorry, we can't find that page" 404 page inside the frame, with Calendly's menu and sign-up buttons. If your page shows that, the link is wrong.
The three embed styles
All three loaded in the test page:
- ✓Inline: the booking calendar sits in the page where the <div class="calendly-inline-widget" data-url="..."> is. The script adds the frame itself.
- ✓Popup text: a link with onclick="Calendly.initPopupWidget({url: '...'}); return false;" opens the calendar over the page with a close button. Needs the widget.css stylesheet from assets.calendly.com in the <head>.
- ✓Badge: Calendly.initBadgeWidget({url: '...', text: 'Schedule time with me'}) adds a floating button in the bottom-right corner that opens the same popup. Also needs widget.css.
- ✓A plain <iframe src="https://calendly.com/your-name"> also loaded, with no script. The widget script adds embed_domain and embed_type to the address for you; the plain iframe does not.
Give the inline widget a height
The Calendly code puts style="min-width:320px;height:700px" on the div. AI tools sometimes drop it. Tested: without it, the frame was 150 pixels tall, a thin strip that cuts off the calendar. With height:700px it was 700 pixels.
The cookie notice inside the frame
Calendly shows its own cookie notice inside the inline frame, over the lower half of the calendar. Tested: adding ?hide_gdpr_banner=1 to the end of the booking link removed it. Visitors in places where a cookie notice is required may still need one from your page.
Upload it and send the link
Drag the HTML file onto the FileShare Pro dashboard and copy the link. Viewers need no account. The shared view does not restrict scripts or frames inside your page, so the calendar loads there as it did in the test. Bookings go to your Calendly account, not to FileShare Pro.
Change your availability in Calendly and the embedded calendar shows it on the next load; the page and the link stay the same. Related: a proposal or quote as a link, an HTML portfolio and an RSVP page that collects replies.
Frequently asked
No. The password protects the page. The booking link is in the page source and works on its own for anyone who has it: password-protecting an HTML page.
No. Shared files carry a noindex header: keeping a preview out of Google.
Drop the file, copy the link — live in seconds, free plan included.
Start sharing free