Skip to content
RankThat

Review snippets

Review snippets are the star ratings and review counts Google can show under a search result, such as "4.7 stars, 212 reviews". They come from Review or AggregateRating structured data, and only some page types are eligible.

By , co-founder of RankThat

Updated · How we write and check

A review snippet is a rich result that adds a star rating, and often a review count or reviewer name, to a search listing. Google’s review snippet documentation describes it as a short excerpt of a review or rating, often an average of many reviewers’ scores. It’s generated from Review or AggregateRating structured data nested inside the thing being reviewed.

Stars catch the eye on a page of plain listings, which is why everyone wants them. The rules on who can have them are stricter than most people expect.

Which pages can show stars

Review snippets are supported for a specific list of types, including:

  • Product (the most common use, on ecommerce product pages)
  • Recipe, Book, Movie, Course, Event
  • SoftwareApplication
  • LocalBusiness and Organization, only for sites that collect reviews of other businesses

That last point is the one that catches local businesses.

The self-serving review rule

Google’s guidelines say that if the business being reviewed controls the reviews about itself, its pages using LocalBusiness or other Organization markup aren’t eligible for star review snippets. That includes reviews shown through an embedded third-party widget.

In practice:

Situation Eligible for stars?
Coastline Plumbing marks up testimonials on its own homepage as Plumber with aggregateRating No, self-serving
Coastline Plumbing embeds a review widget and marks that up No, still self-serving
A directory site that reviews many local plumbers marks up its listing pages Yes, if the other rules are met
Bean & Barrel Coffee marks up customer reviews on a product page Yes, Product is supported

A local business’s stars in Google come from its Google Business Profile reviews, shown in Maps and the local pack. Those don’t need markup. Getting more of them is covered in how to get more Google reviews.

The other rules

  • Visible on the page. The rating and review text you mark up must be readily visible to visitors.
  • One specific item. Reviews must be about a single product or thing, not a category page or a list of items.
  • Don’t import ratings from other sites. Aggregating reviews from Google, Yelp or Amazon into your markup isn’t allowed.
  • No fake or undisclosed incentivized reviews.
  • Include an aggregate rating if you mark up individual reviews.

Required properties are short. For AggregateRating: ratingValue plus ratingCount or reviewCount. For a single Review: author, reviewRating and ratingValue, nested in the item being reviewed.

Example

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Colombia Huila Whole Bean, 1 kg",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.7",
    "reviewCount": "38"
  }
}

This sits inside the full Product markup on Bean & Barrel Coffee’s product page, where the same 4.7 average and 38 reviews are shown to shoppers. Most WooCommerce setups output this automatically once product reviews are switched on.

Common mistakes

  • Adding aggregateRating to a service business’s own pages and waiting for stars that will never come.
  • Hard-coding a rating that doesn’t match the reviews on the page.
  • Putting a site-wide rating on every page.
  • Marking up a category page with an average across all its products.

How to check

Test a product URL in Google’s Rich Results Test, which reports whether a review snippet is detected and which properties are missing. Search Console’s review snippet and product reports show errors site-wide. RankThat’s Site Audit flags invalid JSON-LD and, on stores, product pages missing product data or reviews. Stars can lift click-through rate, but only when the markup follows the rules above.

Do this month’s SEO in an afternoon.