You can embed a Square Appointments booking widget or button on your existing website, making it easy for your clients to find your availability and book an appointment.
We know the embed process can be confusing, so we put together a how-to guide for some common website builders - Squarespace, Wix, Weebly, and Wordpress. Keep in mind that our community admins and support team can’t help troubleshoot non-Square products, since we’re not the experts! If you’re having any trouble with your website management system, you’ll have to reach out to them directly, or ask fellow sellers here in the community.
Let’s get to it!
The first thing you’ll need is the code for your Square Appointments widget, available from the Square dashboard.
Read more about Using the Code Block on the Squarespace.
Read more about adding HTML code with Wix.
Note: embed code won’t take up the entire page as previewed. Consider resizing it accordingly after publishing and refreshing the page.
Read more about creating widgets and embedding code with Weebly.
Read more about HTML with Wordpress.
We hope this makes embedding your appointments widget a little easier. Feel free to comment here to let us know how it’s going!
Posted 04-07-2017
You can embed a Square Appointments booking widget or button on your existing website, making it easy for your clients to find your availability and book an appointment.
We know the embed process can be confusing, so we put together a how-to guide for some common website builders - Squarespace, Wix, Weebly, and Wordpress. Keep in mind that our community admins and support team can’t help troubleshoot non-Square products, since we’re not the experts! If you’re having any trouble with your website management system, you’ll have to reach out to them directly, or ask fellow sellers here in the community.
Let’s get to it!
The first thing you’ll need is the code for your Square Appointments widget, available from the Square dashboard.
Read more about Using the Code Block on the Squarespace.
Read more about adding HTML code with Wix.
Note: embed code won’t take up the entire page as previewed. Consider resizing it accordingly after publishing and refreshing the page.
Read more about creating widgets and embedding code with Weebly.
Read more about HTML with Wordpress.
We hope this makes embedding your appointments widget a little easier. Feel free to comment here to let us know how it’s going!
Hi @jackfrost, @bylaufi and @phyn!
Thanks for reaching out to the Community about this.
Following a recent discussion with another Seller here on the Community, I reached out to our Appointments team for further clarity. Unfortunately they did confirm that this is expected behaviour, and the related US Support Centre article has now been updated to reflect the most up to date information.
I've also requested that the support centre articles for the other countries we support be updated.
The same thing is happening to me. It is not working with wordpress at all it just shows the code.
The embed appears to be loading into an iframe that does not fully expand to the height of its contents. If I want to display the complete contents of the square widget, I have to manually force the iframe to expand to the height of its contents. This is pretty inconvenient and doesn't allow for easy integration into an existing design.
<div style="width: 75%; height: 75%; margin: 50px auto; padding-top: 20px; padding bottom: 30px;"><!-- Start Square Appointments Embed Code -->
<script src="https://squareup.com/appointments/buyer/widget/34f0aebe-2df3-4e98-ae9e-ab6e3abe8794/06TKYA6G6CZ9Y.js...>
<!-- End Square Appointments EmbedCode --></div>
This tiny bit of code fixed the problem with the bottom disappearing. My margins reflect the design, so you may want to change them.
Even when I fixed the spacing, the best decision was to use a button and go to square for booking my client. The problem I still have is that the font size is not behaving responsively on smaller screens from the embed. Is the widget font size supposed to be responsive? What did I miss? Please help.
I'm sorry for the delay @Leslie1! If you're still experiencing this issue, please go ahead and contact our Support team about this so we can investigate this for you!
Thanks also for your helpful reply to the previous posts!
Embedding doesn't work on Squarespace. Can you please take a look at it?
@hyuk1027 Sorry to hear that! We haven't heard reports of issues with Squarespace. If you're still having trouble embedding your booking widget please contact our Support team so we can take a closer look.
I copied and pasted the EMBED code, and this is how it looks when I preview my Wordpress page:
https://squareup.com/appointments/buyer/widget/3b296b3a-d8b8-4b40-b939-7ab25a7ff85e/AY8WSMJNDVDJT.js
Please help.
Oh wow,
@hollylac have you reached out to any Support Team yet?
You might need to reach out to Wordpress directly to get their insight on why this might be happening.
It sounds like you're doing everything right on the Square side of things.
Is there a way to put the html code in a button, on the Wix site? We use a book now button for our tours, and we just need a button to go to the square appointments page that we use.
I am able to easily embed the code to create a button on my Weebly website. However when I click to book an appointment using it, it takes me to an inactive location. How can I correct this?
@ewllc - thanks for the post! When you get the embed code from your Square dashboard, make sure you're getting the code from the location that you'd like to point people to. You can select your location at the top of your dashboard:
Switch locations on the dashboard
Let us know if you have more questions!
My widget shows up properly (full selection of services in a menu format) on apple computers and mobile devices, but it only shows up as a single button (no information or services listed) on google chrome. Why is it not showing up identically across all web browsers?
Hi @audrey00
Were you experiencing this on your own web browser or was this happening to a customer of yours?
Have you tried clearing the cache on Google Chrome and making sure its fully updated?
Website Embed doesn't seem to work in Wordpress. When copying the embed code and inserting into my container, I get a "book appointment" button. Why am I getting a button!!? I'm trying to embed the booking interface? Please help!
Hey @algsure
That sounds strange. We'll have to take a look at this with you to figure out what might be happening.
Reach out to ourAppointments team directly and they'll get you taken care of.
I'll follow up with them. Thanks.
I just spoke with Mike. He didn't have a way to help me get what I needed. Apparently the embed code will resize itself to a "Book Appointment" button if the container is too small. That is a pretty cool feature should someone be on my site on mobile or tablet but doesn't help otherwise. I've tried to expand my container to 100% width and height and I still cannot get it to work properly. There isn't even a way to tweak the widget size directly to make it fit. Any advice from here is appreciated!
This doesn't work on my wordpress site. I paste the code you gave me and this is what it looks like on my page. Just the code written out on the page.
How to make this a sidebar in wordpress elegance theme?
Thank you for the information. I have been trying to embed the Square Appointments booking flow in my WordPress+Elementor Free website and it doesn't work. So far I tried using the HTML and Shortcode widgets, but I get the 403 Server Error message. Can you please tell me how to do it?
Any help will be greatly appreciated.
It's been 2 weeks since I asked about this and still I do not get an answer. I was able to fix the server error by disabling WordFence plugin but still the script takes over the whole page and I can't modify it anymore.
Square Community
Square Products