Dati strutturati per attività da fare a casa (VirtualLocation)

Per aiutare le persone a trovare attività da fare a casa, puoi aggiungere dati strutturati alle pagine dei tuoi video e dei tuoi eventi online. Quando le persone cercano attività da fare a casa, i video e gli eventi online vengono visualizzati in un risultato multimediale. Le persone possono fare clic su un video o un corso e visualizzare ulteriori informazioni, ad esempio una descrizione dell'attività, informazioni su come registrarsi oppure un'opzione per guardare immediatamente i contenuti.

Ecco alcuni esempi di tipi di contenuti relativi ad attività da fare a casa:

  • Live streaming video imminente
  • Video già registrato
  • Un evento online
Risultato multimediale relativo ad attività da fare a casa

Disponibilità della funzionalità

I risultati multimediali relativi ad attività da fare a casa sono attualmente disponibili solo in inglese negli Stati Uniti. La funzionalità è disponibile sui dispositivi mobili. Attualmente il risultato multimediale viene visualizzato soltanto per le ricerche relative alla forma fisica (ad esempio, "allenamento online" o "yoga a casa").

Criteri di idoneità

Affinché i tuoi contenuti siano idonei per essere visualizzati come risultato avanzato relativo ad attività da fare a casa, attieniti alle linee guida che seguono:

  1. Aggiungi dati strutturati Event o Video, in base alla documentazione. Generalmente i dati strutturati Event sono adatti agli eventi online futuri, mentre i dati strutturati Video sono adatti ai video pubblicati.
  2. Gli eventi devono essere virtuali, non presso sedi fisiche. Nei dati strutturati Event, assicurati di:
  3. Per i video, concentrati sull'aggiunta delle proprietà description e duration, che aiutano Google a capire l'argomento del video. Se il video riguarda un live streaming imminente, puoi aggiungere entrambi i tipi di markup (Video ed Event), ma non è obbligatorio. Tuttavia, se usi il markup Video per il live streaming, ti consigliamo di aggiungere le proprietà BroadcastEvent e di seguire le linee guida relative ai badge DAL VIVO

Esempi

Video

Ecco un esempio di pagina di un video con dati strutturati Video.

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>
Microdati

<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

Ecco un esempio di pagina di un evento online con dati strutturati Event.


<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>
Microdati

<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>