[go: up one dir, main page]

Add a calendar to your website

You can embed your Google Calendar on your website to easily share your schedule and events with visitors.

Embed a calendar on your website

Important: Your calendar is only visible to people you share it with. To make your calendar visible to everyone, make your calendar public. Learn how to create and manage a public Google calendar.

  1. On your computer, open Google Calendar.
    • You can only get the embed code from a computer, not the Google Calendar app.
  2. In the top right, click Settings menu Settings and then Settings.
  3. On the left side of the screen, click the name of the calendar you want to embed.
  4. Click Integrate calendar.
  5. Under "Embed code," click Customize.
  6. Choose options for your calendar display.
    • Select dimensions where the width and height are each at least 500.
    • If you turn off Navigation buttons, people can only use keyboard shortcuts to navigate your calendar.
  7. At the top, next to the embed code, click Copy to clipboard .
  8. On your website, paste the embed code.

Tip: To subscribe to your embedded calendar, visitors can click Add to Google Calendar at the bottom left of the calendar.

Let site visitors save a calendar event

Important: To let anyone save your calendar event, make your calendar public. Learn how to create and manage a public Google calendar.

To allow anyone to save events to their calendars, add a Google Calendar button to your website.

  1. On your computer, open Google Calendar.
    • You can only make changes to your calendar visibility from a computer, not the mobile app.
  2. On a public calendar, create or edit an event.
  3. At the top right, click More actions and then Publish event.
  4. In the "Publish event" window, copy the HTML code displayed.
  5. On your website, paste the HTML code.

Get a public link for an event

To share a single event, get a public link for the event. Anyone with the link can get details about the event, like the time, date, and description.

  1. On your computer, open Google Calendar.
    • You can only get the event link from a computer, not the Google Calendar app.
  2. On a public calendar, open the event you want to share.
  3. At the top right, click More actions and then Publish event.
  4. In the "Publish event" window, copy the link to share with others.

Tips:

  • Links from the "Publish event" feature work best on desktop web browsers.
  • If you open these links in the Google Calendar app with a mobile device, the event details may not load correctly. It may also show as a blank event.
  • To check the event on a mobile device:
    1. Open the link in a web browser like Chrome.
    2. Save it to your calendar.

Related resource

Use keyboard shortcuts in Google Calendar

Search
Clear search
Close search
Main menu
8274138616772075780
true
Search Help Center
false
true
true
true
true
true
88
false
false
false
false