If you work in a field that requires a lot of scheduling – sales, consulting, professional services, etc. – you know it’s a massive pain in the backside. Sometimes you might send three or four emails back and forth with someone to try and nail down a time that works for both of you. And then if something comes up that requires you to reschedule… not a fun prospect. Calendly was created to solve that problem. It’s not the only game in town, but it’s clean, fast and simple. Its free version is enough for many people, and its Premium and Pro versions are reasonably priced.
If you’ve noticed on my Free Consultation page, I personally use Calendly. You might also notice that it’s right there on the page. You don’t have to click on anything to get to it. This is what’s known as an embed. I’m literally embedding the Calendly interface into my page.
This has a few benefits. It makes it that much faster and easier for people to schedule with me. That should (in theory) have a secondary effect of increasing my conversion rate. So far so good; so what’s the big deal?
By default, Calendly offers three methods to embed their interface into your site:
- Popup Widget
- Popup Text
Inline is what I’m using on the Free Consultation page. As you can see, it puts the Calendly interface inline with the rest of the content on the page. In other words, there’s no button to click. It’s just there.
Popup Widget puts a button in the bottom-right corner of your site. When a visitor clicks the button, it will cause a popup to open that contains the Calendly interface. In my circumstance, this is no good. I use the Facebook Customer Chat code which puts a little Messenger icon in the bottom-right corner of my site, so the two would conflict with each other.
Popup Text allows you to put a link anywhere on your site. When a visitor clicks the link, a popup will open containing the Calendly interface. I was using this, but something in the code conflicts with the Jekyll renderer my site is built on. This causes the footer to show up in the middle of the page rather than the bottom. It looks ugly and breaks the functionality of the site.
Granted, I could probably work with Calendly to fix whatever is going on, but right now I just don’t have the time. So, I switched to the inline embed method… which brought its own challenges.
The code Calendly gives you to copy and paste for the inline embed looks like this:
The only problem with this is that it causes a second scroll bar to show up on the page. Basically you can scroll the Calendly interface independently of the page itself. In my opinion, it’s confusing (especially on mobile) and ugly.
After some trial and error with a sprinkle of Google-fu, I came up with the following snippet of code:
<iframe src="https://calendly.com/username" width="100%" height="950" scrolling="no" frameborder="0"></iframe>
This embeds the Calendly interface with no extra scroll bar and makes it tall enough to see a full week of dates without anything being cut off on either desktop or mobile.
Calendly is an awesome scheduling app. If you want to embed it in your website but don’t like the extra scroll bar it creates, give the code above a try.