How to install the scheduler script?
How to set up the booking widget inside your application?
To trigger the booking widget as a pop-up on the click of a button/element inside your app:
- In the choices for ”Where would you like to install this router?”, select ”Directly on a Button”
-
Choose your form provider (Custom/Hubspot/Formspree) from the drop-down list. This ensures that we generate the most compatible version of the JavaScript code snippet.
-
Now, copy the router snippet. You’ll find two parts to this script.
Add the first script to the <head>
section in your website builder/CMS.
In the second part of the script, ensure that you pass the field values based on which you’ve set up rules for your router as a key-value pair.
Ensure that you pass all the values that have been added to the form associated with the router.
Add the second part of the script before the closing body tag on your page. Depending on your CMS/Website builder, you can also add this to the footer section.
- You’re all set!