为新型冠状病毒肺炎 (COVID-19) 通知添加结构化数据(Beta 版)

受 COVID-19 发展态势影响,政府、卫生部门和学校等许多组织都发布了会影响活动安排和日常生活其他方面的紧急通知。通知内容包括关闭设施、调整活动时间以及开设新的医疗设施(例如检测中心)。以下是特别通知的一些示例:

  • 居家避疫指令通知
  • 设施关闭通知(如学校停课或公共交通停运)
  • 政府福利通知(如失业补助,带薪休假或一次性补助)
  • 隔离指南
  • 旅行限制
  • 关于开设新的免下车检测中心的通知
  • 关于将活动从线下转为线上举办或取消活动的通知
  • 关于修改营业时间和购物限制的通知
  • 疾病传播统计信息和地图
Google 搜索中的 COVID-19 通知示例

如何实现 COVID 19 通知

您可通过以下两种方法实施 COVID-19 通知:

  • 在您的网页中添加 SpecialAnnouncement 结构化数据(推荐做法):结构化数据是一种提供网页相关信息并对网页内容进行分类的标准化格式。如果您不熟悉结构化数据,可以详细了解结构化数据的运作方式。如需实施 COVID-19 通知结构化数据,请按照这些步骤操作
  • 在 Search Console 中提交通知:如果您无权访问网站的 HTML,或者您需要快速提交通知(但是没有时间实施结构化数据),可以在 Search Console 中提交通知。该工具仅适用于设置为在发布后的一个月内失效的短期通知。此外,您目前无法更新通知(借助结构化数据,您可以更新通知并添加更多详情或延长日期)。了解详情

如何添加结构化数据

结构化数据是一种提供网页相关信息并对网页内容进行分类的标准化格式。如果您不熟悉结构化数据,可以详细了解结构化数据的工作原理

下面概述了如何构建、测试和发布结构化数据。如需获得向网页添加结构化数据的分步指南,请查看结构化数据 Codelab

  1. 添加必要属性。如需了解如何在网页上放置结构化数据,请观看 JSON-LD 结构化数据:网页上的插入位置
  2. 遵循指南
  3. 使用富媒体搜索结果测试验证您的代码。
  4. 部署一些包含您的结构化数据的网页,然后使用网址检查工具测试 Google 看到的网页样貌。请确保您的网页可供 Google 访问,不会因 robots.txt 文件、noindex 标记或登录要求而被屏蔽。如果网页看起来没有问题,您可以请求 Google 重新抓取您的网址
  5. 为了让 Google 随时了解日后发生的更改,我们建议您提交站点地图Search Console Sitemap API 可以帮助您自动执行此操作。

在 Search Console 中为您的网站提交 COVID-19 通知(Beta 版)

政府机构和官方卫生组织可以在其网站上提交重要的 COVID-19 通知,尤其是在无法使用结构化数据的情况下,此工具尤其有用。通知内容包括关闭设施、调整活动时间以及开设新的医疗设施(例如检测中心)。Google 搜索可以利用这些信息更好地理解您的网页内容,并在网页结果旁边向相关人员显示此类重要通知。

打开 COVID-19 通知提交工具

功能可用性

由于 COVID-19 形势的紧迫性,此功能处于积极开发阶段,您可能会发现相关要求或指南有所变化。我们关注的是来自卫生组织和政府机构的通知。您可能无法立即在 Google 搜索中看到相关结果。您可以提前提供结构化数据或在 Search Console 中提交通知,确保在该功能推出时您的通知符合条件。这样有助于 Google 了解 COVID-19 通知背后的数据,我们会根据这些数据扩大范围,为更多用例提供支持。

示例

居家避疫通知

下面是一个会影响多个县的居家避疫通知示例。

JSON-LD


