tag using Calendly.initPopupWidget()
to trigger the popup on button click.
To trigger a Calendly popup via an onClick event on a Webflow button, follow Calendly's updated embed instructions and ensure it's correctly integrated in Webflow.
https://assets.calendly.com/assets/external/widget.js
<script src="https://assets.calendly.com/assets/external/widget.js" type="text/javascript"></script>
calendly-popup-btn
), or use a class like calendly-btn
.'https://calendly.com/your-username/your-event'
with your actual Calendly URL.Calendly.initPopupWidget
. Placing the script in the Footer ensures this.To trigger a Calendly popup on button click in Webflow: add Calendly's script in the Footer code, assign a unique ID to your button, and use Calendly.initPopupWidget()
in a script placed before the </body>
tag. Ensure scripts are correctly loaded and test only on the live site.