Skip to content

Reviews and AggregateRating for agents: what to mark up and what not to fake

How to put product ratings where AI shopping agents can read them, the Google, OpenAI and legal rules on review markup, and what our scan of 102 product pages found.

By the ConversionVector teamUpdated 12 min read

Contents

Direct answer: Put the rating an agent should see in the page it receives. In the Product JSON-LD that carries your price, add an aggregateRating with ratingValue and a reviewCount (or ratingCount) taken from your reviews provider for that product. Output it on the server, not only through a JavaScript widget, and only when the product has reviews. Show the same rating and count on the page. Mark up only genuine reviews of that product that you collected yourself: not store-level reviews, not reviews copied from other sites, not a filtered set with the bad ones left out. Google's guidelines, OpenAI's feed rules and consumer law in the US, UK, EU and Australia all point the same way.

This guide is for ecommerce managers, developers and the people who run review programmes at retailers in the US, UK, EU and elsewhere. It covers why ratings matter to AI shopping agents, the markup pattern, the rules from Google and OpenAI, the legal lines on fake and filtered reviews, syndication, what Shopify and WooCommerce output, what we found on 102 retailers' product pages, and a test you can run in ten minutes. ConversionVector is not affiliated with Google, OpenAI, Shopify, WooCommerce or any company named here, and this guide is not legal advice.

Last verified: 24 November 2026 against Google Search Central's review snippet and product snippet structured data pages (last updated 8 September 2026), Google Merchant Center Help (Product Ratings), OpenAI's Help Center and product feed specification, schema.org version 30.1, Shopify's developer documentation, the WooCommerce 11.3.1 source code, 16 CFR Part 465 (eCFR), Schedule 20 of the UK Digital Markets, Competition and Consumers Act 2024, Directive (EU) 2019/2161 and the ACCC's online reviews guidance.

Why ratings matter to an AI shopping agent

When two shops sell the same thing at a similar price, an agent needs a reason to pick one. Ratings are one of the few signals that are both about the product and from someone other than the seller.

The clearest first-party statement is OpenAI's help article on shopping in ChatGPT (read 24 November 2026). Explaining how product results are selected, it gives the example of a request for dog costumes, where ChatGPT "may consider available options, price, reviews, and ease of use". It says ChatGPT may display product review summaries that are "based on reviews from public websites" and adds: "Reviews and ratings are not verified by OpenAI." OpenAI's product feed specification has two optional fields for product reviews, review_count and star_rating. On Google's side, Merchant Center Help says Google "displays aggregate product reviews compiled from multiple sources on ads and free listings".

None of these companies publishes how much a rating counts in a choice, so treat it as one input among several. Two practical points follow. First, an agent can only weigh a rating it can find, and a rating drawn by a script after the page loads is invisible to an agent that fetches the page without running JavaScript. Second, because nobody verifies the numbers at the point of use, the rules about where they come from (below) are what keep them honest.

In our scoring specification this is TRU-01: AggregateRating with a review count on product pages, worth 3 of the 10 Trust points. Its fix text reads: "Add aggregateRating (ratingValue, reviewCount) from your reviews provider. Agents use it as the tie-breaker between similar offers." In the Agent Commerce Index (Q4 2026), TRU-01 failed on 144 of 225 UK and US retailers (64%), the sixth most common failure, and it was among the top three fixes for 79 of them. The six questions guide places it in the "can this shop be trusted?" step.

The markup pattern

Nest the rating inside the Product it describes. A minimal example for a jacket with 128 reviews averaging 4.6 out of 5:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Waterproof rain jacket",
  "sku": "RJ-100",
  "gtin13": "5012345678900",
  "brand": { "@type": "Brand", "name": "Example Outdoor" },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": 4.6,
    "reviewCount": 128,
    "bestRating": 5,
    "worstRating": 1
  }
}

In practice this sits in the same block as your offers, shipping and returns markup, which our product structured data guide covers in full. What Google's review snippet documentation (last updated 8 September 2026) asks for:

PropertyRule
ratingValueRequired. A number, fraction or percentage. Use a dot for decimals (4.4, not 4,4).
reviewCount or ratingCountAt least one is required. reviewCount is "the number of people who provided a review with or without an accompanying rating"; ratingCount is "the total number of ratings for the item on your site".
bestRating, worstRatingRecommended. If you leave them out, Google assumes 5 and 1. Add them if your scale is different, say out of 10.
itemReviewedOnly when the rating is not nested. When it sits inside the Product, Google says to omit it.
reviewOptional individual reviews, each with an author (a real name, under 100 characters) and a reviewRating. If you include several, Google says also include the aggregate.