<html>
  <head>
    <title>Shelter-in-place announcement</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "SpecialAnnouncement",
      "name": "Shelter-in-place for 3 California counties",
      "text": "As of 11:59 pm on March 17, 2020, all individuals in the 3 counties must strictly follow the provisions in this new Order. This new Order will be in effect through March 30, 2020.",
      "datePosted": "2020-03-17T08:00",
      "expires": "2020-03-24T23:59",
      "quarantineGuidelines": "https://example.org/california/shelter-in-place/",
      "diseasePreventionInfo": "https://example.org/california/prevention-tips/",
      "category": "https://www.wikidata.org/wiki/Q81068910",
      "spatialCoverage": [
        {
          "type": "AdministrativeArea",
          "name": "San Francisco County, CA"
        },
        {
          "type": "AdministrativeArea",
          "name": "Marin County, CA"
        },
        {
          "type": "AdministrativeArea",
          "name": "Santa Clara County, CA"
        }
      ]
    }
    </script>
  </head>
  <body>
  </body>
</html>

微数据


<html itemscope itemprop="SpecialAnnouncement" itemtype="https://schema.org/SpecialAnnouncement">
<head>
  <title itemprop="name">Shelter-in-place for 3 California counties</title>
</head>
<body>
  <p itemprop="datePosted" content="2020-03-17T08:00">March 17, 2020</p>
  <meta itemprop="expires" content="2020-03-30T08:00" />
  <p itemprop="text">As of 11:59 pm on March 17, 2020, all individuals in the 3 counties must strictly follow the provisions in this new Order. This new Order will be in effect through March 30, 2020.</p>
  <p itemprop="quarantineGuidelines" content="https://example.org/california/shelter-in-place/"><a href="https://example.org/california/shelter-in-place/">Learn more</a>.</p>
  <meta itemprop="diseasePreventionInfo" content="https://example.org/california/prevention-tips/" />
  <meta itemprop="category" content="https://www.wikidata.org/wiki/Q81068910" />
  <div itemprop="spatialCoverage" itemtype="http://schema.org/AdministrativeArea" itemscope>
    <meta itemprop="name" content="San Francisco County, CA" />
    </div>
  <div itemprop="spatialCoverage" itemtype="http://schema.org/AdministrativeArea" itemscope>
    <meta itemprop="name" content="Marin County, CA" />
  </div>
  <div itemprop="spatialCoverage" itemtype="http://schema.org/AdministrativeArea" itemscope>
    <meta itemprop="name" content="Santa Clara County, CA" />
  </div>
</body>
</html>

在一个网页上有多项更新

下面是一个包含多个通知的动态更新网页示例。

JSON-LD


<html>
  <head>
    <title>CA Updates on COVID-19</title>
    <script type="application/ld+json">
  [{
      "@context": "https://schema.org",
      "@type": "SpecialAnnouncement",
      "name": "Shelter-in-place for 3 California counties",
      "text": "<a href=https://example.org/california/executive-order-123>Executive order 123</a> requires residents to shelter-in-place through April 30. Additional disease prevention and quarantine guidelines are also available.",
      "datePosted": "2020-04-01T08:00",
      "expires": "2020-05-03T23:59",
      "quarantineGuidelines": "https://example.org/california/shelter-in-place",
      "diseasePreventionInfo": "https://example.org/california/prevention-tips",
      "category": "https://www.wikidata.org/wiki/Q81068910",
      "spatialCoverage": [
        {
          "type": "AdministrativeArea",
          "name": "Santa Clara County, CA"
        },
        {
          "type": "AdministrativeArea",
          "name": "Marin County, CA"
        },
        {
          "type": "AdministrativeArea",
          "name": "Santa Clara County, CA"
        }
      ]
    },
  {
      "@context": "https://schema.org",
      "@type": "SpecialAnnouncement",
      "name": "New information regarding worker benefits during COVID-19",
      "text": "A new summary chart explains the benefits for workers that are impacted by COVID-19. <a href=https://example.org/california/summary-of-benefits>Learn more</a>.",
      "datePosted": "2020-03-30T08:00",
      "expires": "2020-04-06T23:59",
      "newsUpdatesAndGuidelines": "https://example.org/california/worker-benefits-covid-19",
      "category": "https://www.wikidata.org/wiki/Q81068910",
      "spatialCoverage":
        {
          "type": "State",
          "name": "CA"
        }
    },
    {
      "@context": "https://schema.org",
      "@type": "SpecialAnnouncement",
      "name": "Updates on key federal changes to make food and health care more accessible",
      "text": "The Federal Government is making food and health care more accessible.",
      "datePosted": "2020-03-29T08:00",
      "expires": "2020-04-05T23:59",
      "newsUpdatesAndGuidelines": "https://example.org/california/food-health-guidelines",
      "diseasePreventionInfo": "https://example.org/california/prevention-tips",
      "category": "https://www.wikidata.org/wiki/Q81068910",
      "spatialCoverage":
        {
          "type": "State",
          "name": "CA"
        }
      }
  ]
    </script>
  </head>
  <body>
  </body>
