Home activity (VirtualLocation) structured data

To help people discover activities that they can do from home, you can add structured data to your online event and video pages. When people search for activities to do at home, videos and online events appear in a rich result. People can click a video or class, and see more details, such as a description of the activity, how to register, or watch now.

Here are some examples of home activity content types:

  • Upcoming video livestream
  • Already recorded video
  • An online event
Home activities rich result

Feature availability

Home activity rich results are currently only available in English in the US. The feature is available on mobile devices. Currently, it only shows up for fitness-related searches (for example, "online exercise" or "yoga at home").

Eligibility guidelines

To be eligible to display as a home activity rich result, follow these guidelines:

  1. Add Event or Video structured data, per the documentation. Event structured data typically makes sense for online events happening in the future, and Video structured data makes sense for published videos.
  2. Events must be virtual events, not physical events. In the Event structured data, make sure to:
  3. For videos, focus on adding the description and duration properties, as these help Google understand what the video is about. If your video is an upcoming live stream you can add both types of markup (Video and Event), but you don't have to. However, if you use Video markup for the live stream, we recommended adding the BroadcastEvent properties and following the LIVE badge guidelines.

Examples

Video

Here's an example of a video page with Video structured data.

JSON-LD

<html>
  <head>
    <title>20 Min Aerobic Workout Reduction</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "VideoObject",
      "name": "20 Min Aerobic Workout Reduction",
      "description": "Get your exercise in, from home. Watch this quick 20 minute workout video.",
      "thumbnailUrl": [
        "https://example.com/photos/1x1/photo.jpg",
        "https://example.com/photos/4x3/photo.jpg",
        "https://example.com/photos/16x9/photo.jpg"
       ],
      "uploadDate": "2020-03-31T08:00:00+08:00",
      "duration": "PT20M46S",
      "contentUrl": "https://www.googlebotclass.com/video/123/20-min-workout.mp4",
      "embedUrl": "https://www.googlebotclass.com/embed/123",
      "interactionStatistic": {
        "@type": "InteractionCounter",
        "interactionType": { "@type": "WatchAction" },
        "userInteractionCount": 5647018
      },
      "regionsAllowed": "US"
    }
    </script>
  </head>
  <body>
  </body>
</html>
Microdata

<html itemscope itemprop="VideoObject" itemtype="https://schema.org/VideoObject">
<head>
  <title itemprop="name">20 Min Aerobic Workout Reduction</title>
</head>
<body>
  <meta itemprop="uploadDate" content="2020-03-31T08:00:00+08:00" />
  <meta itemprop="duration" content="PT20M46S" />
  <p itemprop="description">Get your exercise in, from home. Watch this quick 20 minute workout video.</p>
  <div itemprop="interactionStatistic" itemtype="https://schema.org/InteractionCounter" itemscope>
    <meta itemprop="userInteractionCount" content="5647018" />
    <meta itemprop="interactionType" itemtype="https://schema.org/WatchAction" />
  </div>
  <link itemprop="embedUrl" href="https://www.googlebotclass.com/embed/123" />
  <meta itemprop="contentUrl" content="https://www.googlebotclass.com/video/123/20-min-workout.mp4" />
  <meta itemprop="regionsAllowed" content="US" />
  <meta itemprop="thumbnailUrl" content="https://example.com/photos/1x1/photo.jpg" />
</body>
</html>

Event

JSON-LD

Here's an example of an online event page with Event structured data.


<html>
  <head>
    <title>Boxing Workout</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Event",
      "name": "Boxing Workout",
      "startDate": "2021-07-31T06:00:00-05:00",
      "endDate": "2021-07-31T07:00-05:00",
      "eventStatus": "https://schema.org/EventScheduled",
      "eventAttendanceMode": "https://schema.org/OnlineEventAttendanceMode",
      "location": {
        "@type": "VirtualLocation",
        "url": "https://googlebotcourse.com/boxing-workout"
        },
      "image": [
        "https://example.com/photos/1x1/photo.jpg",
        "https://example.com/photos/4x3/photo.jpg",
        "https://example.com/photos/16x9/photo.jpg"
       ],
      "description": "Boxing is a full body workout that rapidly changes the shape of your body through a dynamic workout. The technique develops lean, strong and flexible muscles.",
      "offers": {
        "@type": "Offer",
        "url": "https://www.googlebotcourse.com/event_offer/12345_201803180430",
        "price": "30",
        "priceCurrency": "USD",
        "availability": "https://schema.org/InStock",
        "validFrom": "2021-05-21T12:00"
      },
      "organizer": {
        "@type": "Organization",
        "name": "Get Fit with Googlebot",
        "url": "https://getfitwithgooglebot.com"
      },
      "performer": {
        "@type": "Person",
        "name": "Virginia Woolf"
      }
    }
    </script>
  </head>
  <body>
  </body>
</html>
Microdata

<html itemscope itemprop="Event" itemtype="https://schema.org/Event">
<head>
  <title itemprop="name">Boxing Workout</title>
</head>
<body>
  <meta itemprop="startDate" content="2021-07-31T06:00:00-05:00" />
  <meta itemprop="endDate" content="2021-07-31T07:00-05:00" />
  <meta itemprop="eventStatus" content="https://schema.org/EventScheduled" />
  <meta itemprop="eventAttendanceMode" content="https://schema.org/OnlineEventAttendanceMode" />
  <p itemprop="description">Boxing is a full body workout that rapidly changes the shape of your body through a dynamic workout. The technique develops lean, strong and flexible muscles.</p>
  <div itemprop="location" itemtype="https://schema.org/VirtualLocation" itemscope>
    <meta itemprop="url" content="https://googlebotcourse.com/boxing-workout" />
  </div>
  <img itemprop="image" src="https://example.com/photos/1x1/photo.jpg" alt="" />
  <div itemprop="offers" itemtype="https://schema.org/Offer" itemscope>
    <meta itemprop="url" content="https://www.googlebotcourse.com/event_offer/12345_201803180430" />
    <meta itemprop="price" content="30" />
    <meta itemprop="priceCurrency" content="USD" />
    <meta itemprop="availability" content="https://schema.org/InStock" />
    <meta itemprop="validFrom" content="2021-05-21T12:00" />
  </div>
  <div itemprop="organizer" itemtype="https://schema.org/Organization" itemscope>
    <meta itemprop="name" content="Get Fit with Googlebot" />
    <meta itemprop="url" content="https://getfitwithgooglebot.com" />
  </div>
  <div itemprop="performer" itemtype="https://schema.org/Person" itemscope>
    <meta itemprop="name" content="Virginia Woolf" />
  </div>
</body>
</html>