Star ratings in Google search (rich snippets)

Google can show star ratings under a product in search results when the page has structured data (schema.org) that describes the product and its reviews. These are called review rich snippets.

What A2Reviews adds

When the A2Reviews reviews widget is installed on your Shopify product template, A2Reviews adds a Product block of JSON-LD structured data to the page. It includes:

The rating values come from the A2Reviews product metafields, so they update when your reviews change. See Shopify metafields and Shopify Flow.

Check your structured data

  1. Open a product page that has reviews.
  2. Test the URL in Google's Rich Results Test.
  3. Make sure a Product item with review/rating data is found and has no errors.

Avoid duplicate markup

Many themes and SEO apps also output Product structured data. Two blocks that disagree (for example, one with ratings and one without) can confuse Google. If the test finds more than one Product item, turn off rating markup in the other app or theme, or ask your theme developer to merge them.

Things to know