</html>

微数据


<html>
<head>
  <title itemprop="name">CA Updates on COVID-19</title>
</head>
<body>
<div itemscope itemprop="SpecialAnnouncement" itemtype="https://schema.org/SpecialAnnouncement">
  <h2 itemprop="name">Shelter-in-place for 3 California counties</h2>
  <meta itemprop="datePosted" content="2020-03-17T08:00" />
  <meta itemprop="expires" content="2020-03-30T08:00" />
  <p itemprop="text"><a href=https://example.org/california/executive-order-123>Executive order 123</a> requires residents to shelter-in-place through April 30. Additional disease prevention and quarantine guidelines are also available.</p>
  <p itemprop="quarantineGuidelines" content="https://example.org/california/shelter-in-place/"><a href="https://example.org/california/shelter-in-place/">Learn more</a>.</p>
  <meta itemprop="diseasePreventionInfo" content="https://example.org/california/prevention-tips/" />
  <meta itemprop="category" content="https://www.wikidata.org/wiki/Q81068910" />
  <div itemprop="spatialCoverage" itemtype="http://schema.org/AdministrativeArea" itemscope>
    <meta itemprop="name" content="San Francisco County, CA" />
    </div>
  <div itemprop="spatialCoverage" itemtype="http://schema.org/AdministrativeArea" itemscope>
    <meta itemprop="name" content="Marin County, CA" />
  </div>
  <div itemprop="spatialCoverage" itemtype="http://schema.org/AdministrativeArea" itemscope>
    <meta itemprop="name" content="Santa Clara County, CA" />
  </div>
</div>
<div itemscope itemprop="SpecialAnnouncement" itemtype="https://schema.org/SpecialAnnouncement">
  <h2 itemprop="name">New information regarding worker benefits during COVID-19</h2>
  <meta itemprop="datePosted" content="2020-03-30T08:00" />
  <meta itemprop="expires" content="2020-04-06T23:59" />
  <p itemprop="text">A new summary chart explains the benefits for workers that are impacted by COVID-19. <a href=https://example.org/california/summary-of-benefits>Learn more</a>.</p>
  <meta itemprop="newsUpdatesAndGuidelines" content="https://example.org/california/worker-benefits-covid-19" />
  <meta itemprop="category" content="https://www.wikidata.org/wiki/Q81068910" />
  <div itemprop="spatialCoverage" itemtype="http://schema.org/State" itemscope>
    <meta itemprop="name" content="CA" />
    </div>
</div>
<div itemscope itemprop="SpecialAnnouncement" itemtype="https://schema.org/SpecialAnnouncement">
  <h2 itemprop="name">Updates on key federal changes to make food and health care more accessible</h2>
  <meta itemprop="datePosted" content="2020-03-29T08:00" />
  <meta itemprop="expires" content="2020-04-05T23:59" />
  <p itemprop="text">The Federal Government is making food and health care more accessible.</p>
  <meta itemprop="newsUpdatesAndGuidelines" content="https://example.org/california/food-health-guidelines" />
  <meta itemprop="diseasePreventionInfo" content="https://example.org/california/prevention-tip" />
  <meta itemprop="category" content="https://www.wikidata.org/wiki/Q81068910" />
  <div itemprop="spatialCoverage" itemtype="http://schema.org/State" itemscope>
    <meta itemprop="name" content="CA" />
    </div>
