This article is also available in:
Rich Snippets Support

In order to show the star rating in Google organic search results you need to add the below code to your product page(s).

Code required to support rich snippets:
<span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<meta itemprop="ratingValue" content="RATING_VALUE" />
<meta itemprop="reviewCount" content="REVIEW_COUNT" />
</span>


"RATING_VALUE" should be the "average_ratings" value provided by using the review_summary API call
"REVIEW_COUNT" should be the "total_reviews" value provided by using the review_summary API call
Was this article helpful?
Cancel
Thank you!