When a Google search result shows a product with a 4.7-star rating and 312 reviews directly in the results page, those stars are generated by structured data markup on the product page — not by Google itself. Getting this right is one of the highest-ROI SEO actions a Shopify merchant can take.
How rich snippets work
Google reads structured data embedded in your page as JSON-LD — a script block containing machine-readable information about your product, its rating, and the number of reviews. When Google's crawler finds this data and validates it, it becomes eligible to display stars in search results.
JSON-LD vs microdata
There are two main formats: JSON-LD (a script tag in the page head or body) and microdata (HTML attributes inline in your markup). Google strongly recommends JSON-LD because it's easier to maintain and doesn't require restructuring your HTML. Revova uses JSON-LD exclusively.
What Revova generates automatically
When you install the Revova widget on a product page, it automatically injects a structured data script containing the product's aggregate rating and review count. You don't need to edit your theme's HTML or touch any code.
- ✓AggregateRating schema with ratingValue and reviewCount
- ✓Individual Review objects for the most recent approved reviews
- ✓Updates automatically as new reviews are approved
- ✓Compatible with Google's product review guidelines
Testing your markup
Use Google's Rich Results Test (search.google.com/test/rich-results) to verify your structured data is valid. Paste your product page URL and look for the 'Product' result with a green checkmark on AggregateRating. If there are errors, they'll be listed with specific fix guidance.
Rich snippets don't guarantee star display in search results — Google decides when to show them. But valid structured data is the only way to be eligible.
Common mistakes that block eligibility
- ✓Rating with fewer than 3 reviews — Google typically requires at least 3–5
- ✓Reviews that are self-written or incentivised — Google's guidelines prohibit this
- ✓Missing or mismatched product name between structured data and page content
- ✓Aggregate rating not matching the average of displayed reviews