Vai al contenuto
NovitàDomande sul prodotto: i clienti chiedono sulla scheda prodotto e ricevono le tue risposte.Guarda come funziona
IdukkiIdukki
AI search

Schema AggregateRating: come ottenere le stelle delle recensioni di Google sulle pagine prodotto

Google ricava le stelle dal markup AggregateRating. Qui trovi le proprietà, un esempio JSON-LD, le regole e il test.

Cerca su Google il tuo prodotto più venduto. Il risultato di un concorrente mostra una fila di stelle dorate e il numero di recensioni. Il tuo mostra solo testo blu semplice, anche se la tua pagina prodotto ha centinaia di recensioni. Il cliente clicca sulle stelle.

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.

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.

PropertyRequired?What it holds
ratingValueRequiredThe average rating, such as 4.6. Use a dot, never a comma.
ratingCount or reviewCountAt least oneHow many ratings, or how many reviews, the product has on your site
itemReviewedOnly when not nestedThe product. Leave it out when AggregateRating sits inside Product.
bestRatingRecommendedThe top of your scale. Google assumes 5 if it is missing.
worstRatingRecommendedThe bottom of your scale. Google assumes 1 if it is missing.
AggregateRating properties, from Google's review snippet docs, read 24 November 2026.

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:

html
<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

  1. 01

    Open the test

    Go to search.google.com/test/rich-results.

  2. 02

    Test the live URL

    Paste the product page URL. Use the code tab for a page not live yet.

  3. 03

    Read the result

    Open the item for your product. Check the rating fields come through.

  4. 04

    Fix critical errors

    Critical errors block eligibility. Warnings are worth fixing but optional.

  5. 05

    Ask for a recrawl

    Use URL Inspection in Search Console, then request indexing.

  6. 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

  1. 1Google Search Central: review snippet structured data · Properties, guidelines and testing steps. Page updated 8 September 2026, read 24 November 2026.
  2. 2Google Rich Results Test · Validates rich result markup on a URL or a code snippet.
  3. 3Google Search Central: general structured data guidelines · Common reasons markup is not shown.
  4. 4Schema.org: AggregateRating · The type definition.
#ai-search#seo#structured-data#reviews

Continue reading

8 pieces in this cluster

These long-form pieces on the Idukki blog link back to this article, go deeper on the cluster.

More from Rohin Aggarwal