【问题标题】:Aggregate review is missing on Google SERPGoogle SERP 上缺少汇总评论
【发布时间】:2017-04-10 14:42:26
【问题描述】:

最近我失去了在 Google SERP 上的星级评价。我知道原因可能会有所不同,但我会确保我没有在代码上犯错误:

   <div itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating" style="text-align:right;">
         <b><span itemprop="ratingValue">5</span> on 
         <span itemprop="bestRating">5</span> based on <span itemprop="reviewCount">857</span> reviews</b>
   </div> 

Google 可以发布更新吗?

【问题讨论】:

  • 什么是评级?餐厅、产品等?
  • 窗帘、卷帘等产品
  • 这是产品概览页还是单品?

标签: seo schema.org google-rich-snippets


【解决方案1】:

您在主帖中提供的代码sn-p:根据Google SDTT,隔离无效。

评论没有指定评论项目

<div itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating" style="text-align:right;">
  <b><span itemprop="ratingValue">5</span> on 
  <span itemprop="bestRating">5</span> based on <span itemprop="reviewCount">857</span> reviews</b>
</div>

通过添加itemprop="itemreviewed" 解决此问题

<div itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating" style="text-align:right;">
  <h3 itemprop="itemreviewed">Mario Bros service</h3>
  <b><span itemprop="ratingValue">5</span> of 
  <span itemprop="bestRating">5</span> based on <span itemprop="reviewCount">857</span> reviews</b>
</div>

AggregateRating 的实例可能显示为以下属性的值

  • 品牌
  • 创意工作
  • 事件
  • 报价
  • 组织
  • 地点
  • 产品
  • 服务

来源 - http://schema.org/AggregateRating


comments(我已经简化)中的完整 sn-p 正在使用组织架构 http://schema.org/Organization 和用于审核聚合的不同词汇表

<html itemscope itemtype="http://schema.org/Organization">
  <body>
    <div class="review">
      <div itemprop="review" itemscope itemtype="http://data-vocabulary.org/Review-aggregate">
        <img itemprop="rating" src="#" alt="173 recensioni" />
        <span itemprop="count">173 recensioni</span>
      </div>
    </div>
  </body>
</html>

其中有多个错误。


有效的方法是:

使用 data-vocabulary.org

<html itemscope itemtype="http://schema.org/Organization">
  <body>
    <div>
      <h1 itemprop="name">Mario Bros</h1>
      <div itemscope itemtype="http://data-vocabulary.org/Review-aggregate">
        <h3 itemprop="itemreviewed">Mario Bros service</h3>
        <p>
          <span itemprop="rating" itemscope itemtype="http://data-vocabulary.org/Rating">
            <em itemprop="average">5</em> out of <em itemprop="best"> 5 </em>
          </span>
          <b>based on</b>
          <!-- How many people rated this item? -->
          <em itemprop="votes">173</em> ratings.
        </p>
        <p>
          <!-- How many people reviewed this item? -->
          <em itemprop="count">45 </em> user reviews.
        </p>
      </div>
    </div>
   </body>
</html>

使用 schema.org

<html itemscope itemtype="http://schema.org/Organization">
  <body>
    <div>
      <h1 itemprop="name">Mario Bros</h1>
        <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
          <em itemprop="ratingValue">5</em> out of <em itemprop="bestRating">5</em> based on <em itemprop="ratingCount">24</em> user ratings.
        </div>
    </div>
   </body>
</html>

您在 cmets 中也提到它们是产品:

窗帘、卷帘等产品

这是Google's example from the Products data type

<div itemscope itemtype="http://schema.org/Product">
  <img itemprop="image" src="dell-30in-lcd.jpg" />
  <span itemprop="name">Dell UltraSharp 30" LCD Monitor</span>
  <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
    <span itemprop="ratingValue">87</span>
    out of <span itemprop="bestRating">100</span>
    based on <span itemprop="ratingCount">24</span> user ratings
  </div>
</div>

根据您的标准修改为:

<html itemscope itemtype="http://schema.org/Organization">
  <body>
    <div>
      <h1 itemprop="name">Mario Bros</h1>
        <div itemscope itemtype="http://schema.org/Product">
          <img itemprop="image" src="curtains.jpg" />
          <span itemprop="name">Acme brand Curtains</span>   
          <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
            <em itemprop="ratingValue">5</em> out of <em itemprop="bestRating">5</em> based on <em itemprop="ratingCount">173</em> reviews.
          </div>
        </div>
    </div>
   </body>
</html>

进一步增强:

<html itemscope itemtype="http://schema.org/Organization">
  <body>
    <div>
      <h1 itemprop="name">Mario Bros</h1>
        <div itemscope itemtype="http://schema.org/Product">
          <span itemprop="brand">Acme brand</span>
          <img itemprop="image" src="curtains.jpg" />
          <span itemprop="name">Acme brand Curtains</span>   
          <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
            <em itemprop="ratingValue">5</em> out of <em itemprop="bestRating">5</em> based on <em itemprop="ratingCount">173</em> reviews.
          </div>
          <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
            <!--price is 1000, a number, with locale-specific thousands separator and decimal mark, and the € character is marked up with the machine-readable code "EUR" -->
            <span itemprop="priceCurrency" content="EUR">€</span>
            <span itemprop="price" content="1000.00">1,000.00</span>
            <link itemprop="availability" href="http://schema.org/InStock" />
            <span>In stock</span>
          </div>              
        </div>
    </div>
   </body>
</html>

【讨论】:

  • 感谢您的建议。我的 AggregateReview 是“组织”的一部分。 schema.org/Organization" dir="ltr" lang="it">..etc...
  • @mariobros 这段代码是你写的,还是正在生成的?
  • 分类页面也一样?
  • @mariobros 对于产品列表,是的。
猜你喜欢
  • 1970-01-01
  • 2012-06-19
  • 1970-01-01
  • 2017-04-28
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-12-25
  • 2011-11-07
相关资源
最近更新 更多