Skip to main content
BlooTrue
no code neededunlimited viewsfree forever

Free Salesforce AppExchange Review Widgets for Next.js / React

Embed AppExchange reviews on any Next.js / React page in 60 seconds — next/script component, paste, save. Your app's AppExchange rating and reviews, on your own site.

Build Your Salesforce AppExchange Review Widget

Salesforce AppExchange

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

AppExchange reviews in a Next.js site

An ISV built its marketing site in Next.js and shows AppExchange reviews on pricing and product routes.

How do I add AppExchange 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 Next.js routes should show AppExchange reviews?

Pricing and the product pages, where admins compare the app with alternatives. The homepage can carry a badge with the listing's rating. Load the script once in app/layout.tsx with next/script and strategy afterInteractive, then place the widget's div only in those route components. Remember the listingId in the link is case-sensitive.

Example

An ISV in Seattle

The pricing route shows AppExchange reviews of the app. Admins start trials.

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

Connect your Salesforce AppExchange 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

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

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

Where Salesforce AppExchange reviews help most on Next.js / React

Vendors who build their site or customer portal on Next.js / React can mount the Salesforce AppExchange widget where an admin decides: the pricing route, the trial sign-up and the in-app upgrade screen.

It renders inside its own container and survives client-side navigation once the loader runs. The listing id in the link is case-sensitive, so copy it exactly from the AppExchange address bar when you create the widget. Give the container room for titled reviews with photos, and rename the header from 'AppExchange app' to your product before the route goes live.

About Salesforce AppExchange reviews in this widget

The AppExchange widget shows Salesforce customers' reviews of one app from its AppExchange listing, with the rating and review total the listing shows in the header. Reviews carry a title and often the reviewer's photo. Comments under a review are not shown as the vendor's reply, because the listing does not say who wrote them. The listing page does not give the app's name either, so the widget starts as 'AppExchange app' until you rename it. The listingId in the link is case-sensitive.

Salesforce AppExchange Widget on Next.js / React — FAQ

Will it break server-side rendering?
No. The div is plain markup that renders on the server, and the widget fills it on the client once the loader runs.
Are comments under a review shown as our reply?
No. AppExchange does not say who wrote the comments under a review, so the widget does not present them as the vendor's reply. The review itself, with its title and rating, shows as written.
Which AppExchange link does the builder need?
Your listing's page, appexchange.salesforce.com/appxListingDetail?listingId= followed by its id. Copy the address straight from the browser: the id is case-sensitive, so a retyped id with one letter in the wrong case points nowhere. A search results page or a publisher page is not enough.

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

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

Free Salesforce AppExchange Review Widget

What BlooTrue customers say