This article covers:
Locating your iframe embedding code
You can find your iframe code within your Public page by selecting Customise Page in the top right-hand corner:
The left-hand side contains the automatically generated HTML codes for a Button link, a Standard link, and an Embedded iframe.
Select Embedded iframe and copy the code in the box:
Embedding the iframe on your website
Head over to your Squarespace page. While in edit mode, insert an Embed content block section where you would like your Bookwhen schedule to appear.
Select the < / >
icon. A new box will open labelled Embed Data. In this box, paste the code copied from your Embedded iframe, then select Set, then Apply as shown here:
You can edit this section to appear wider if needed. We recommend always giving the iframe as much width space as possible on the page.
When you're happy, save your changes. Your Bookwhen schedule will then appear on your Squarespace page as demonstrated here:
๐ก You can find a helpful Squarespace article that explains this process in further detail here.
Other information about the iframe
The iframe is fully mobile responsive and should work on any device. For the best performance on mobile, we recommend keeping the event names and descriptions as short as possible to prevent the need for scrolling.
The iframe will only display your schedule, events and alert banner. It doesn't include banner images, buttons, the footer or any other additional edits on your page.
If you wish to pre-filter your iframe, you can learn how to do so here.
If you have any issues with your iframe rendering on the page, this is most likely due to another element interfering with the code. We recommend getting in touch with your website manager to troubleshoot further.
Learn about the iframe limitations.
Troubleshooting the iframe button codes
In some website builders, the default HTML codes for "Button link" and "Standard link" may not work as expected. This is because certain builders, like Squarespace, treat these links as iframes, which requires them to be opened in a new tab or window.
If you encounter issues with the links not functioning correctly, try using an amended version of the HTML code that includes target="_blank"
, which forces the link to open in a new tab.
An example of how to adjust the code:
Button link
Default:
<a href="https://bookwhen.com/example" title="Book online"><img src="https://d1abtw6bgq2xi2.cloudfront.net/images/bookonline_button.png" alt="Book online" style="width:105px;height:22px;" /></a>
Amended:
<a href="https://bookwhen.com/example" target="_blank" title="Book online"><img src="https://d1abtw6bgq2xi2.cloudfront.net/images/bookonline_button.png" alt="Book online" style="width:105px;height:22px;" /></a>
Standard link
Default:
<a href="https://bookwhen.com/example">Book online</a>
Amended:
<a href="https://bookwhen.com/example" target="_blank">Book online</a>
๐ฌ Any questions or feedback? There are two ways to get in touch:
For a quicker response, please contact us via live chat on our homepage or your account.
Or send us an email
Thank you! ๐บ
Return to the top โฌ๏ธ
Tags: square, integrate, embed, website