Add review snippet structured data

Review snippets require a Review or AggregateRating attached to a specific item such as Product, Recipe or LocalBusiness. Provide ratingValue and reviewCount or ratingCount, keep the visible rating identical, and never mark up self-serving reviews on your own Organization.

mediumIn codeimpact effort

Why this matters

Only for genuine reviews on eligible item types.

Get the full breakdown

The extended brief explains when this works, when it does not, and the trade-offs. Join the waitlist and it unlocks for every tip when sign-in opens; MCP access is the paid part.

Join the waitlist

Before you start

  • A review collection system
  • Access to product or location templates

How to apply it

  1. Confirm eligibility

    Check that the page describes a specific item and that reviews come from real customers. Remove self-serving Organization reviews from scope.

    Check: Every page in scope has at least one verified customer review and describes a single item.

  2. Emit AggregateRating from review data

    Compute ratingValue and reviewCount from stored reviews. Include bestRating and worstRating when the scale differs from 1 to 5.

    Check: The markup values equal the visible rating and count rendered on the page.

  3. Validate and audit

    Run the Rich Results Test on three pages and review the review snippet enhancement report for invalid items.

    Check: Rich Results Test reports valid review snippets and the enhancement report has no errors.

Get the prompt for your agent

A ready-to-paste prompt for your agent that implements this tip and verifies the result in your repo.

Join the waitlist

Source: seo-mcp playbook · curated entry · report an error

Framework notes

shopify

Product reviews apps expose rating metafields; emit AggregateRating from those metafields in the product section instead of hardcoding values.

nextjs-app

Generate AggregateRating in the product route from the reviews API response, and omit the property when the count is zero.

Official references

Let your agent apply this + 161 more tips.

Pre-order — $19