support@schemaclinic.com Free JSON-LD checker Free schema generator Shopify App Store
Schema guide

Review and AggregateRating schema on Shopify

Star ratings under a product in Google come from Review and AggregateRating markup. On Shopify that markup almost always comes from a review app. Here is how it works, what Google allows, and what goes wrong.

Short answer: review stars in Google come from AggregateRating (the average and count) and Review (individual reviews) nested inside your Product schema. On Shopify a review app usually supplies them. Google requires the ratings to be visible on the page, collected from real customers on your own site, and attached to a specific product. Ratings about your business as a whole, marked up on your own site, are self-serving and not eligible for stars.

AggregateRating and Review: what each one is

AggregateRating sums up all reviews of a product: the average score and how many ratings or reviews there are. Review is one customer's review, with an author, a rating and usually a date and text. Both normally sit inside the Product block:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Blue Linen Shirt",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.6",
    "reviewCount": "38"
  },
  "review": [{
    "@type": "Review",
    "author": { "@type": "Person", "name": "Sam" },
    "datePublished": "2026-10-02",
    "reviewRating": { "@type": "Rating", "ratingValue": "5" },
    "reviewBody": "Lovely fabric, true to size."
  }]
}

Google's review snippet documentation requires ratingValue and either ratingCount or reviewCount for AggregateRating, and an author and reviewRating for each Review. bestRating and worstRating are recommended if your scale is not 1 to 5.

Google's rules for review stars

  • Visible on the page. Shoppers must be able to see the reviews and the aggregate rating on the same page as the markup.
  • A specific item. Ratings must be about one product, not a category or a list of products. A collection page should not carry ratings.
  • Collected on your site. Google says not to aggregate reviews or ratings from other websites.
  • Include the aggregate. If you mark up several individual reviews, include an AggregateRating too.

Self-serving reviews: why your shop rating will not show stars

Since 2019 Google has treated reviews of a business published by that business as self-serving. Its documentation says LocalBusiness and Organization markup is not eligible for star review snippets when the entity being reviewed controls the reviews about itself, including reviews embedded from a third-party widget such as Google or Facebook reviews.

For a Shopify store this means:

  • Product ratings from your customers, on your product pages: eligible.
  • A "rated 4.8 by our customers" store rating marked up as AggregateRating on your Organization: not eligible for stars. Display it if you like, but do not expect stars from the markup.

Merchant ratings in Shopping are different. The store ratings Google sometimes shows in shopping results come from Google's own sources and programmes, not from schema on your site.

The aggregate rating schema Shopify review apps add

Shopify's themes do not output reviews by themselves. Review apps such as Judge.me, Okendo, Yotpo or Loox collect reviews and show them on product pages, and most offer some way of adding rating markup. How they do it varies:

  • A separate Product block containing just the rating. This gives Google two Product items per page, one from the theme and one from the app.
  • Injecting with JavaScript after the page loads. Google can read it, but rendering can be slower and less reliable.
  • Metafields that the theme, or a schema app, reads to put the rating into the main Product block. This is the cleanest result: one Product block with the rating inside.

Check your review app's documentation for its schema settings, then test a product with reviews in the Rich Results Test. If you see two Product items, see duplicate Product schema.

Common review schema errors on Shopify

  • A rating of 0 with a count of 0 on products without reviews. Leave the aggregateRating out until a product has reviews.
  • Ratings in the markup but not on the page, for example when the review widget is hidden on mobile or loads in a tab Google cannot see.
  • Ratings on collection pages or the home page, which Google will not use.
  • Missing offers, review or aggregateRating on a Product: Google needs at least one of the three. See "Either offers, review or aggregateRating should be specified".
  • Imported reviews from other sites, which Google's rules exclude.

Product ratings in Google Shopping

Star ratings in Google's shopping results do not come only from the markup on your pages. Google Merchant Center has a product ratings programme that takes review data through approved review aggregators or a feed, matched to your products by identifiers such as GTIN. Some Shopify review apps can send reviews to Google this way; check your app's documentation.

Markup and the feed work together. Markup on the product page supports review snippets in normal search results; the Merchant Center programme supports ratings across Google's shopping surfaces. Accurate GTINs, brands and SKUs in your Product schema and product data help Google match reviews to the right product.

How to check your review markup

  1. Pick a product with several reviews and one with none.
  2. Run both through the Rich Results Test. The reviewed product should show one Product item with an aggregate rating; the unreviewed one should show no rating at all.
  3. Count the Product items. More than one means the review app and the theme are both outputting Product.
  4. Compare the rating and count in the markup with what the widget shows on screen. They should match.
  5. Check the Product snippets report in Search Console for review-related errors across the store.

Stars are not guaranteed

Valid markup makes a product eligible for review stars. Google decides whether to show them, and they come and go. If the markup tests clean and Search Console's Product snippets report shows the pages as valid, there is nothing more the markup can do.

Where Schema Clinic helps

Schema Clinic's audit validates the aggregateRating and review fields in your Product schema, flags products with neither offers, reviews nor ratings, and shows duplicate Product blocks with the source of each, which is the usual sign of a review app adding its own block. On Pro, its Product generator includes aggregateRating where review data exists, inside the one Product block. It does not create Review markup of its own or collect reviews; that stays with your review app. See features.

Questions people ask

Why are my review stars not showing in Google?
Check that the rating is in valid markup inside the Product, visible on the page, and not duplicated. Even then Google decides whether to show stars, and new reviews can take time to appear.
Can I show star ratings for my whole shop in Google?
Not through your own markup. Google treats Organization or LocalBusiness ratings published on your own site as self-serving and does not show stars for them.
Do I need individual Review markup or just AggregateRating?
AggregateRating alone is enough for stars. Individual Reviews are optional; if you include them, include an AggregateRating as well.
Can I import Amazon or Google reviews and mark them up?
Google says not to aggregate reviews from other websites in your markup. Show them if you like, but do not include them in your review schema.
Should products with no reviews have aggregateRating?
No. Leave it out until there is at least one review. A rating of zero from zero reviews is invalid.

See what Google sees on your store

Run an audit in minutes. Every schema block, every error and duplicate, with its source.

Install Schema Clinic