</div>
</body>
</html>

政府福利通知

下面是一个面向小型企业的政府新福利通知示例。

JSON-LD


<html>
  <head>
    <title>New Paycheck Protection Program for small business</title>
    <script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@type": "SpecialAnnouncement",
    "name": "New Paycheck Protection Program for small business",
    "text": "Example Administration announces a new loan that helps small businesses keep their workforce employed during the Coronavirus (COVID-19) crisis.",
    "datePosted": "2020-03-30T08:00",
    "expires": "2020-04-24T23:59",
    "category": "https://www.wikidata.org/wiki/Q81068910",
    "spatialCoverage": {
      "type": "Country",
        "name": "US"
        },
    "governmentBenefitsInfo": {
      "@type": "GovernmentService",
      "name": "Paycheck Protection Program",
      "url":  "https://www.sba.gov/funding-programs/loans/coronavirus-relief-options/paycheck-protection-program-ppp",
      "provider": {
        "@type": "GovernmentOrganization",
        "name": "US Small Business Administration"
       },
      "serviceType": "http://schema.org/BusinessSupport",
      "audience": {
        "@type": "Audience",
        "name": "Small businesses"
        }
      }
    }
  }
    </script>
  </head>
  <body>
  </body>
</html>

微数据


<html itemscope itemprop="SpecialAnnouncement" itemtype="https://schema.org/SpecialAnnouncement">
<head>
  <title itemprop="name">New Paycheck Protection Program for small business</title>
</head>
<body>
  <meta itemprop="datePosted" content="2020-03-30T08:00" />
  <meta itemprop="expires" content="2020-04-24T23:59" />
  <p itemprop="text">Example Administration announces a new loan that helps small businesses keep their workforce employed during the Coronavirus (COVID-19) crisis.</p>
  <div itemprop="spatialCoverage" itemtype="http://schema.org/Country" itemscope>
    <meta itemprop="name" content="US" />
  </div>
  <meta itemprop="category" content="https://www.wikidata.org/wiki/Q81068910" />
  <div itemprop="governmentBenefitsInfo" itemtype="http://schema.org/GovernmentService" itemscope>
    <meta itemprop="url" content="https://www.example.gov/funding-programs/loans/coronavirus-relief-options/paycheck-protection-program-ppp" />
    <div itemprop="provider" itemtype="http://schema.org/GovernmentOrganization" itemscope>
      <meta itemprop="name" content="US Small Business Administration" />
    </div>
    <div itemprop="audience" itemtype="http://schema.org/Audience" itemscope>
      <meta itemprop="name" content="Small businesses" />
    </div>
    <meta itemprop="serviceType" content="http://schema.org/BusinessSupport" />
  </div>
</body>
</html>

学校停课通知

下面是一个学校停课通知示例。

JSON-LD


<html>
  <head>
    <title>COVID-19 School Announcements</title>
    <script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@type": "SpecialAnnouncement",
    "name": "COVID-19 School Announcements",
    "text": "All schools will remain closed through a minimum of May 1 in alignment with school
    districts across all Bay Area counties.",
    "datePosted": "2020-03-17T08:00",
    "expires": "2020-03-24T23:59",
    "category": "https://www.wikidata.org/wiki/Q81068910",
    "schoolClosuresInfo": "https://example-school-district.org/announcements/extended-closure-notice",
    "announcementLocation": {
      "@type": "CivicStructure",
      "name": "Example School",
      "url": "https://example-school.org/",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "123 West Chestnut Drive",
        "addressLocality": "Palo Alto",
        "postalCode": "13478",
        "addressRegion": "CA",
        "addressCountry": "US"
      }
    }
  }
    </script>
  </head>
  <body>
  </body>
</html>

微数据