Three rules that matter more than the syntax:

  • The rating must be on the page. Google: "If you use AggregateRating, users should be able to see that aggregate rating on the page."
  • One product, not a category. Google: "Provide review information about a specific item, not about a category or a list of items." Don't put an average for a whole range on each product.
  • No reviews, no rating. Leave aggregateRating out until a product has at least one review. A reviewCount of 0 tells an agent nothing, and OpenAI's feed specification says the same for feeds: "Omit a rating when there are no reviews."

For a product with sizes or colours, put the rating on the ProductGroup (our variants guide shows the structure). OpenAI's feed specification gives the matching rule for feeds: "If your product page shares reviews across variants, use that same group aggregate on each variant; do not sum it again across rows."

Product ratings, store ratings and other people's reviews

Most problems with review markup come from mixing three kinds of review.

Reviews of the product, collected on your site. This is what aggregateRating on a Product is for, and what TRU-01 checks.

Reviews of your shop. Badges such as "4.8 from 12,000 reviews" describe your service, not the product. Google's guidelines say that if the entity being reviewed controls the reviews about itself, its pages that use LocalBusiness or Organization markup are not eligible for review stars, whether the reviews are in its structured data or in an embedded third-party widget. OpenAI's feed specification keeps them apart too: review_count must "exclude seller and store reviews", and store ratings go in separate store_review_count and store_star_rating fields that "require setup". Don't fold a store score into a product's rating.

Reviews from somewhere else. Google's review snippet guidelines say plainly: "Don't aggregate reviews or ratings from other websites." Merchant Center's Product Ratings policies say you must "collect and own" the reviews you share, and that "we don't accept reviews syndicated from other sources." If your product pages show reviews syndicated from a brand's own site or from other retailers, which some review platforms offer, the safest reading of both rules is to keep your aggregateRating to the reviews collected on your own site, and label syndicated reviews on the page as coming from elsewhere. Ask your reviews provider which reviews its markup counts.

The rules on fake, paid and filtered reviews

Agents read your rating as evidence. Regulators treat a rating as evidence too, and in the UK the law covers it explicitly: Schedule 20 of the Digital Markets, Competition and Consumers Act 2024 defines "consumer review information" as "information that is derived from, or is influenced by, consumer reviews", which includes a star average.

MarketRuleWhat it means for your rating
Google (all markets)Review snippet guidelines: "Don't include fake or undisclosed incentivized reviews on your page or in your structured data markup", including reviews "written in exchange for a benefit" that don't clearly disclose it. Violations can lead to a manual action.Only real reviews, with incentives disclosed.
Google Merchant CenterProduct Ratings policies: share all your product reviews, "including low-star reviews", at least once a month, and don't delete old reviews from the feed.No cherry-picking in the feed.
USFTC Trade Regulation Rule on the Use of Consumer Reviews and Testimonials, 16 CFR Part 465, in force since 21 October 2024. It covers fake reviews (§ 465.2), incentives conditioned on a particular sentiment (§ 465.4), undisclosed insider reviews (§ 465.5), company-controlled review sites (§ 465.6) and review suppression (§ 465.7).Paying or rewarding only for positive reviews, or hiding reviews for being negative while implying you show most or all of them, are violations.
UKDMCC Act 2024, Schedule 20, paragraph 13, in force since 6 April 2025. Submitting or commissioning fake reviews, concealing incentives, and publishing reviews or review information "in a misleading way" are unfair in all circumstances. Misleading includes removing negative reviews while publishing positive ones, and giving positive ones greater prominence. Publishers must also take "reasonable and proportionate steps" to prevent and remove fake reviews.A rating computed from a filtered set of reviews is itself a risk.
EUDirective (EU) 2019/2161 amended the Unfair Commercial Practices Directive, applying from 28 May 2022. Where a trader provides access to consumer reviews, information about "whether and how" it ensures they come from consumers who actually used or bought the product is material. Claiming reviews are from real buyers without "reasonable and proportionate steps to check" is banned, as is submitting false reviews or "misrepresenting consumer reviews".Say how you verify reviews, near the reviews.
AustraliaThe ACCC's online reviews guidance: it is against the law for a business to create fake or misleading reviews, and suppressing or editing negative reviews may mislead consumers; incentives must apply "regardless of whether the reviewer leaves a positive or negative review" and be disclosed; and the number of reviews a star rating is based on should be clear, for example "3 stars – 24 reviews".Show the count next to the stars.

