Schema 是什么以及为什么它对 SEO 至关重要

在读一篇 Shopify SEO 博客文章时,其中提到 Schema,它的含义是结构化数据。对 Google 而言,结构化数据非常重要。

如果你有结构化数据,那么在 Google 搜索时,它呈现给消费者的数据可能如下图所示:包含评分(4.9)、参与投票的人数(131 人),价格 69.95 美元,状态为可售(In stock)。这样丰富的信息就能让消费者判断是否值得点击这个商品链接查看。

我们以 allbirds 为例(一家使用 Shopify Plus 管理店铺的上市公司),看看 Schema 的实际应用。

示例:allbirds 商品页面

我们随机从 allbirds 首页选择了一个商品:

Men's Tree Dashers – Thunder (White Sole)

打开页面,查看页面源代码,搜索 schema 这个关键字,会看到如下一段代码(优化过有删减):

{
  "@context": "http://schema.org/",
  "@type": "Product",
  "name": "Men's Tree Dashers - Thunder (White Sole)",
  "image": [
    "//cdn.shopify.com/s/files/befc6f7dd60a_100x100.png"
  ],
  "description": "<p>Designed with natural materials, the Tree Dasher delivers the stability, support, and durability to perform naturally.</p>",
  "brand": {
    "@type": "Thing",
    "name": "Allbirds"
  },
  "offers": {
    "@type": "Offer",
    "priceCurrency": "USD",
    "price": "99.00",
    "itemCondition": "https://schema.org/NewCondition"
  }
}

这里包含的信息是:这是一个商品页面,并列出了它的标题、描述、品牌、价格等信息 — 以结构化、搜索引擎方便理解的形式。

常见的 Schema 内容

对一个店铺而言,有几种 Schema 内容很常见:

https://schema.org/Product

用于描述一个商品页面。

https://schema.org/AggregateRating

用于描述消费者打分。Aggregate Rating 是总体评价的含义,也就是 Google 搜索中黄色五星的来源。

我们可以用 Google 提供的工具测试一个页面的 Schema 内容是否正确:

https://search.google.com/test/rich-results

用文章开头的 allbirds 商品为例去测试,会发现 Google 提示以下警告,说页面缺乏以下内容:

  • Missing field “aggregateRating” (optional) – 解决这个问题
  • Missing field “review” (optional)
  • Missing field “sku” (optional)
  • Invalid object type for field “brand” (optional)
  • No global identifier provided (e.g., gtin, mpn, isbn) (optional)
  • Missing field “priceValidUntil” (optional)
  • Missing field “availability” (optional)
  • Missing field “url” (optional)

注意到这些警告都是一些可选信息(optional),而非必须提供。

Shopify 所有免费主题 — 包括我们推荐使用的 Theme OS 2.0 Dawn 主题 — 都能生成 Schema 结构化数据;但如果使用第三方主题,则需要检查其支持情况 — 查看页面源代码,搜索 schema.org 关键字即可查看。

参考

京ICP备12052177号-1