<html itemscope itemprop="SpecialAnnouncement" itemtype="https://schema.org/SpecialAnnouncement">
<head>
  <title itemprop="name">COVID-19 School Announcements</title>
</head>
<body>
  <p itemprop="datePosted" content="2020-03-17T08:00">March 17, 2020</p>
  <meta itemprop="expires" content="2020-03-30T08:00" />
  <p itemprop="text">All schools will remain closed through a minimum of May 1 in alignment with school districts across all Bay Area counties.</p>
  <p itemprop="schoolClosuresInfo" content="https://example-school-district.org/announcements/extended-closure-notice"><a href="https://example-school-district.org/announcements/extended-closure-notice">Learn more</a>.</p>
  <meta itemprop="category" content="https://www.wikidata.org/wiki/Q81068910" />
  <div itemprop="announcementLocation" itemtype="http://schema.org/CivicStructure" itemscope>
    <meta itemprop="name" content="Example School" />
    <meta itemprop="url" content="https://example-school.org/" />
    <div itemprop="address" itemtype="http://schema.org/PostalAddress" itemscope>
      <meta itemprop="streetAddress" content="123 West Chestnut Drive" />
      <meta itemprop="addressLocality" content="Palo Alto" />
      <meta itemprop="postalCode" content="13478" />
      <meta itemprop="addressRegion" content="CA" />
      <meta itemprop="addressCountry" content="US" />
    </div>
  </div>
</body>
</html>

COVID-19 检测机构通知

下面是一个 COVID-19 检测机构通知示例。

JSON-LD


<html>
  <head>
    <title>COVID-19 testing facility announcement</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "SpecialAnnouncement",
      "name": "Example Health Care announces COVID-19 testing facility",
      "text": "Example Health Care's same-day primary care program is offering drive-through testing, by appointment, for SARS-CoV-2, the coronavirus that causes COVID-19.",
      "datePosted": "2020-03-16T08:00",
      "expires": "2020-03-24T23:59",
      "gettingTestedInfo": "https://med.example.edu/news/covid-19-testing-facility.html",
      "category": "https://www.wikidata.org/wiki/Q81068910",
      "announcementLocation" : {
        "@type": "CivicStructure",
        "name": "Example Health Care",
        "url": "https://examplehealthcare.org/",
        "address": {
          "@type": "PostalAddress",
          "streetAddress": "123 West Chestnut Drive",
          "addressLocality": "Palo Alto",
          "postalCode": "13478",
          "addressRegion": "CA",
          "addressCountry": "US"
          }
        }
      }
    </script>
  </head>
  <body>
  </body>
</html>

微数据


<html itemscope itemprop="SpecialAnnouncement" itemtype="https://schema.org/SpecialAnnouncement">
<head>
  <title itemprop="name">Example Health Care announces COVID-19 testing facility</title>
</head>
<body>
  <p itemprop="datePosted" content="2020-03-17T08:00">March 17, 2020</p>
  <meta itemprop="expires" content="2020-03-30T08:00" />
  <p itemprop="text">Example Health Care's same-day primary care program is offering drive-through testing, by appointment, for SARS-CoV-2, the coronavirus that causes COVID-19.</p>
  <p itemprop="gettingTestedInfo" content="https://med.example.edu/news/covid-19-testing-facility.html"><a href="https://med.example.edu/news/covid-19-testing-facility.html">Learn more</a>.</p>
  <meta itemprop="category" content="https://www.wikidata.org/wiki/Q81068910" />
  <div itemprop="announcementLocation" itemtype="http://schema.org/CivicStructure" itemscope>
    <meta itemprop="name" content="Example Health Care" />
    <meta itemprop="url" content="https://examplehealthcare.org/" />
    <div itemprop="address" itemtype="http://schema.org/PostalAddress" itemscope>
      <meta itemprop="streetAddress" content="123 West Chestnut Drive" />
      <meta itemprop="addressLocality" content="Palo Alto" />
      <meta itemprop="postalCode" content="13478" />
      <meta itemprop="addressRegion" content="CA" />
      <meta itemprop="addressCountry" content="US" />
    </div>
  </div>
