Adding a Contact Us form using Calendly

  1. Log-in to Calendly
  2. Navigate to “Routing” section of Calendly website
  3. Find the form you want to add to the website.
    • This tutorial will use “IMLS Meeting” form in the red box.

    step3

  4. Click on the “Share” button of the form.
    step4
  5. In the pop-up, click on the “Add to website” tab and select “Inline Embed”
    step5
  6. Customize the colors as you desire, and copy the code provided using the “Copy Code” button at the bottom right
    step6

  7. Navigate to the repository of your website.
  8. In the _includes folder, create a new html file.
    • I will refer to the file name as [your-file-name]. step8
  9. Paste the code below into the [your-file-name].html file you created.
    • Delete the line <!-- PASTE YOUR CODE HERE --> and paste the code that you copied from Calendly.
        
     <section class="bg-light page-section" id="{{ site.data.sitetext[site.locale].contact.section | default:"contact" }}">
         <div class="container">
             <div class="row">
                 <div class="col-lg-12 text-center">
                     <h2 class="section-heading text-uppercase">{{ site.data.sitetext[site.locale].contact.title }}</h2>
                 </div>
             </div>
         <!-- PASTE YOUR CODE HERE -->
         </div>
     </section>
        
    
  10. In the _data/navigation.yml file, add a new title and section under the nav section.
    - title: "Contact Us"
      section: [your-file-name]
    
    • IMPORTANT: Make sure that the section: name matches the name of the html file [your-file-name] that you created!!
      step10
  11. In the _data/sitetext.yml file, add the following text.
    • Make sure title and section is indented as shown in the image below.
      [your-file-name]:
      title: "Contact Us"
      section: [your-file-name]
      
    • IMPORTANT AGAIN: Make sure that the section: name matches the name of the html file [your-file-name] that you created!!
      step11
  12. In the _layouts/home.html, add {% include [your-file-name].html %}.
    step12

  13. You should be able to see your form on the website. (example)
    step13

  14. Congrats! You just added a new Calendly Contact Us form to the website!! 🎉👏👏👏