Skip to content
All articles

What is Event structured data, and how do you add it?

guide // , 5 min read, by Darthwares

Event structured data is a standardized format for providing information about an event on a web page, helping search engines classify its content. Adding this data can make your events eligible for rich results in Google Search and other Google products like Google Maps. This enhanced display makes it easier for people to discover and attend your events.

Illustration with sample values.
On this page // 7 sections
  1. 01What is Event structured data?
  2. 02What kinds of events are eligible for rich results?
  3. 03Key properties for Event structured data
  4. 04How do you add Event structured data to your page?
  5. 05How do you validate Event structured data?
  6. 06What are important considerations for Event structured data?
  7. 07Common questions

The short version

  • Event structured data helps search engines understand the details of your events.
  • It enables your event pages to appear as rich results in Google Search.
  • Each event must be bookable by the general public and have a unique URL.
  • Implement Event structured data using JSON-LD and validate it with the Rich Results Test.
  • Always include all required properties and ensure the data is visible on the page.

What is Event structured data?

Structured data is a standardized format that provides information about a page and classifies its content. For example, it can describe ingredients and cooking times on a recipe page. Search engines use this data to understand the content of your page and gather information about the web and the world in general.

Event structured data specifically describes an event happening at a certain time and location, such as a concert, lecture, or festival. Google uses this information to show your content in a richer appearance in search results, known as a rich result. These interactive rich results display a list of organized events, making it easier for users to discover and attend them through Google Search and other Google products.

What kinds of events are eligible for rich results?

Google's event experience aims to help people discover and attend events through Google Search results and Google Maps. To be eligible for this, events must be bookable by the general public. Each event also requires a unique URL, or "leaf page," with the structured data markup directly on that URL.

It is important to note that virtual experiences without a real-world component are not supported for Event structured data. However, Schema.org notes that repeated events can be structured as separate Event objects.

Key properties for Event structured data

Schema.org defines several properties to describe an event, providing details such as its timing, attendance mode, and status. These properties help search engines understand the specifics of your event.

  • startDate: Schema.org defines this as the start date and time of the event, in ISO 8601 date format.
  • endDate: Schema.org defines this as the end date and time of the event, also in ISO 8601 date format.
  • eventAttendanceMode: Schema.org indicates this property shows whether an event occurs online, offline, or a mix.
  • eventStatus: Schema.org defines this property to represent an event's status, which is useful when an event is cancelled or rescheduled.
  • previousStartDate: Schema.org defines this property to contain the previously scheduled start date.
  • offers: Schema.org notes that ticketing information may be added via this property.

How do you add Event structured data to your page?

Google documents that if you are comfortable editing your HTML, you can directly integrate structured data into your web pages. Google generally recommends using JSON-LD, as it is often the easiest format to implement and maintain.

  1. 01Identify the content type that represents your content, which in this case is Event.
  2. 02Create the structured data markup for the Event type using reference documentation.
  3. 03Insert the generated markup into each page you want to make eligible for search engines.

How do you validate Event structured data?

Google documents that after adding structured data, it is crucial to validate your code and fix any critical errors. Google's Rich Results Test is an easy and useful tool for validating your structured data and, in some cases, previewing how a feature might appear in Google Search. web.dev mentions using the Structured Data Linter to validate structured data. Google advises always following the general structured data guidelines, along with any specific guidelines for the Event type.

What are important considerations for Event structured data?

Google documents that each event must have a unique URL and that structured data should not be added about information not visible to the user on the page. Do not create blank or empty pages solely to hold structured data. To be eligible for enhanced display in Google Search, an Event object must include all required properties.

Google also advises that when an event's status changes, you should not remove the startDate. Schema.org notes that repeated events may be structured as separate Event objects.

Common questions

What is structured data in general?

Structured data is a standardized format for providing information about a web page and classifying its content. Search engines use this data to understand the content of the page, as well as to gather information about the web and the world in general, such as details about people, books, or companies. This helps search engines process and display information more effectively.

Why should I add Event structured data?

Adding Event structured data can enable search results that are more engaging to users, which are called rich results. Google uses this data to understand your page content and show it in a richer appearance in search results. This makes it easier for people to discover and attend your events through Google Search and other Google products like Google Maps.

Can I add Event structured data for virtual-only events?

No, Google does not support virtual experiences that have no real-world component for Event structured data. Events must have a physical presence or a real-world aspect to be eligible for rich results.

What happens if an event is cancelled or rescheduled?

If an event's status changes, you should update the eventStatus property to reflect whether it is cancelled or rescheduled. It is important not to remove the startDate property. You can also use the previousStartDate property to indicate the date the event was originally scheduled to begin.

What tool should I use to test my Event structured data?

Google's Rich Results Test is a useful tool for validating your structured data and previewing how it might appear in Google Search. web.dev mentions using the Structured Data Linter to validate structured data. These tools help you identify and fix any critical errors in your markup.

Primary sources and further reading

This article was researched and written by an AI model and published automatically. It was written from sentences that were checked to appear on the pages below, but a person has not reviewed the text. If something is wrong, tell us at chibivikramathithan@darthwares.com and we will correct it.