AggregateRating-schema: zo krijg je Google-reviewsterren op productpagina's
Google haalt reviewsterren uit AggregateRating-markup. Hier lees je de properties, een JSON-LD-voorbeeld, de regels en de test.
Zoek op Google naar je bestseller. Het resultaat van een concurrent toont een rij gouden sterren en een aantal reviews. Dat van jou toont gewone blauwe tekst, terwijl je productpagina honderden reviews heeft. De klant klikt op de sterren.
AggregateRating is the schema.org type Google reads to show review stars. It holds a product's average score and how many people rated it. Google calls the result a review snippet.
In dit artikel
What Google needs before it shows review stars
Google calls these review snippets. When it finds valid rating markup, it may show stars and a count under your result. Note the "may". Google does not promise the stars, even for perfect markup.
The stars come from one schema.org type: AggregateRating. It carries the average score and how many people rated. Individual Review markup is optional. If you include several reviews, Google wants an AggregateRating as well.
| Property | Required? | What it holds |
|---|---|---|
| ratingValue | Required | The average rating, such as 4.6. Use a dot, never a comma. |
| ratingCount or reviewCount | At least one | How many ratings, or how many reviews, the product has on your site |
| itemReviewed | Only when not nested | The product. Leave it out when AggregateRating sits inside Product. |
| bestRating | Recommended | The top of your scale. Google assumes 5 if it is missing. |
| worstRating | Recommended | The bottom of your scale. Google assumes 1 if it is missing. |
An AggregateRating example for a product page
Nest the rating inside your Product markup. Google then knows which product the stars belong to. Here is the shape, for a sample product:
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"name": "Jute Tote Bag",
"image": "https://example.com/images/jute-tote.jpg",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 4.6,
"bestRating": 5,
"reviewCount": 38
},
"offers": {
"@type": "Offer",
"price": 12.76,
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
}
}
</script>The rules that cost stores their stars
- The rating must be visible. A shopper on the page must be able to see the same average.
- One item per rating. Rate a single product. A category page or a list of products does not qualify.
- No ratings from other sites. Google says not to aggregate reviews or ratings from other websites.
- No fake reviews. Reviews written for a reward also need a clear disclosure.
- No self-serving business stars. Reviews you control about your own business are not eligible under LocalBusiness or Organization markup.
The last rule surprises shops. A Google reviews widget on your own homepage will not earn stars for your business. Product pages are a different case. A rating of your own product, collected on your store, can qualify.
Break a rule and Google may take manual action against the site. You fix the problem, then ask Google to reconsider. Our guide to incentivising reviews within the rules covers the disclosure side.
How to test it in the Rich Results Test
From markup to stars
- 01
Open the test
Go to search.google.com/test/rich-results.
- 02
Test the live URL
Paste the product page URL. Use the code tab for a page not live yet.
- 03
Read the result
Open the item for your product. Check the rating fields come through.
- 04
Fix critical errors
Critical errors block eligibility. Warnings are worth fixing but optional.
- 05
Ask for a recrawl
Use URL Inspection in Search Console, then request indexing.
- 06
Monitor
Check Search Console after each new template or review app update.
Test the live URL rather than pasted code where you can. Many review apps add their markup with JavaScript. The live test shows whether Google sees it after rendering. A page blocked by robots.txt, noindex or a login cannot qualify at all.
Allow a few days. Google says it can take several days to find and crawl a changed page.
For a second check, paste the URL into our free review schema validator. It flags missing fields, ratings out of range and self-serving reviews.
Where your review markup comes from
On most stores the review app writes this markup. Check that it nests the rating in Product. Check that the count matches what the page shows. Check that it updates when new reviews land. The wider markup work is in structured data for product UGC. The same fields also feed AI shopping agents.
Questions about AggregateRating
What is AggregateRating schema?
A schema.org type that holds an item's average rating and its number of ratings or reviews. Google reads it to show review stars.
Which AggregateRating properties does Google require?
ratingValue, plus ratingCount or reviewCount. Add itemReviewed unless the rating sits inside the Product markup.
Why are my review stars not showing on Google?
Usual causes: markup errors, a hidden rating, a page Google cannot crawl or a rule breach. Google may also choose not to show them.
Can my homepage show review stars for my business?
Not from reviews you control about yourself. Google excludes those for LocalBusiness and Organization markup.
How do I test AggregateRating markup?
Paste the page URL into Google's Rich Results Test and fix any critical errors. Then use URL Inspection in Search Console.
What does aggregate rating mean?
The average of all the ratings an item has, plus how many there are. A 4.6 from 38 reviews is one aggregate rating.
Is there an AggregateRating schema generator?
Most review apps write the markup for you. You can also copy the JSON-LD example above. Then check it in a validator.
Does valid markup guarantee review stars?
No. Valid markup makes the page eligible. Google may still choose not to show the stars.
Sources
- 1Google Search Central: review snippet structured data · Properties, guidelines and testing steps. Page updated 8 September 2026, read 24 November 2026.
- 2Google Rich Results Test · Validates rich result markup on a URL or a code snippet.
- 3Google Search Central: general structured data guidelines · Common reasons markup is not shown.
- 4Schema.org: AggregateRating · The type definition.
Continue reading
8 pieces in this clusterThese long-form pieces on the Idukki blog link back to this article, go deeper on the cluster.
- Reviews and ratings
How to add reviews to Shopify in 2027, now Shopify's own app is gone
Shopify's own reviews app is gone from the App Store. Here is how to add product reviews today, with Shopify's own steps and Google's rules.
- AI search
How to get your Shopify products recommended by ChatGPT and Perplexity
How ChatGPT and Perplexity find products, from their own docs. Then an eight-point checklist for a Shopify store: crawlers, markup, titles, reviews, answers and outside mentions.
- Reviews and ratings
UGC galleries vs review widgets: do you need both?
A review widget answers "what did people think?". A UGC gallery answers "what does it look like in real life?". Most stores need both.
- AI search
The agent review-trust standard: how AI shoppers decide which ratings to believe
AI shopping agents do not take a star rating at face value. They check whether each review is verified, dated and attributable, then weight it accordingly.
- AI search
Answer Engine Optimisation for Ecommerce: The Complete AEO Library
Being cited by ChatGPT, Perplexity and Google AI Overviews is the new ranking. The full AEO library for ecommerce: crawlability, schema, evidence and measurement.
- AI search
Structured data and schema for product UGC
Customer photos, videos and reviews count for search and AI once machines can parse them. This schema turns a gallery into visibility.
- Reviews and ratings
Google Reviews as shoppable content
Your Google Reviews are trusted, public, and almost certainly invisible on your own store. Bring them on-site, tie them to products, and put the trust to work.
- AI search
Schema.org for ecommerce in the agentic era: 14 schemas every storefront should emit, ranked by AI-engine pickup
Ship six mandatory schemas first: Product, Offer, Review, AggregateRating, FAQPage, BreadcrumbList. Then four high-ROI shapes, ranked by AI-engine pickup.
More from Rohin Aggarwal
- AI search
Structured data and schema for product UGC
Customer photos, videos and reviews count for search and AI once machines can parse them. This schema turns a gallery into visibility.
- AI search
How to make your product content readable by AI shopping agents
AI agents shortlist products by reading facts and evidence. Design does not register. Fix three surfaces: structured data, plain-text claims, and a reachable review corpus.
- Reviews and ratings
Multi-source reviews without breaking Google markup
When Judge.me, Bazaarvoice, and imported syndication all touch the same SKU, structured data breaks quietly. Here is how to keep one honest aggregate.