Schedulingcalendly.com

Can you embed Calendly in an iframe?

Yes, with the inline embed code or a plain iframe. Calendly documents both ways for any scheduling link.

Checked Test again

Live check

What the main page sends

Result of
Home pageEmbeddable
calendly.com
X-Frame-Options
Not sent
CSP frame-ancestors
Not sent
Response
200 OK · 110 ms · HTTPS
Scheduling linkNot checked
calendly.com/{your-link}

Not checked: needs your own link. Calendly has no public sample we can load.

Test your link

Steps

How to embed Calendly

  1. Go to your Scheduling page in Calendly.
  2. Select the three dots on the event type card, or at the top right for your landing page. Then clickAdd to website
  3. Select Inline embed. Then select Continue.
  4. Set the options that you want, such as Hide event details or remove the cookie banner.
  5. Select Copy Code. Paste the code into the HTML of your page.

Embed code

Paste this into your page

HTML
<div
  class="calendly-inline-widget"
  data-url="https://calendly.com/{your-link}"
  data-resize="true"
  style="min-width: 320px; height: 700px;">
</div>
<script src="https://assets.calendly.com/assets/external/widget.js"></script>

Calendly also lets you use a plain iframe of your link. A plain iframe cannot resize itself.

URL patterns

Swap the link you have for the embed URL

  • You havecalendly.com/{your-link}/{event}Use in the iframecalendly.com/{your-link}/{event}?hide_event_type_details=1
  • You havecalendly.com/{your-link}Use in the iframecalendly.com/{your-link}?hide_landing_page_details=1&hide_gdpr_banner=1

Join two or more parameters with &. Only the first one starts with ?.

Good to know

  • Calendly lists the embed on all plans. Custom colors (background_color, text_color, primary_color) need a paid plan.
  • A plain iframe cannot resize itself and cannot send events with postMessage.
  • Add data-resize="true" to the inline widget to fit its height. Use only one resizing embed on each page.
  • hide_gdpr_banner=1 removes the cookie banner. Your site must then handle cookie laws such as GDPR or CCPA.
  • The inline widget sends events to your page with window.postMessage(), for example when a person books.

Sources

Profile updated

Know before you embed.

Free, no sign-up, nothing stored. Paste a URL and get a verdict, a live preview, and the fix.