Embedding Calendly directly in Webflow can slow down your site’s load times and negatively impact interactions and animations. To optimize performance, you can defer Calendly loading or replace the embed with a lightweight trigger. Here's how to improve your page speed while keeping Calendly functional.
1. Use a Popup Trigger Link Instead of an Inline Embed
- Avoid using the full embed iframe on page load. Instead, use Calendly’s popup link or widget that only loads Calendly when clicked.
- Go to Calendly’s Share options and choose "Popup Widget" or "Popup Text".
- In Webflow, use a link or button and add the Calendly script to your Page Settings > Before </body> tag only on the page that needs it.
Example:
Add this script to Before </body> tag (on specific page, not site-wide):
Calendly script load pointing to widget form
- This approach avoids loading Calendly's resources until the visitor interacts with your button, improving initial load speed.
2. Load Calendly Scripts Conditionally
- Only include Calendly scripts on the specific page where necessary.
- Do not add Calendly’s scripts site-wide via Project Settings unless used globally.
- To do this, go to the affected page’s settings and paste the Calendly script under Before </body> tag.
3. Defer or Lazy-Load Calendly Scripts
- Calendly’s embed script loads several third-party assets. You can add the script tag with a defer attribute or trigger via JavaScript upon interaction.
- If writing custom JavaScript, create a click event that loads and injects the Calendly embed after user interaction.
4. Add Calendly in a Modal or Toggle on Demand
- Instead of rendering an iframe element immediately, consider showing Calendly inside a Webflow modal that is hidden on initial load.
- Upon button click, load Calendly dynamically using JavaScript, reducing initial resource requests.
5. Measure Calendly’s Impact with Webflow & PageSpeed Tools
- Use Webflow's built-in audit tools or external tools like Google PageSpeed Insights or Lighthouse to monitor Calendly’s delay impact.
- Watch for LCP (Largest Contentful Paint) and TBT (Total Blocking Time) when Calendly loads upfront.
Summary
To improve page load speed with Calendly on Webflow, avoid embedding the iframe directly. Instead, use a popup trigger or deferred loading script triggered on user interaction. This reduces upfront resource loading and ensures smooth animations and page performance.