组织 (Organization) 结构化数据

Google 搜索结果中的商家知识面板

您可以使用组织结构化数据让 Google 了解贵组织的管理详情,例如徽标、地址、联系信息和商家 ID。Google 可以在知识面板和其他视觉元素(如来源/出处)中使用此标记,帮助用户更轻松地在 Google 搜索上找到贵组织的详细信息。

How to add structured data

Structured data is a standardized format for providing information about a page and classifying the page content. If you're new to structured data, you can learn more about how structured data works.

Here's an overview of how to build, test, and release structured data.

  1. Add as many recommended properties that apply to your web page. There are no required properties; instead, add the properties that apply to your content. Based on the format you're using, learn where to insert structured data on the page.
  2. Follow the guidelines.
  3. Validate your code using the Rich Results Test and fix any critical errors. Consider also fixing any non-critical issues that may be flagged in the tool, as they can help improve the quality of your structured data (however, this isn't necessary to be eligible for rich results).
  4. Deploy a few pages that include your structured data and use the URL Inspection tool to test how Google sees the page. Be sure that your page is accessible to Google and not blocked by a robots.txt file, the noindex tag, or login requirements. If the page looks okay, you can ask Google to recrawl your URLs.
  5. To keep Google informed of future changes, we recommend that you submit a sitemap. You can automate this with the Search Console Sitemap API.

示例

下面是一个 JSON-LD 代码格式的组织信息示例。


<html>
  <head>
    <title>About Us</title>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Organization",
      "image": "https://www.example.com/example_image.jpg",
      "url": "https://www.example.com",
      "sameAs": ["https://example.net/profile/example1234", "https://example.org/example1234"],
      "logo": "https://www.example.com/images/logo.png",
      "name": "Example Corporation",
      "description": "The example corporation is well-known for producing high-quality widgets",
      "email": "contact@example.com",
      "telephone": "+47-99-999-9999",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "Rue Improbable 99",
        "addressLocality": "Paris",
        "addressCountry": "FR",
        "addressRegion": "Ile-de-France",
        "postalCode": "75001"
      },
      "vatID": "FR12345678901",
      "iso6523Code": "0199:724500PMK2A2M1SQQ228"
    }
    </script>
  </head>
  <body>
  </body>
</html>

指南

要使您的结构化数据能够显示在 Google 搜索结果中,您必须遵循以下指南。

技术指南

我们建议您将此信息放在首页或描述贵组织的单个页面中,例如“关于我们”页面。您无需在网站的每个网页中添加此标记。

我们建议您使用与贵组织相符的最具体 schema.org 子类型 Organization。例如,如果您拥有电子商务网站,我们建议您使用 OnlineStore 子类型,而不是 OnlineBusiness。如果您的网站是关于本地商家(例如餐厅或实体店),建议您使用最具体的 LocalBusiness 子类型提供组织管理详情;除了本指南中建议的字段外,也请遵守面向本地商家的必需和建议字段规定。

结构化数据类型定义

Google 可识别 Organization 的以下属性。为了帮助 Google 更好地了解您的网页,请添加尽可能多的适用于该网页的建议属性。没有必需添加的属性,按需添加适用于贵组织的属性即可。

建议的属性
name

Text

您的组织的名称。请使用与网站名称相同的 namealternateName

.
alternateName

Text

贵组织使用的另一个常用名称(如果适用)。

legalName

Text

Organization 的法定注册名称(如果适用),并且与 name 属性不同。

description

Text

对贵组织的详细说明(如果适用)。

logo

URLImageObject

可代表贵组织的徽标(如果适用)。添加此属性有助于 Google 更好地了解您要显示哪个徽标,例如在搜索结果和知识面板中显示此徽标。

图片准则:

  • 图片必须至少为 112x112 像素。
  • 图片网址必须可抓取且可编入索引。
  • 图片必须采用受 Google 图片支持的文件格式。
  • 确保图片在纯白背景下具有预期的显示效果(例如,如果徽标基本为白色或灰色,那么在白色背景中显示徽标时,效果可能不符合预期)。

如果您使用 ImageObject 类型,请确保它具有有效的 contentUrl 属性或 url 属性,并且与 URL 类型遵循相同的指南。

url

URL

贵组织的网站网址(如果适用)。这有助于 Google 唯一性识别您的组织。

sameAs

URL

另一网站中包含贵组织其他相关信息的网页的网址(如果适用)。例如,社交媒体或评价网站中的贵组织资料页面的网址。您可以提供多个 sameAs 网址。

telephone

Text

商家电话号码应该是面向客户的主要联系方式(如果适用)。 请务必在电话号码中包含国家/地区代码和区号。

email

Text

用于联系贵商家的电子邮件地址(如果适用)。

address

PostalAddress

贵组织的实际地址或邮寄地址(如果适用)。请添加适用于您所在国家/地区的所有属性。提供的属性越多,搜索结果对用户来说就质量越高。如果贵组织在多个城市、省级行政区或国家/地区都有分支地点,可以提供多个地址。 例如:

