Skip to main content
BlooTrue
no code neededunlimited viewsfree forever

Free ConsumerAffairs Review Widgets for Next.js / React

Embed ConsumerAffairs reviews on any Next.js / React page in 60 seconds — next/script component, paste, save. Your company's ConsumerAffairs reviews, on your own website.

Build Your ConsumerAffairs Review Widget

ConsumerAffairs

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

ConsumerAffairs reviews in a Next.js site

An insurance comparison site built in Next.js is reviewed on ConsumerAffairs.

How do I add ConsumerAffairs reviews to Next.js / React?

Load the script once in app/layout.tsx with next/script and strategy afterInteractive, then place the widget's div in the route components that show reviews.

Which routes need reviews on an insurance comparison site?

The quote route and the results page, where a visitor decides whether the savings are real. Reviews about savings found in minutes and no pushy calls answer that. Load the script once in app/layout.tsx with next/script and afterInteractive, and place the widget's div only in those route components. Other routes stay free of the script.

Example

An insurance comparison site in Austin

The quote route shows ConsumerAffairs reviews about savings found in minutes. Visitors compare.

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 ConsumerAffairs 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 ConsumerAffairs Reviews to Next.js / React

Connect your ConsumerAffairs 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

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

Embed ConsumerAffairs reviews on any Next.js / React page with a single copy-paste embed code. Your company's ConsumerAffairs reviews, on your own website. Installs via the next/script component.

Where ConsumerAffairs reviews help most on Next.js / React

Teams building a quote tool, a booking app or a custom storefront on Next.js / React can mount the ConsumerAffairs widget beside the step where a visitor commits: the estimate result, the date picker, the checkout.

It renders inside its own container on any route. ConsumerAffairs reviews are often long and detailed about service, so give the widget a card layout with room to read, and keep it below the main action so it supports the decision rather than pulling attention away. Reserve the container's height so the estimate does not jump as the reviews load.

About ConsumerAffairs reviews in this widget

The ConsumerAffairs widget shows customer reviews of one company from its ConsumerAffairs page, with the rating and the review total ConsumerAffairs shows for that company in the header. ConsumerAffairs groups companies by category, and the address reflects that: consumeraffairs.com/, the category, then the company. A link that does not match a company comes back empty, so the builder says it was not found rather than making an empty widget. The header always carries ConsumerAffairs' own figures, never an average of the reviews shown.

ConsumerAffairs Widget on Next.js / React — FAQ

Does this work with the App Router?
Yes. The loader goes in app/layout.tsx as a next/script component, and the widget div can live in any server or client component.
What if the builder says my link was not found?
ConsumerAffairs returns nothing for an address that does not match a company page, so the builder says so instead of making an empty widget. Copy the address straight from your company's page, including the category part.
Which ConsumerAffairs link does the builder need?
Your company's page, in the form consumeraffairs.com/category/company.html, for example a furniture or moving category followed by your company's name. Open your company on ConsumerAffairs and copy the address. If the builder says the link was not found, check it against the page, since a wrong category or name returns nothing.

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

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

Free ConsumerAffairs Review Widget

What BlooTrue customers say