</body>
</html>

指南

如需使您的内容能够在 Google 搜索上以特别通知的形式显示,您的内容必须遵循以下指南。

结构化数据类型定义

为了使您的内容能够在 Google 搜索上显示为特别通知,您必须为其添加必要属性。如果您掌握了其他信息,我们推荐您同时添加建议属性。

SpecialAnnouncement

如需了解 SpecialAnnouncement 的完整定义,请访问 schema.org。SpecialAnnouncement 在 Schema.org 上仍处于开发阶段,但您还是可以开始使用这项属性。

必要属性
datePosted

DateTime

COVID-19 通知的发布日期,采用 ISO-8601 格式

name

Text

COVID-19 通知的简短标题。例如 "Stanford announces COVID-19 testing facility"

text,或指向更多信息的具体属性

您必须添加 text 或以下指向通知详情的属性之一,具体取决于通知主题:

建议属性
announcementLocation

LocalBusinessCivicStructure

SpecialAnnouncement 有关的特定地点。例如,开放时间比较特殊的具体检测机构或企业。对于较大的地理区域(如隔离整个区域),我们建议您使用 spatialCoverage

announcementLocation.address

PostalAddress

通知重点关注的详细街道地址。

announcementLocation.name

Text

通知重点关注的地点的名称,如检测机构的名称。

announcementLocation.url

URL

可供用户详细了解通知地点的网址,如检测机构的网址,说明了实际地点、开放时间以及哪些人符合检测条件。

category

URL

描述特别通知所属类别的网址。请将类别设置为 COVID-19 的维基百科页面:https://www.wikidata.org/wiki/Q81068910

diseasePreventionInfo

URLWebContent

疾病预防信息(如适用于相应通知)。

diseaseSpreadStatistics

URLWebContentDatasetObservation

与疾病传播情况相关的统计信息(如适用于相应通知),可以是 WebContent,或直接以 Dataset 描述,或作为数据集内的特定 Observation 描述。如果提供了 WebContent 网址,则所指明的网页还可能包含更多标记。

expires

DateTime

内容失效日期,采用 ISO-8601 格式;在此日期之后,内容不再有用或不再提供。 如果您不知道内容何时失效,请勿添加此属性。

gettingTestedInfo

URLWebContent

针对 MedicalCondition 接受 COVID-19 检测的相关信息(如适用于相应通知)。

governmentBenefitsInfo

GovernmentService

与 COVID-19 相关的新政府福利信息(如适用于相应通知)。如果您添加了 governmentBenefitsInfo,则必须添加以下属性:

有关这些属性的工作原理的完整示例,请参阅政府福利通知示例

governmentBenefitsInfo.audience

Audience

有资格享受政府福利的受众群体。例如,如果政府福利适用于小型企业:


{
  "@context": "https://schema.org",
  "@type": "SpecialAnnouncement",
  "governmentBenefitsInfo" : {
    "@type": "GovernmentService",
    "audience": {
        "@type": "Audience",
        "name": "Small businesses"
     }
  }
}
governmentBenefitsInfo.audience.name

Text

有资格享受政府福利的受众群体的名称。例如,如果政府福利适用于小型企业:


{
  "@context": "https://schema.org",
  "@type": "SpecialAnnouncement",
  "governmentBenefitsInfo" : {
    "@type": "GovernmentService",
    "audience": {
        "@type": "Audience",
        "name": "Small businesses"
     }
  }
}
governmentBenefitsInfo.name

Text

政府福利的名称。例如:"Paycheck Protection Program"

governmentBenefitsInfo.provider

GovernmentOrganization

提供福利的政府机构。例如:


{
  "@context": "https://schema.org",
  "@type": "SpecialAnnouncement",
  "governmentBenefitsInfo" : {
    "@type": "GovernmentService",
    "provider": {
        "@type": "GovernmentOrganization",
        "name": "US Small Business Administration"
     }
  }
}
governmentBenefitsInfo.provider.name

