Guides / Squarespace

How to Embed a Google Calendar in Squarespace (and Make It Look Good on Phones)

November 21, 2026 · 5 min read

If your team already keeps events in Google Calendar (services, classes, meetings, closures), there's no reason to type them into your website as well. Embed the calendar once and the page stays up to date by itself.

The default embed has two problems. It shows a cramped month grid that's hard to read on a phone, and it can show times in the wrong time zone. This guide covers the setup and fixes for both.

Should you use Google Calendar or Squarespace Events?

Squarespace has its own Events page, with a page and a photo for each event. Use it if:

  • You have a handful of big events that each need their own page, details and registration links.
  • You want events to look exactly like the rest of your site.

Embed Google Calendar if:

  • You have lots of recurring or frequently changing events.
  • Several people already manage the calendar in Google.
  • You want one place to update, shared by your staff, your phones and your website.

Many sites use both: Events pages for the big occasions and an embedded calendar for the weekly rhythm.

Step 1: Make the calendar public

An embedded calendar only shows events to visitors if the calendar is public. Use a separate calendar for the website so private appointments never end up online.

  1. On a computer, open Google Calendar.
  2. On the left, under My calendars, hover over the calendar, click the three dots, and choose Settings and sharing. (To make a new calendar just for the website, click the + next to Other calendars and choose Create new calendar.)
  3. Under Access permissions for events, tick Make available to public. Choose See all event details so visitors see titles and descriptions, not just "busy".

On a Google Workspace account (a work or church Google account), your administrator may have turned off public sharing. If the box is greyed out, ask them, or use a free personal Google account for the website calendar.

Step 2: Get the embed code

On the same settings page, scroll to Integrate calendar. You'll see an Embed code box with a line starting <iframe src="https://calendar.google.com/calendar/embed?....

Click Customize under it for Google's settings tool. You can choose the default view (Month, Week or Agenda), turn off the title and print buttons, add more calendars, and set the colors and time zone. When you're done, copy the code from the top of that page.

Step 3: Make it mobile-friendly

The code Google gives you has a fixed width (800 pixels by default), so it either overflows a phone screen or squashes into an unreadable grid. Wrap it so it fills the space it's given:

<div style="position:relative;width:100%;height:700px;max-height:85vh">
  <iframe src="PASTE-THE-LINK-FROM-GOOGLE"
          style="position:absolute;inset:0;width:100%;height:100%;border:0"
          title="Our calendar" loading="lazy"></iframe>
</div>

Copy only the link from Google's code: the part inside src="…". Paste it in place of PASTE-THE-LINK-FROM-GOOGLE.

Use agenda view

On a phone, Agenda view (a simple list of upcoming events) is far easier to read than a month grid. Choose it in the Customize tool, or add &mode=AGENDA to the end of the link.

To show a list on phones and a month grid on computers, embed the calendar twice, once in each mode, and hide one depending on screen size:

<style>
  .cal-month { display: block; } .cal-list { display: none; }
  @media (max-width: 700px) { .cal-month { display: none; } .cal-list { display: block; } }
</style>
<div class="cal-month" style="position:relative;height:700px">
  <iframe src="PASTE-LINK&mode=MONTH" style="position:absolute;inset:0;width:100%;height:100%;border:0" title="Calendar, month view" loading="lazy"></iframe>
</div>
<div class="cal-list" style="position:relative;height:600px">
  <iframe src="PASTE-LINK&mode=AGENDA" style="position:absolute;inset:0;width:100%;height:100%;border:0" title="Calendar, upcoming events" loading="lazy"></iframe>
</div>

Add any of these to the end of the link, each starting with &:

AddWhat it does
&mode=AGENDAList of upcoming events (WEEK and MONTH also work)
&ctz=America/ChicagoShow times in your time zone, whatever the visitor's computer says
&showTitle=0Hide the calendar's name at the top
&showPrint=0Hide the print button
&showTabs=0Hide the Week / Month / Agenda tabs
&showCalendars=0Hide the list of calendars
&showTz=0Hide the time zone line at the bottom

For your time zone's name, use the one listed on Wikipedia's list of tz database time zones, such as America/New_York, America/Denver or America/Los_Angeles.

Step 4: Add it to Squarespace

Core, Plus or Advanced plans

Edit the page, click Add Block, choose Code, and paste your code (the wrapped version from step 3). Make sure the block is set to HTML, then save.

Basic plan

On the Basic and Personal plans, Code Blocks don't run custom code. A Markdown Block accepts HTML, including an <iframe>, on every plan. Paste the code into a Markdown Block instead. If the style lines don't take effect, use the simple version from step 3 on its own. More about the Markdown Block method.

Check the published page, not just the editor. Embeds sometimes show as a grey box while you're editing.

Fixing common problems

Visitors see "busy" or nothing at all. The calendar isn't public, or it's set to show free/busy only. Go back to step 1 and choose See all event details.

Times are an hour (or several) off. Add &ctz= with your time zone to the link. Also check the calendar's own time zone under Settings and sharing.

Visitors are asked to sign in. You used the calendar's private link or a Workspace calendar that isn't shared publicly. Use the code from Integrate calendar → Embed code, after making the calendar public.

It's tiny or cut off on phones. You're using Google's original code with a fixed width. Use the wrapper from step 3, and agenda view.

Some events don't appear. Each event can have its own privacy setting. Open the event and check its visibility isn't set to Private.

I want several calendars on one page. In the Customize tool, tick each public calendar under Calendars to display. Each keeps its own color. Or add &src= with each calendar's ID to the link.

Going further

A calendar works for dates and times. For things that aren't events, these may help: