I'm trying to impliment the "Review ratings" schema on my Google listings.
My "total score" structure is as follows:
<div class="span7" itemscope itemtype="http://schema.org/Place">
<div class="stars" onclick="document.location.href='http://www.chambresdhotes.org/cgi-bin/links/review.cgi?ID=65995'" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span class="badge badge-success">5 avis</span>
<meta itemprop="bestRating" content="10" />
<meta itemprop="worstRating" content="8" />
<meta itemprop="ratingValue" content="9.2" />
<meta itemprop="ratingCount" content="5" />
</div>
</div>
Then, for each of the reviews on that page - I also have:
<div class="reviewBox" itemscope itemtype="http://schema.org/Review">
<meta itemprop="author" content="Patrice" />
<meta itemprop="itemreviewed" content="Les Collinades" />
<div class="reviewRating" itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<span class="link-rating"><span class="rating-5"></span></span>
<meta itemprop="bestRating" content="5" />
<meta itemprop="ratingValue" content="5" />
</div>
</div>
This all shows up OK when doing a schema check on the Google tool here:
The "overall" ranking / number of reviews etc:
...and then the individual review scores:
However, when you go here its wrong:
I'm a bit baffled as to why its doing this. What am I missing?
Thanks!
It looks like you've filled out bestRating
and worstRating
with the best and worst ratings your business has received. However, these are intended to be used to define the best possible and worst possible ratings.
Going from your example, I assume your customers can rate your business on a scale of 1 to 10. As such, bestRating
would have to be 10
and worstRating
would have to be 1
.
You then have to calculate the average overall rating yourself, and put that under ratingValue