Google Rich Snippets (Schema.org) ratings not working

I tried to place a small piece of code and tested it in the Google Structured Data Testing tool, but no bright fragments appeared.

Here is a screenshot of what I mean:

review rich snippet in google search results

And here is the piece of code that I used that I took directly from Schema.org:

<div itemscope itemtype="http://schema.org/Product">
    <span itemprop="name">Product name</span>
    <div itemprop="aggregateRating"
            itemscope itemtype="http://schema.org/AggregateRating">
        Rated <span itemprop="ratingValue">5</span>/5
    </div>
</div>

Any ideas why it didn't appear in the testing tool?

Thanks Baggio

+4
source share
1 answer

For aggregate review ratings, as opposed to one review, you must indicate the total number of reviews, of which ratingValuethe average is using reviewCount. Using your code as a base:

<div itemscope itemtype="http://schema.org/Product">
<span itemprop="name">Product name</span>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
   Rated <span itemprop="ratingValue">5</span>/5
   Based on <span itemprop="reviewCount">100</span> reviews
</div>
</div>

Based on <span itemprop="reviewCount">100</span> reviews

. 1 , count Google. ( ).

+5

All Articles