Skip to main content

Displaying product ratings in Google Search Results

Updated this week

Product ratings in Google search results can make your store stand out and boost click-through rates.

The good news? This feature is enabled by default in Judge.me. As long as you have published reviews, your product ratings are eligible to appear in Google search results.

Before you begin

To display product ratings in Google search results, we use structured data (also known as JSON-LD rich snippets) that is automatically added to your product pages.

For this to work correctly, make sure:

Considerations

Terminology

  • Rich Snippets (also known as Rich Results) is a type of web markup that allows Google to better understand what information is found on a webpage. They are small blocks of text beneath a search result in Google.

  • Review Snippets is a part of rich snippets. It shows the stars and aggregate ratings for a product in Google's search result. We automatically include the required review snippet markup on your product pages by default.

Check if your product ratings show in Google search

The easiest way to check if your product ratings are appearing in Google search is to look up one of your products on Google.

Use a query like: Organic Cotton T-Shirt site:myshop.com.

  • If everything is working correctly and Google has indexed the page, you should see star ratings beneath the search result.

  • If you have published reviews for that products but don't see the star ratings beneath the search result, use Google Search Console or Google's Rich Results Test to see if there's an issue.

Google Search Console

To check the review snippets issue in Google Search Console:

  • From your Google Search Console admin, on the left menu, scroll down to Product snippets.

  • Find the issues listed in Improve item appearance.

Google also occasionally sends email alerts when these issues are detected. However, these emails are often delayed, which means, the warning or error may have already been fixed (or is no longer relevant).

To verify the issue accurately, we recommend using the Google's Rich Results Test.

Google's Rich Results Test

To check the review snippets issue with Google's Rich Results Test:

  • Enter the URL of a product page with reviews.

  • Click Test URL.

  • Scroll down to the Review snippets result to see if any issue is mentioned.

If there's no issue with the Review snippets in Google's Rich Results Test:

  • It might take up to 30 days for your ratings to appear on your products’ search results, as it can take Google some time to re-index your pages' information.

  • If you’d like, you can request Google to recrawl your store’s URL to make the process faster.

If you spot an issue with the Review snippets in Google's Rich Results Test: check the section below on how to fix the warnings and errors.

Fix review snippets warnings and errors

Errors


Missing field "itemReviewed"

Issue:

In Google Search Console or Google's Rich Results Test, you see the Missing field "itemReviewed" error.

Why it happens:

Google Search supports structured data in the following formats:

  • JSON-LD (recommended): A JavaScript notation embedded in a <script> tag in the <head> and <body> elements of an HTML page.

  • Microdata: An open-community HTML specification used to nest structured data within HTML content.

The Missing field "itemReviewed" error usually appears when:

  • Theme is using JSON-LD, but Microdata snippets setting is enabled in Judge.me.

  • The theme is using Microdata, but the review data is not properly nested under a Product schema.

How to fix:

To fix the Missing field "itemReviewed" error:

  • Check if your theme is using Microdata or JSON-LD.

    • In the test result, scroll down and open the Product snippets result.

    • Open the product in Detected items, and click the type row.

    • In the Tested page section on the right:

      • If you see "@type": "Product": your theme is using JSON-LD snippets.

      • If you see itemscope: your theme is using Microdata snippets.

  • If your theme is using JSON-LD, disable the Microdata snippets in Judge.me:

    • From your Judge.me admin, go to Marketing and Social > Google and SEO.

    • Click the SEO Rich Snippets button.

    • In the SEO Rich Snippets section, disable "Add microdata snippets".

    • Click Save.

  • If your theme is using Microdata, you can either:

    • Move the installation code for the Review Widget inside the itemscope <div itemscope itemtype="http://schema.org/Product">.

    • Or add this custom code to the product scope of microdata:

      {%- assign review_count = product.metafields.judgeme.badge | split: "data-number-of-reviews='" | last | split: "'" |first | plus: 0 -%}
      {%- assign review_value = product.metafields.judgeme.badge | split: "data-average-rating='" | last | split: "'" |first | plus: 0 -%}
      {% if review_count > 0 %}
      <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
      <meta itemprop="ratingValue" content="{{ review_value }}"/>
      <meta itemprop="ratingCount" content="{{ review_count }}"/>
      </div>
      {% endif %}

