Embed Google Calendar in Squarespace?
Yes, you can embed a Google Calendar in Squarespace by copying the calendar’s embed code from Google Calendar and pasting it into a Code Block on your Squarespace page. This works on all Squarespace versions (7.0, 7.1, and newer) and takes about five minutes.
Why Embed a Google Calendar?
Google Calendar is free, syncs across devices, and lets multiple people edit the same schedule. Embedding it in your Squarespace site means visitors see your live events without leaving your page. You might use it for:
- Class schedules or workshop times
- Team availability or booking windows
- Community events, meetups, or club meetings
- Content publishing calendar for a media site
Unlike a static image or a list of dates, an embedded calendar updates automatically whenever you change an event in Google Calendar. That saves you from editing your website every time a time or location shifts.
How the Embed Works
Google Calendar provides a public embed code (an iframe snippet) that you can paste into any webpage. Squarespace has a Code Block that accepts this HTML. When a visitor loads your page, their browser fetches the calendar from Google and displays it inside the iframe. The calendar keeps its own styling and interactive features—clicking an event opens a detail bubble, and the view can be switched between month, week, and agenda.
The embed code looks something like this:
<iframe src="https://calendar.google.com/calendar/embed?src=YOUR_CALENDAR_ID&ctz=America%2FNew_York" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>
You don’t need to write this by hand—Google generates it for you. You just copy and paste.
Step-by-Step: Get the Embed Code
- Open Google Calendar in a browser.
- Find the calendar you want to embed in the left sidebar under “My calendars.” If you don’t see it, click the three dots next to the calendar name and choose “Settings and sharing.”
- Scroll to “Access permissions” and check the box “Make available to public.” (If you skip this, the embed will show an error to visitors.)
- Scroll further down to “Integrate calendar.”
- Copy the code from the “Embed code” box. It will be an
<iframe>snippet. - Optionally adjust the width and height in the code to fit your page layout.
Step-by-Step: Add It to Squarespace
- In Squarespace, edit the page where you want the calendar.
- Click the + (add block) icon, usually in the top-left or on the page itself.
- Choose Code from the “Embeds” section (in Squarespace 7.1 it’s under “Embeds” or “More”).
- Paste the iframe code into the text area.
- Click Apply and then Save.
- Preview the page to confirm the calendar displays correctly.
If you want the calendar to have a specific width, set it in the iframe code (e.g., width="100%"). That makes it responsive on mobile. For height, you might need to experiment—600 pixels is a good starting point.
Common Problems and Fixes
If the calendar doesn’t appear, check these first:
- Calendar is not public. The embed will show a gray box with a lock icon. Go back to calendar settings and enable “Make available to public.”
- Wrong calendar ID. The
srcURL contains a long string likeabc123@gmail.com. Make sure you copied the entire iframe code, not just part of the URL. - Code Block not saving. In some Squarespace versions, you must click outside the Code Block before saving the page. Try clicking on a different part of the page, then save.
- Mobile cut-off. A fixed pixel width (e.g., 800) can overflow on small screens. Change the width to
100%in the iframe code. - Events not showing. Make sure the events are on the calendar you embedded, not a different one. Check the calendar’s time zone settings too.
Alternatives and Customization
The basic iframe embed is the simplest method, but there are other ways to show a calendar on Squarespace:
- Use a link instead. If you only need a button that opens Google Calendar in a new tab, add a Button Block and set the URL to your public calendar link.
- Use a third-party service. Tools like Calendly or Tockify offer more design options and additional features (e.g., booking integration), but they usually require a paid plan for advanced customization.
- Customize the embed code. You can add
&mode=AGENDAto the URL to show a list view, or&showTitle=0to hide the calendar title. Experiment with the parameters in the iframe URL.
For most users, the default Google embed is enough—it’s reliable, free, and requires no extra plugins.
Frequently Asked Questions
Does the embedded calendar update automatically?
Yes. The iframe pulls the latest data from Google Calendar each time the page loads. Any change you make in Google Calendar (new event, time change, deletion) appears on your Squarespace site within seconds to a few minutes.
Can I embed a specific calendar or only my main one?
You can embed any calendar you own, or any public calendar you have permission to view. In Google Calendar settings, each calendar has its own embed code. Just switch to the calendar you want in the left sidebar before copying the code.
Why does my calendar show “This calendar is not public”?
That message appears when the calendar’s “Make available to public” option is turned off. Go to the calendar’s settings, check that box, and save. The embed will then display correctly for anyone who visits your site.
Will embedding slow down my Squarespace page?
No. The iframe loads asynchronously, so it won’t block other content on the page. It does add a small amount of external content, but it typically has minimal impact on load time.
Can I change the colors or font of the embedded calendar?
Not directly. The Google Calendar embed uses Google’s default styling. If you need custom colors or fonts, you’d need to use a third-party calendar service or build a custom front-end with the Google Calendar API—both are more complex.
Is there a limit to how many events show?
Google Calendar embeds show a month view by default, so you’ll see all events for the visible month. If you use agenda view, it shows the next 7 days (or a custom range). There’s no practical limit for typical use; the calendar handles large numbers of events fine.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.