Articles on: FAQ
This article is also available in:

What to do when the Review Schma isn't displayed?

Trustmary widgets can inject a review schema (structured data) into a page, which lets Google show a star rating next to that page in search results.


The cause is usually on one of three sides, best worked through in this order:


  1. Trustmary's side – how the widget injects the schema, and why only one widget should be active at a time.
  2. The site's side – the most common configuration problems that block schema injection or break it.
  3. Google's side – what makes Google show a star rating in search results in the first place.


Important: Even when the schema is technically perfect, whether the stars appear in search results is always Google's own decision. Valid schema is a precondition, not a guarantee. That is worth keeping in mind throughout the troubleshooting.



1. Every Trustmary widget injects its own schema


Every Trustmary widget embedded on a page that displays reviews injects its own AggregateRating and/or Review markup into that page. This happens automatically — the schema doesn't need to be added by hand.


Trustmary makes sure the injected schema is valid and follows Google's structured data guidelines. The widget marks up only reviews that are also visible to the visitor on the page, so Google's requirement that structured data describe content visible on the page is met automatically. Neither the validity of the schema nor its match to the page content needs separate fixing — when the stars don't show, the cause is usually one of the items below.


The problem arises when several review-displaying widgets are active on the same page at once. Multiple overlapping schema markups are then injected into the page, and Google receives conflicting information about which rating actually describes it. At worst Google shows no stars at all, or shows the wrong rating.


Recommendation: Keep only one review-displaying widget active per page. To show reviews in several places, consider widget types that don't inject schema, or concentrate the schema in a single widget.



2. The most common site configuration problems


Even when the Trustmary widget injects the schema correctly, the site's own technical configuration can prevent the schema from loading, or prevent Google from seeing it. The most common causes are below.


2.1 Several schema sources on the same page

Besides Trustmary, schema can be injected by SEO plugins (Yoast SEO, Rank Math), page builders or other review tools. Several AggregateRating markups from different sources on one page conflict with each other. Check that no other tool is adding its own review markup to the same page.


2.2 The widget is inside an <iframe>

When the widget is embedded inside an iframe, the schema it injects stays inside the iframe — Google does not read schema inside an iframe as the rating of the parent page. Make sure the widget is embedded directly into the page DOM as Trustmary's instructions describe, not in an iframe.


Many consent tools block third-party scripts from loading until the visitor accepts cookies. If Trustmary's widget script is classified as e.g. "marketing" or "non-essential", it may not load at all for Google's bot — and then no schema is created either. Make sure the widget script is allowed to load without separate consent, or in the right category.


2.4 Cache and CDN

If the page is served heavily cached and the widget script doesn't get to run, the schema can be missing. Clear the site's and the CDN's cache after adding or changing the widget, then test again.


2.5 Load order and Tag Manager

When the widget is loaded through Google Tag Manager, or very late in the page load, the schema may only be injected after Google has already read the page. Load the widget as early as possible and make sure the script runs reliably.


2.6 JavaScript doesn't run at all

The schema is injected with JavaScript, so it requires Google to render the page's JavaScript. If the page has errors that halt JavaScript execution, or JavaScript is blocked, no schema is created. Check the browser console for errors.


Testing whether the schema is there: Open the page and enter its address in Google's Rich Results Test. The test renders the page and reports whether valid review markup is found. The rendered source can also be checked — not "View source" but the browser's Inspect/Elements — for an application/ld+json block with review data.



3. Google's side: when the stars appear in search results


Even with the schema injected flawlessly, Google decides for itself whether to show stars. The following affect that.


3.1 The page has to be indexed and crawled again

Even with the schema in order, Google has to get around to crawling the page again before the stars can appear. This can take from days to weeks. Requesting indexing through Google Search Console speeds it up.


3.2 Showing stars is always Google's decision

Even when every condition is met, Google doesn't guarantee the stars will show. "Valid" in the Rich Results Test means eligibility, not a guarantee of appearing. Google can also show stars irregularly, or only for some searches.



Summary: checklist


  • Only one review-displaying widget active per page
  • No other schema sources (SEO plugins etc.) on the same page
  • The widget is not inside an iframe
  • Cookie consent doesn't block Trustmary's script
  • Cache cleared after the changes
  • The Rich Results Test shows valid review markup
  • The page is indexed / re-indexing requested in Search Console


If all of the above is in order and the stars still don't show, it is most likely Google's own discretion — give the indexing time.

Updated on: 03/09/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!