Missing field "author"

Issue:

In Google Search Console or Google's Rich Results Test, you see the Missing field "author" error.

Why it happens:

The Missing field "author" error usually occurs when only the average rating and review count are pushed to the page, but individual review content (including reviewer names) is not included in the structured data.

How to fix:

Available on the Awesome plan

To fix the Missing field “author” error:

  • From your Judge.me admin, go to Marketing and Social > Google and SEO.

  • Click the SEO Rich Snippets button.

  • In the SEO Rich Snippets section, enable "Add JSON-LD snippets (Default)".

  • Under Advance, select "Push average rating, number of reviews and reviews content of each product" (default to "Push average rating and number of reviews of each product (Default)").

  • Click Save.


Warnings


Missing field “review”

Issue:

In Google Search Console or Google's Rich Results Test, you see the Missing field “review” warning.

Why it happens:

The Missing field “review” warning usually occurs when only the average rating and review count are pushed to the page, but individual review content is not included in the structured data.

How to fix:

Available on the Awesome plan

To fix the Missing field “review” warning:

  • From your Judge.me admin, go to Marketing and Social > Google and SEO.

  • Click the SEO Rich Snippets button.

  • In the SEO Rich Snippets section, enable "Add JSON-LD snippets (Default)".

  • Under Advance, select "Push average rating, number of reviews and reviews content of each product" (default to "Push average rating and number of reviews of each product (Default)").

  • Click Save.


Missing field “aggregateRating”

Issue:

In Google Search Console or Google's Rich Results Test, you see the Missing field “aggregateRating” warning.

Why it happens:

The Missing field “aggregateRating” warning typically occurs when:

  • The product doesn’t have any published reviews.

  • Judge.me rich snippet code is missing from the product page.

  • The product schema is being overwritten or blocked by your theme or another app.

How to fix:

To fix the Missing field “aggregateRating” warning:

  • Check if the product has published reviews:

    • Go to your product page and confirm that at least 1 review is visible through the Review Widget.

  • Check if Judge.me JSON-LD snippets are enabled (enabled by default)

    • From your Judge.me admin, go to Marketing and Social > Google and SEO.

    • Click the SEO Rich Snippets button.

    • In the SEO Rich Snippets section, see if "Add JSON-LD snippets (Default)" is enabled.

  • Use the following checklist to troubleshoot:

Does the product have reviews?

Is JSON-LD enabled?

What to do

Yes

Yes

Recheck the result in Google's Rich Results Test

Yes

No

  • Enable "Add JSON-LD snippets (Default)".

  • Then, recheck the result in Google's Rich Results Test.

No

Yes

  • Wait until the product has reviews.

  • Then, recheck the result in Google's Rich Results Test.

No

No

  • Enable "Add JSON-LD snippets (Default)".

  • Wait until the product has reviews.

  • Then, recheck the result in Google's Rich Results Test.

If Google's Rich Results Test is still showing the Missing field “aggregateRating” warning, check your theme’s structured data:

  • In the test result, scroll down and open the Product snippets result.

  • Open the product in Detected items, and click the type row.

  • In the Tested page section on the right:

    • Under "@type": "Product", see if there's an "@id" with your product handle underneath.

    • E.g. "@id" : "/products/new-hair-straightener"

  • If it's not available, you can manually add it in your theme files:

    • From your Shopify admin, go to Online Store > Themes.

    • In your live theme, click the 3-dot icon (...) and select Edit code.

    • Go to the sections/main-product.liquid file (Depending on the themes, it might be in layout/theme.liquid file, or files with these keywords: "microdata", "structure", "json", "data", "variables", "tags", "meta-tag", "scheme", "schema", "breadcrumbs",... instead).

    • Look for "@type": "Product" and add this code directly under it:

      "@id": {{ canonical_url | append: '#product' | json }},
    • Click Save.


Other issues with review snippets


Duplicated schemas

In case your SEO app already provides a schema for your reviews, you can disable Judge.me schema to prevent duplicates.

To disable Judge.me schema:

  • From your Judge.me admin, go to Marketing and social > Google and SEO.

  • Scroll down and go to SEO Rich Snippets.

  • Disable both "Add microdata snippets" and "Add JSON-LD snippets (Default)"

  • Click Save.


Did this answer your question?