"address": [{
  "@type": "PostalAddress",
  "streetAddress": "999 W Example St Suite 99 Unit 9",
  "addressLocality": "New York",
  "addressRegion": "NY",
  "postalCode": "10019",
  "addressCountry": "US"
},{
  "streetAddress": "999 Rue due exemple",
  "addressLocality": "Paris",
  "postalCode": "75001",
  "addressCountry": "FR"
}]
address.streetAddress

Text

贵组织邮政地址的完整街道地址。

address.addressLocality

Text

贵组织邮政地址所属的城市。

address.addressRegion

Text

贵组织邮政地址所属的区域(如果适用)。例如,省级行政区。

address.postalCode

Text

贵组织所在地址的邮政编码。

address.addressCountry

Text

贵组织邮政地址所属的国家/地区,使用两个字母组成的 ISO 3166-1 alpha-2 国家/地区代码

contactPoint

ContactPoint

用户联系贵商家的最佳方式(如果适用)。按照 Google 推荐的最佳实践添加用户可用的所有支持方法。例如:

"contactPoint": {
  "@type": "ContactPoint",
  "telephone": "+9-999-999-9999",
  "email": "contact@example.com"
}
contactPoint.telephone

Text

用于联系贵商家的电话号码(如果适用)。 请务必在电话号码中包含国家/地区代码和区号。 如果您使用的是 LocalBusiness 类型,请先在 LocalBusiness 级别指定主要电话号码,然后再使用 contactPoint 指定多种与贵组织联系的方式。

contactPoint.email

Text

用于联系贵商家的电子邮件地址(如果适用)。 如果您使用的是 LocalBusiness 类型,请先在 LocalBusiness 级别指定主电子邮件地址,然后再使用 contactPoint 指定多种与贵组织联系的方式。

numberOfEmployees

QuantitativeValue

Organization 的员工人数(如果适用)。

包含特定员工人数的示例:

"numberOfEmployees": {
  "@type": "QuantitativeValue",
  "value": 2056
  }
    

包含特定范围内员工人数的示例:

"numberOfEmployees": {
  "@type": "QuantitativeValue",
  "minValue": 100,
  "maxValue": 999
} 

foundingDate

Date

Organization 的创立日期,采用 ISO 8601 日期格式(如果适用)。

iso6523Code

Text

贵组织的 ISO 6523 标识符(如果适用)。ISO 6523 标识符的第一部分是 ICD(国际代码标识符),用于定义使用哪种标识方案。第二部分是实际标识符。我们建议使用英文冒号字符 (U+003A) 分隔 ICD 和标识符。常见的 ICD 值包括:

  • 0060:邓白氏数据通用编码系统 (DUNS)
  • 0088:GS1 全球位置编号 (GLN)
  • 0199:法律实体标识符 (LEI)
duns

Text

用于标识您的 Organization 的邓白氏编码(如果适用)。我们建议改用前缀为 0060:iso6523Code 字段。

leiCode

Text

ISO 17442 中定义的 Organization 的标识符(如果适用)。我们建议改用前缀为 0199:iso6523Code 字段。

naics

Text

Organization北美行业分类系统 (NAICS) 代码(如果适用)。

globalLocationNumber

Text

用于标识您的 Organization 位置的 GS1 全球位置编码(如果适用)。

vatID

Text

与您的 Organization 关联的增值税 (VAT) 号(如果适用于您所在的国家/地区和贵商家)。这对用户而言是一个重要的信任信号,举例来说,用户可借此在公开的增值税登记数据库中查询贵商家。

taxID

Text

与您的 Organization 相关联的税号(如果适用)。请确保 taxID 与您在 address 字段中提供的国家/地区一致。

问题排查

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

  • 如果您使用了内容管理系统 (CMS) 或其他人负责管理您的网站,请向其寻求帮助。请务必向其转发列明问题细节的任何 Search Console 消息。
  • Google 不能保证使用结构化数据的功能一定会显示在搜索结果中。如需查看导致 Google 无法将您的内容显示为富媒体搜索结果的各种常见原因,请参阅结构化数据常规指南
  • 您的结构化数据可能存在错误。请参阅结构化数据错误列表
  • 如果您的网页受到结构化数据手动操作的影响,其中的结构化数据将会被忽略(但该网页仍可能会出现在 Google 搜索结果中)。如需修正结构化数据问题,请使用“人工处置措施”报告
  • 再次查看相关指南,确认您的内容是否未遵循指南。问题可能是因为出现垃圾内容或使用垃圾标记导致的。不过,问题可能不是语法问题,因此富媒体搜索结果测试无法识别这些问题。
  • 针对富媒体搜索结果缺失/富媒体搜索结果总数下降进行问题排查
  • 请等待一段时间,以便 Google 重新抓取您的网页并重新将其编入索引。请注意,网页发布后,Google 可能需要几天时间才会找到和抓取该网页。有关抓取和索引编制的常见问题,请参阅 Google 搜索抓取和索引编制常见问题解答
  • Google 搜索中心论坛中发帖提问。