Skip to main content
no code neededunlimited viewsfree forever

Free G2 Review Widgets for Next.js / React

Embed G2 reviews on any Next.js / React page in 60 seconds — next/script component, paste, save. Real G2 stars — the B2B software buyer's strongest trust signal — on your own site.

Build Your G2 Review Widget

G2

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

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 G2 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

The same widget, built from whichever platform your reviews live on. Free plan on every one.

Reviews on more than one platform? Blend them into one widget

How to Add G2 Reviews to Next.js / React

Connect your G2 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 ComponentG2: Review Activity

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

Embed G2 reviews on any Next.js / React page with a single copy-paste embed code. Real G2 stars — the B2B software buyer's strongest trust signal — on your own site. Installs via the next/script component.

Where G2 reviews help most on Next.js / React

Software companies with a custom-built marketing site tend to put the G2 widget in three places: the home page below the hero, the pricing page above the plans, and the sign-up page beside the form.

The sign-up page is the one teams forget, and it is where a visitor about to create an account has one last doubt. Keep the widget out of the product itself; logged-in users do not need to be sold to again. Give it a container with a sensible maximum width so it does not stretch across a wide pricing layout, and match its theme to the site's light or dark mode.

About G2 reviews in this widget

Your G2 widget lists the reviews from your G2 product profile and puts the star rating and review count G2 reports for that profile in the header. Both figures are read from G2, not averaged from the reviews on the page. G2 verifies the people who leave those ratings, which is why software buyers check them before booking a demo. The mistake to avoid is treating a G2 badge as an embed. G2 badges are image files with no review text behind them, so a visitor learns nothing beyond the logo. The widget shows the reviews themselves.

G2 Widget on Next.js / React — FAQ

Is the BlooTrue G2 review widget free for Next.js / React?
Yes. BlooTrue is completely free to embed G2 reviews on Next.js / React. No plugin, no recurring fee, unlimited views. The free plan shows your reviews with BlooTrue branding in the footer; paid plans remove the branding.
How do I install the widget on Next.js / React?
In app/layout.tsx import Script from next/script and add the BlooTrue loader once inside the body, with strategy set to afterInteractive. Drop the widget div into any page or component where the reviews should appear. Change class to className on that div — the snippet is HTML and JSX will not accept class. Deploy. The loader watches the DOM, so the widget survives client-side navigation too.
Anything specific to Next.js / React worth knowing before I embed?
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 should I place G2 reviews on Next.js / React for the biggest lift?
Under the hero on the landing page and beside the pricing CTA — on SaaS and agency sites the proof belongs at the decision point.
Do the reviews stay up to date automatically?
Paid plans auto-sync your G2 reviews daily, so the widget always shows your latest 5-star reviews without touching Next.js / React again. The free plan shows the reviews imported at setup.
We have two products listed on G2, can each one get its own widget?
Each widget reads one G2 product profile, the page at g2.com/products/your-product/reviews, so two products means two widgets with two URLs. The free plan includes a single widget, so start with the product your site promotes most; the header will carry that product's own G2 rating and review count.
Which number sits at the top of the G2 widget?
The star rating and review count from your G2 product profile, as G2 publishes them. BlooTrue does not build a new average from the G2 reviews it displays. Since the free plan lists only your G2 reviews of four stars and up, the header can read lower than the reviews under it, because G2 counts the lower ratings too.
What do I give up by using the free plan for G2 reviews?
Two things. A small BlooTrue badge appears on the widget, and the widget keeps the G2 reviews present when you created it rather than fetching new ones. There is no card to enter and no view limit. Paid plans remove the badge and check your G2 profile every day for reviews added since.

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

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

Free G2 Review Widget