Skip to main content
BlooTrue
no code neededunlimited viewsfree forever

Free Trusted Shops Review Widgets for Next.js / React

Embed Trusted Shops reviews on any Next.js / React page in 60 seconds — next/script component, paste, save. Your shop's Trusted Shops rating and buyer reviews, on your own store.

Build Your Trusted Shops Review Widget

Trusted Shops

Key facts: 60-second install on Next.js / React · free forever, no plugin needed · installs via the next/script component · no view caps on any plan · daily review auto-sync on paid plans · schema.org markup on paid plans

Last updated ·by Mike Ragimov

Trusted Shops reviews in a Next.js storefront

A headless storefront in Next.js for an Austrian sports shop can show its Trusted Shops reviews per route.

How do I add it?

Load the script once in app/layout.tsx with next/script, afterInteractive. Place the div on the routes that need it.

Example

A sports shop in Innsbruck

The cart route renders Trusted Shops reviews about ski bags delivered before the holidays. Buyers who were about to abandon a large order check out instead.

SEO + AI schema · paid plans

Review schema markup, on paid plans

Paid widgets add schema.org Review and AggregateRating JSON-LD to the page they sit on, so search engines and AI answer engines can read your Trusted Shops reviews as structured data. Google does not show review stars for reviews a business shows about itself, so the gain is readability, not stars. The free plan shows the reviews without the schema. See how the schema works

How to Add Trusted Shops Reviews to Next.js / React

Connect your Trusted Shops profile in BlooTrue, pick a style, then paste one embed code into the next/script component on Next.js / React and publish.

  1. 1

    In app/layout.tsx import Script from next/script and add the BlooTrue loader once inside the body, with strategy set to afterInteractive.

  2. 2

    Drop the widget div into any page or component where the reviews should appear.

  3. 3

    Change class to className on that div — the snippet is HTML and JSX will not accept class.

  4. 4

    Deploy. The loader watches the DOM, so the widget survives client-side navigation too.

A raw <script> tag pasted into a component will not execute, which is what next/script is for — and the snippet's class attribute has to become className or React drops it.

Where the Code Goes on Next.js / React

In a Next.js app the snippet splits in two. The loader goes in once, in app/layout.tsx, as a next/script component with strategy set to afterInteractive so it survives client-side navigation.

The div goes wherever the reviews belong, in any page or component. The one edit the pasted code needs is class becoming className, because the snippet is HTML and JSX will not accept class. The widget takes the width of its parent element, so a max-width wrapper is the usual way to size it.

If the widget does not show on Next.js / React

  • If nothing renders, check the div uses className rather than class — React silently drops the class attribute and the loader then finds nothing to mount.
  • A raw script tag pasted straight into a component will not execute. Use next/script with strategy afterInteractive instead.
  • If the widget shows on a hard refresh but not after in-app navigation, the loader was placed in a page rather than in the layout. Move it to app/layout.tsx so it mounts once for the whole app.

Still blank? Our help article Widget not showing covers the checks that apply on every site.

Official documentation: Next.js / React: Script Component

Trusted Shops Review Widget for Next.js / React — Free, No Plugin

Embed Trusted Shops reviews on any Next.js / React page with a single copy-paste embed code. Your shop's Trusted Shops rating and buyer reviews, on your own store. Installs via the next/script component.

Where Trusted Shops reviews help most on Next.js / React

Shops whose storefront developers built on Next.js / React, headless commerce, a bespoke checkout, an app-like catalogue, can drop the Trusted Shops widget into the components where trust is decided: the home page header area, the cart drawer and the order review step.

The loader runs once and the widget renders wherever its container sits, so a developer can place it per route. Keep it out of the product detail template unless the shop has no product reviews at all, since buyers read store reviews there as opinions on the item. Reserve the container's height to avoid layout shift.

About Trusted Shops reviews in this widget

The Trusted Shops widget shows buyer reviews of one online shop from its Trusted Shops profile, with the rating and total Trusted Shops shows for that shop in the header. Trusted Shops runs country sites such as trustedshops.de, .co.uk, .fr and .it, and the builder takes the shop page from any of them. Two things are particular to Trusted Shops: buyers can leave stars without text, and reviewers can hide their names. The page does not carry the shop's name, so the widget starts as 'Trusted Shops shop' until you rename it.

Trusted Shops Widget on Next.js / React — FAQ

Does client-side navigation break the widget?
Not when the loader is placed once in app/layout.tsx with next/script and strategy afterInteractive.
Where do I put the div?
In the route components that should show reviews: home, cart and order review.
How do I avoid layout shift?
Give the widget's container a minimum height that matches the style you chose.

Ready to Put Trusted Shops Reviews on Your Next.js / React Pages?

Free forever. No plugin. 100+ widget styles. Set up in 60 seconds.

Free Trusted Shops Review Widget

What BlooTrue customers say