In practice the same habits keep you inside all of these: collect reviews from every buyer, not just happy ones; disclose any incentive and never tie it to a positive review; publish every review that meets a moderation policy you apply equally to positive and negative reviews, and publish the policy; say how reviews are verified; and compute the rating from exactly the reviews you show.

What Shopify and WooCommerce output

Shopify. Shopify's Liquid structured_data filter, which many themes use for product markup, has no rating in its documented output. On Shopify the rating comes from your reviews app or your theme code. Shopify defines two standard metafields for this: reviews.rating ("Product rating apps should write to this standard metafield and update it whenever a product's rating has changed") and reviews.rating_count. If your reviews app writes to them, a theme developer can print the aggregateRating from those metafields into the same JSON-LD block as the rest of the Product, on the server. That avoids a problem we found in our scan: a second Product block, added separately, carrying the rating on its own.

WooCommerce. In WooCommerce 11.3.1, the core structured data class adds an aggregateRating with ratingValue and reviewCount to the Product when the product has ratings and product ratings are enabled in the settings, and marks up up to five of the most recent approved reviews that carry a rating. If you use a third-party reviews plugin instead of WooCommerce's own reviews, check that it doesn't leave the core markup empty while adding its own separate block.

Other platforms. Check what the page sends, not what the admin screen says. Our platform guide covers the rest of the product markup by platform.

What our scan found

On 24 November 2026 we looked at the Shopify-based retailers in the Agent Commerce Index (Q4 2026). For each, we took the first product in the store's public product list, fetched its product page with a desktop browser user agent, from one server in Gibraltar, without cookies or JavaScript, and read the JSON-LD and HTML. 129 scored retailers are on Shopify, and 102 gave us a product page (the rest blocked the product list or returned an error). 94 of those pages carried Product structured data. Figures describe one product per retailer, not whole catalogues, and some of the products may have had no reviews yet.

