雇主总体评分 (EmployerAggregateRating) 结构化数据

如果您的网站发布由用户给出的招聘单位评分,请向网站中添加 EmployerAggregateRating 结构化数据。EmployerAggregateRating 是对招聘单位进行的一项评估,其中汇总了众多用户的意见。添加 EmployerAggregateRating 不仅可以为求职者提供招聘单位评分,有助于他们选择工作,而且还能让品牌醒目地显示在 Google 招聘信息丰富搜索结果中。

搜索结果中的雇主评分示例

示例

下面是一个使用 JSON-LD 代码的 EmployerAggregateRating 示例。


<html>
  <head>
    <title>World's Best Coffee Shop</title>
    <script type="application/ld+json">
    {
      "@context" : "https://schema.org/",
      "@type": "EmployerAggregateRating",
      "itemReviewed": {
        "@type": "Organization",
        "name" : "World's Best Coffee Shop",
        "sameAs" : "https://example.com"
      },
      "ratingValue": "91",
      "bestRating": "100",
      "worstRating": "1",
      "ratingCount" : "10561"
    }
    </script>
  </head>
  <body>
  </body>
</html>

如何添加结构化数据

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

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

  1. 添加必要属性。根据您使用的格式,了解在网页上的什么位置插入结构化数据
  2. 遵循指南
  3. 使用富媒体搜索结果测试验证您的代码,并修复所有严重错误。此外,您还可以考虑修正该工具中可能会标记的任何非严重问题,因为这些这样有助于提升结构化数据的质量(不过,要使内容能够显示为富媒体搜索结果,并非必须这么做)。
  4. 部署一些包含您的结构化数据的网页,然后使用网址检查工具测试 Google 看到的网页样貌。请确保您的网页可供 Google 访问,不会因 robots.txt 文件、noindex 标记或登录要求而被屏蔽。如果网页看起来没有问题,您可以请求 Google 重新抓取您的网址
  5. 为了让 Google 随时了解日后发生的更改,我们建议您提交站点地图Search Console Sitemap API 可以帮助您自动执行此操作。

指南

您的招聘信息必须遵循以下指南,才能显示在 Google 招聘信息搜索结果中。

技术指南

  • 确保用户可以在您添加了 EmployerAggregateRating 结构化数据的网页中查看评分。必须确保用户能够一目了然地发现网页中包含评分内容。
  • 提供与具体招聘单位(而非类别或内容列表)有关的评分信息。例如,“十大最佳工作场所”和“科技公司”就不是具体招聘单位。
  • 默认情况下,Google 假定您的网站使用的是 5 分制,其中 5 是最高评分,1 是最低评分,但您也可以使用其他任何分制。如果您使用其他分制,则可以指定最高和最低评分,然后 Google 会将其调整为 5 星评分制。

内容指南

  • 用户必须能够在您的网站上发布自己的评分,并且您的网站必须托管这些用户评分。
  • 评分数量必须反映用户给出的实际评分数。
  • 必须根据用户给出的评分准确计算总体评分。

结构化数据类型定义

本部分介绍了与雇主总体评分相关的结构化数据类型。为了让您的内容能够显示在增强的搜索结果中,您必须为其添加必要属性。

如需了解 EmployerAggregateRating 的完整定义,请访问 schema.org/EmployerAggregateRating

Google 支持的属性如下:

必需的属性
itemReviewed

Organization

被评单位。itemReviewed 属性必须指向代表被评公司的 schema.org/Organization。 例如:

{
  "@context" : "https://schema.org/",
  "@type": "EmployerAggregateRating",
  "itemReviewed": {
    "@type": "Organization",
    "name" : "World's Best Coffee Shop",
    "sameAs" : "https://www.worlds-best-coffee-shop.example.com"
  }
}
ratingCount

Number

相应单位在您的网站上获得的评分总数量。至少需要 ratingCountreviewCount 其中之一。

ratingValue

NumberText

相应项的质量评分(以数字表示),可以是数字、分数或百分比(例如,“4”、“60%”或“6/10”)。 Google 了解分数和百分比的分制,因为该分制隐含在分数本身或百分比中。数字的默认分制为 5 分制,1 为最低值,5 为最高值。如需采用其他分制,请使用 bestRatingworstRating

reviewCount

Number

指定给出评价的人数,无论是否附有评分。至少需要 ratingCountreviewCount 其中之一。

建议属性
bestRating

Number

相应评分制中允许的最高值。如果省略 bestRating,系统会假定最高评分为 5 分。

worstRating

Number

相应评分制中允许的最低值。如果省略 worstRating,系统会假定最低评分为 1 分。

Troubleshooting

If you're having trouble implementing or debugging structured data, here are some resources that may help you.

  • If you're using a content management system (CMS) or someone else is taking care of your site, ask them to help you. Make sure to forward any Search Console message that details the issue to them.
  • Google does not guarantee that features that consume structured data will show up in search results. For a list of common reasons why Google may not show your content in a rich result, see the General Structured Data Guidelines.
  • You might have an error in your structured data. Check the list of structured data errors and the Unparsable structured data report.
  • If you received a structured data manual action against your page, the structured data on the page will be ignored (although the page can still appear in Google Search results). To fix structured data issues, use the Manual Actions report.
  • Review the guidelines again to identify if your content isn't compliant with the guidelines. The problem can be caused by either spammy content or spammy markup usage. However, the issue may not be a syntax issue, and so the Rich Results Test won't be able to identify these issues.
  • Troubleshoot missing rich results / drop in total rich results.
  • Allow time for re-crawling and re-indexing. Remember that it may take several days after publishing a page for Google to find and crawl it. For general questions about crawling and indexing, check the Google Search crawling and indexing FAQ.
  • Post a question in the Google Search Central forum.