Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Review or AggregateRating schema missing or invalid: how to fix

SEO-215Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Review markup describes one review of an item. AggregateRating describes the average of many ratings, for example 4.6 out of 5 from 128 reviews. Both are types from schema.org, a shared vocabulary that search engines read. Most sites add them as JSON-LD, a block of JSON inside a <script type="application/ld+json"> tag.

Properties Google expects for review snippets
TypeRequired propertiesCommon mistake
AggregateRatingratingValue, and ratingCount or reviewCount, plus the item nameSending only ratingValue, or reviewCount as 0
Reviewauthor (with name), reviewRating.ratingValue, and the item nameAuthor left empty or set to a generic value
Parent itemReview or AggregateRating must sit inside the item, such as Product, via review or aggregateRatingRating floating on its own with no itemReviewed
ScalebestRating and worstRating if the scale is not 1 to 5A 10-point score without bestRating

Why it costs you leads or sales

Click-through rate on a product page, with and without starsExample numbers
Click-through rate on a product page, with and without stars (example)No rating markup: 2.1 %; Valid AggregateRating: 2.9 %0122.12.9No rating markupValid AggregateRating%

Example: illustrative numbers only. A listing with valid star snippets can earn a higher click-through rate than a plain one.

How to check if your site has it

Test a page for review markup
  1. Run the Rich Results Test

    Open Google's Rich Results Test, paste a product page URL and run it. Look for 'Review snippets' or 'Product snippets' in the results. Open each item to see errors (red) and warnings (orange).

  2. Check the Schema Markup Validator

    Use validator.schema.org to see all schema types on the page, including ones Google does not use for rich results.

  3. Open Search Console

    Go to Enhancements and look at Review snippets, Product snippets and Merchant listings. Errors list affected URLs and the missing field.

  4. View the page source

    Search the source for aggregateRating and "@type": "Review". If neither appears, the markup is missing or loaded only by scripts the test cannot see.

  5. Compare with the visible page

    The rating value and count in the code should match the stars and review count shown to visitors.

How a broken rating hides your stars
  1. Customer leaves reviewReview is saved on your site
  2. Schema outputratingValue or reviewCount missing
  3. Google validationMarkup rejected
  4. Star snippetNot shown in results

The break is at validation, so everything after it is lost.

How to fix it

Fix review markup by platform
  1. Use your product or SEO plugin

    WooCommerce outputs Product schema with reviews when product reviews are enabled (WooCommerce > Settings > Products > Enable product ratings and reviews). SEO plugins such as Yoast WooCommerce SEO or Rank Math also add it.

  2. Avoid duplicates

    If a theme, a reviews plugin and an SEO plugin all print schema, turn off all but one so the rating is not output twice.

  3. Retest

    Run the page in the Rich Results Test and check ratingValue and reviewCount.

Valid Product with AggregateRating and one Reviewhtml
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Trail Running Shoes",
  "image": "https://www.example.com/images/shoes.jpg",
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.6",
    "reviewCount": "128",
    "bestRating": "5",
    "worstRating": "1"
  },
  "review": {
    "@type": "Review",
    "author": { "@type": "Person", "name": "Sam P." },
    "reviewRating": {
      "@type": "Rating",
      "ratingValue": "5",
      "bestRating": "5"
    },
    "reviewBody": "Great grip and comfortable on long runs."
  }
}
</script>
Rating markup before and after

Invalid

  • aggregateRating has ratingValue but no reviewCount
  • Rating sits outside the Product
  • Two plugins print different values

Valid

  • ratingValue and reviewCount present and match the page
  • Rating nested inside the Product
  • One source of markup

How to confirm it's fixed

Confirmation checklist
  • The Rich Results Test shows the page as eligible with no red errors
  • ratingValue and reviewCount match what visitors see
  • Only one AggregateRating appears in the page source
  • Search Console Validate fix has been started for the affected report
  • You rechecked a few different product URLs, not just one

How to prevent it happening again

Prevention checklist
  • Pick one source of review markup and disable the others
  • Retest a sample product page after theme, plugin or app updates
  • Check the Search Console Enhancements reports every month
  • Never hard-code a rating that is not tied to real review data
  • Keep reviews visible on the same page as the markup

How FunnelGuard handles this

Questions people ask

Why are my review stars not showing in Google?

Common causes are missing or invalid AggregateRating markup, a rating that does not match the visible reviews, or ineligible content such as a business reviewing itself. Even valid markup does not guarantee stars, because Google chooses when to show them. Test the page in the Rich Results Test first.

What fields does AggregateRating need?

You need ratingValue and a count, either ratingCount or reviewCount. It must also sit inside the item being rated, such as a Product, which needs a name. If your scale is not 1 to 5, add bestRating and worstRating.

How do I add review schema to my website?

Use your reviews app, e-commerce platform or SEO plugin if it outputs markup, or add JSON-LD in a script tag with type application/ld+json. Fill it with real values from your review data. Then test the page with the Rich Results Test.

Can I add AggregateRating to my homepage or my own business?

Not for star snippets. Google does not show review rich results when a business marks up reviews about itself on its own Organization or LocalBusiness pages. Use it on pages for products, books, recipes and other supported items instead.

Do the ratings in my schema have to match the page?

Yes. The rating value, count and reviews in your markup should match what visitors can see on that page. Hidden, invented or copied ratings can trigger a manual action under Google's structured data policies.

Why does Search Console say 'Missing field reviewCount or ratingCount'?

Your AggregateRating has no count of ratings. Add either reviewCount or ratingCount with a real number above zero, then validate the fix in Search Console.

Does FunnelGuard check review schema?

No. FunnelGuard does not check review or AggregateRating markup yet, though it may be added later. Use Search Console and the Rich Results Test to monitor it, and use FunnelGuard for journey, tracking and lead delivery checks.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.