Product pages, server HTML without JavaScript (24 November 2026)Retailers, of 102
Product carried an aggregateRating29
…with a positive reviewCount or ratingCount (would pass TRU-01's count test)28
…using ratingCount only9
…with the rating only on a later, separate Product block, not the first Product on the page5
Page showed signs of a product reviews app (its widget, styles or placeholders)63
…but no aggregateRating in the server HTML40
Page declared the product in two or more separate top-level Product or ProductGroup blocks12

What this suggests:

  • Most stores collect reviews but don't give them to agents. Of 63 pages with a reviews app, 40 had no rating in the HTML the server sent. Some of those products will have had no reviews. For the rest, the stars appear only after a script runs, which a page-fetching agent never does.
  • Where the rating is present, it is mostly correct. 28 of 29 had a positive count, and the median was 45 reviews. One page carried two different ratings in two blocks.
  • Duplicate blocks cause quiet misses. 12 pages declared the product in two or more separate blocks, for example one from the theme and one from an app. In 5 pages the rating sat only in a later block. An agent or parser that reads the first block sees a product with no rating. Our price mismatch guide covers the same problem for prices.

The ten-minute test: can an agent see your rating?

  1. Pick a product with reviews, ideally a bestseller.
  2. Fetch the page as an agent would, without JavaScript: curl -sL -A "Mozilla/5.0" https://www.example.com/products/your-product > page.html. Our server-rendered product data guide explains why this matters and how to read the result.
  3. Search the file for aggregateRating. If it isn't there, a page-fetching agent can't see your rating, whatever the page shows in a browser.
  4. Count the Product blocks. Search for "@type": "Product" and ProductGroup. If there are two, check that the rating, price and identifiers are on the same one, or merge them.
  5. Compare the numbers with what the page shows a shopper: same average, same count, same scale.
  6. Check the source. Is every review in that count a review of this product, collected on your site? No store reviews, no reviews pulled in from other sites?
  7. Validate with Google's Rich Results Test, then run the free score on the product URL to see TRU-01 alongside the other trust checks.

Common mistakes

  • Stars drawn by a widget, with no rating in the server HTML.
  • The rating on a second Product block, separate from the one carrying the price and GTIN.
  • A reviewCount of 0, or a rating of 0 on products with no reviews.
  • A store-level score (from a shop reviews badge) marked up as the product's rating.
  • Reviews from other sites or other retailers counted in the product's aggregateRating.
  • The same average on every product, or a category average.
  • A rating that doesn't match the page, usually because the markup is cached and the widget isn't.
  • Hiding or holding back negative reviews, or rewarding only positive ones. That breaks Google's rules and, in several markets, the law.

Fix list

  1. Decide the source of truth: your reviews provider's per-product average and count, for reviews collected on your site.
  2. Write it where the theme can read it on the server: on Shopify, the reviews.rating and reviews.rating_count metafields; on WooCommerce, core reviews or a plugin that fills the core markup.
  3. Output one Product (or ProductGroup) block carrying the price, identifiers and aggregateRating together, and only when the count is above zero.
  4. Show the same average and count on the page, with the count next to the stars.
  5. Keep store reviews and syndicated reviews out of the product rating, and label them on the page.
  6. Publish your review policy: how reviews are collected and verified, how incentives work, and what gets moderated.
  7. Send the same numbers to your feeds: review_count and star_rating in an OpenAI product feed, and a Product Ratings feed in Merchant Center if you qualify (Google asks for at least 50 reviews and a full update at least monthly). Matching relies on identifiers, which our GTIN, MPN and SKU guide covers.
  8. Re-test after app or theme changes, because that is when review markup usually breaks.

To see whether ratings change which shop an agent recommends in your category, Recommendation Monitoring records how often assistants pick you on buy-intent prompts and the reason they give.

Sources

Questions

How do I add AggregateRating to a product page?
Nest an aggregateRating object inside the Product (or ProductGroup) JSON-LD that describes the item, with ratingValue and at least one of reviewCount or ratingCount, plus bestRating and worstRating if your scale is not 1 to 5. Take the values from your reviews provider for that product, output it in the HTML your server sends, and only when the product has at least one review. The same rating must be visible on the page.
Do AI shopping agents use product reviews?
OpenAI says so for ChatGPT shopping: its help article gives price and reviews as examples of what ChatGPT may consider, says it may show review summaries generated from reviews on public websites, and says reviews and ratings are not verified by OpenAI. OpenAI's product feed specification also has review_count and star_rating fields. Google shows aggregate product reviews on Shopping free listings and runs a Product Ratings programme in Merchant Center. Neither publishes how much reviews weigh in a choice.
Can I mark up reviews from Trustpilot, Google or other sites on my product page?
Google's review snippet guidelines say not to aggregate reviews or ratings from other websites, and Merchant Center's Product Ratings policy says it does not accept reviews syndicated from other sources. Store-level reviews about your business are a separate thing: Google says a business's own pages that carry reviews about itself in Organization or LocalBusiness markup are not eligible for review stars. Keep product AggregateRating to reviews of that product that you collected and show on that page.
Is it illegal to hide negative reviews?
It can be. The US FTC rule on consumer reviews (16 CFR Part 465, in force since 21 October 2024) bans misrepresenting that displayed reviews are most or all of those submitted when reviews are being suppressed for their rating or sentiment. In the UK, Schedule 20 of the DMCC Act 2024 (in force since 6 April 2025) treats publishing reviews or review information in a misleading way, including removing negative reviews while publishing positive ones, as unfair in all circumstances. EU and Australian rules point the same way. This guide is not legal advice.
Should I use reviewCount or ratingCount?
Google requires at least one of them. reviewCount is the number of people who left a review, with or without a rating; ratingCount is the number of ratings. Use the one that matches the number shown on your page, and use both if your page shows both. ConversionVector's TRU-01 check accepts either, as long as the count is above zero.
How does ConversionVector check reviews?
Check TRU-01 of the open Agent Conversion Score specification asks whether product pages carry an aggregateRating with a review count. It is weighted 3 of the 10 Trust points. In our Agent Commerce Index (Q4 2026) it failed on 144 of 225 retailers (64%). The free score runs it on your own product pages alongside 48 other checks.

Published . Last updated . More in Structured data and product feeds and the guide library.