Text

提供福利的政府机构的名称。例如:


{
  "@context": "https://schema.org",
  "@type": "SpecialAnnouncement",
  "governmentBenefitsInfo" : {
    "@type": "GovernmentService",
    "provider": {
        "@type": "GovernmentOrganization",
        "name": "US Small Business Administration"
     }
  }
}
governmentBenefitsInfo.serviceType

GovernmentBenefitsType

为了应对 COVID-19 而发放的政府福利类型。请使用下列其中一种属性:

governmentBenefitsInfo.url

URL

政府福利的详情网址。

newsUpdatesAndGuidelines

URLWebContent

包含最新 COVID-19 新闻资讯和指南的网页(如适用于相应通知)。它可以是网站上包含 SpecialAnnouncement 标记的主页面,但不作强制要求。

publicTransportClosuresInfo

URLWebContent

COVID-19 公共交通停运信息(如适用于相应通知)。

quarantineGuidelines

URLWebContent

COVID-19 隔离指南(如适用于相应通知)。

schoolClosuresInfo

URLWebContent

COVID-19 学校停课信息(如适用于相应通知)。

spatialCoverage

Place

特别通知重点关注的地理区域(如适用)。例如,通知内容可能是会影响多个区域的居家避疫指令。 如果通知会同时影响某个区域和某个特定地点(如关闭服务于整个区域的图书馆),请同时使用 spatialCoverageannouncementLocation

text

Text

COVID-19 通知的文字摘要,可以包含链接和列表等 HTML 内容。有效的 HTML 标记包括:<h1><h6><br><ol><ul><li><a><p><div><b><strong><i><em>

例如:"Stanford Health Care's same-day primary care program is offering drive-through testing, by appointment, for SARS-CoV-2, the coronavirus that causes COVID-19."

travelBans

URLWebContent

COVID-19 旅行禁令信息(如适用于相应通知)。

帮助和支持

加入我们的技术支持论坛:除了以下最佳做法之外,发布 COVID-19 信息的国家卫生部和美国州级机构也可以加入我们的新技术支持论坛。如果您在自己的网站上遇到了 Google 搜索问题,该论坛可以帮忙解答。如需请求访问该技术支持论坛,请填写此表单

注册

使用 Search Console 监控富媒体搜索结果

Search Console 是一款工具,可帮助您监控网页在 Google 搜索结果中的显示效果。即使没有注册 Search Console,您的网页也可能会显示在 Google 搜索结果中,但注册 Search Console 能够帮助您了解 Google 如何查看您的网站并做出相应的改进。建议您在以下情况下查看 Search Console:

  1. 首次部署结构化数据后
  2. 发布新模板或更新代码后
  3. 定期分析流量时

首次部署结构化数据后

等 Google 将网页编入索引后,请在相关的富媒体搜索结果状态报告中查看是否存在问题。 理想情况下,您应该会看到有效网页数增加了,但错误数或警告数没有增加。如果您发现结构化数据存在问题,请执行以下操作:

  1. 修正错误
  2. 检查实际网址,核实问题是否仍然存在。
  3. 使用状态报告请求验证

发布新模板或更新代码后

对网站进行重大更改后,请监控结构化数据的错误数和警告数是否增加了。
  • 如果您发现错误增多了,可能是因为您推出的某个新模板无法正常工作,或者您的网站以一种新的错误方式与现有模板交互。
  • 如果您发现有效内容项减少了(但错误数的增加情况并不对应),可能是因为您的网页中未再嵌入结构化数据。请通过网址检查工具了解导致此问题的原因。

定期分析流量时

请使用效果报告分析您的 Google 搜索流量。数据将显示您的网页在 Google 搜索结果中显示为富媒体搜索结果的频率、用户点击该网页的频率以及网页在搜索结果中的平均排名。您还可以使用 Search Console API 自动提取这些结果。

问题排查

如果您在实施结构化数据时遇到问题,请查看下面列出的一些实用资源。