Tech Stack Guides

How to Tell If a Website Uses Trustpilot

Trustpilot is the leading independent reviews platform. Detect it via TrustBox widgets from widget.trustpilot.com, the trustpilot-widget div with data-businessunit-id, and invitejs.trustpilot.com.

StackOptic Research Team27 May 20266 min read
Detecting Trustpilot via TrustBox widgets and the data-businessunit-id attribute

Trustpilot is the best-known independent reviews platform, the source of the green star ratings and review widgets businesses display to build trust. Because its widgets load from a distinctive domain and carry an identifying business ID, detecting it is straightforward: look for a trustpilot-widget div with a data-businessunit-id and the bootstrap script from widget.trustpilot.com. This guide covers every reliable signal, the widget architecture behind them, the look-alikes to rule out, and what Trustpilot usage tells you about the business.

What is Trustpilot?

Trustpilot is an independent, third-party reviews platform where consumers leave reviews of businesses, and businesses display those reviews and star ratings on their own sites via embeddable widgets. Its independence is the point: unlike on-site reviews a company controls, Trustpilot reviews live on a neutral platform, which makes them a stronger trust signal. Businesses use Trustpilot to collect reviews (often by automatically inviting customers after a purchase), to display ratings on their site and in Google (via Trustpilot's seller-ratings integration), and to manage their reputation. It is especially prevalent in ecommerce, financial services, travel, insurance and online services, where trust drives conversion.

For detection, the key context is that Trustpilot signals a business that invests in reputation and third-party social proof. Finding it tells you the company actively uses external reviews to build trust and convert visitors. Because its widgets load from Trustpilot domains and embed a business-unit ID, it is easy to confirm — and the ID even lets you look up the company's Trustpilot profile. Its presence marks a trust-and-reputation-conscious business.

How Trustpilot loads and renders

Trustpilot's on-site presence is the TrustBox widget family: star ratings, review carousels, micro-review badges and more. Each TrustBox is a <div class="trustpilot-widget"> configured with data attributes — data-businessunit-id (the company's Trustpilot profile), data-template-id (which TrustBox style), data-locale, data-style-height/data-style-width and data-theme. These widgets are rendered by a bootstrap script loaded from widget.trustpilot.com/bootstrap/..., which fetches the review data and injects the widget (often as an iframe).

Separately, many businesses use Trustpilot's Automatic Feedback Service (AFS), which loads from invitejs.trustpilot.com and triggers review invitations after a purchase or conversion. So a Trustpilot site shows the trustpilot-widget div with a data-businessunit-id, the widget.trustpilot.com bootstrap script, and possibly the invitejs.trustpilot.com invitation script. The presence of invitejs indicates the business actively collects reviews, not just displays them. Knowing these — the TrustBox markup, the business-unit ID, the widget.trustpilot.com bootstrap, and the invitejs.trustpilot.com invitations — makes detection quick and informative.

How to tell if a website uses Trustpilot

Confirm at least one strong signal.

1. Inspect the widget. Find a Trustpilot star rating or review widget and inspect it. A <div class="trustpilot-widget"> with a data-businessunit-id is the definitive signal.

2. Check the Network tab. Filter for trustpilot. The bootstrap script from widget.trustpilot.com, and any invitejs.trustpilot.com script, confirm Trustpilot.

3. View the source. Search for trustpilot. The trustpilot-widget div and the widget.trustpilot.com script reference are usually visible.

4. Read the business-unit ID. The data-businessunit-id identifies the company's Trustpilot profile (you can look it up at trustpilot.com).

5. Note review collection. A request to invitejs.trustpilot.com indicates the site automatically invites customers to review.

What the Trustpilot signals look like

<div class="trustpilot-widget" data-locale="en-GB" data-template-id="5419b6a8b0d04a076446a9ad" data-businessunit-id="4a1b2c3d4e5f6g7h" data-style-height="24px">
  <a href="https://www.trustpilot.com/review/example.com">Trustpilot</a>
</div>
<script src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js" async></script>
<script src="//invitejs.trustpilot.com/tp.min.js"></script>   <!-- review collection -->

The trustpilot-widget div with a data-businessunit-id, plus the widget.trustpilot.com bootstrap, is conclusive.

Trustpilot versus other review tools — avoiding false positives

Match the domain to keep review platforms distinct. Trustpilot is an independent reviews platform using widget.trustpilot.com/invitejs.trustpilot.com and the trustpilot-widget div; Loox, Okendo, Stamped, Yotpo and Judge.me are mostly on-site product-review apps (often Shopify) using their own domains; Feefo and Reviews.io are other independent reviews providers; Google Customer Reviews is separate. The key conceptual distinction is independent platform reviews (Trustpilot, Feefo) versus on-site product reviews (Loox, Okendo, Stamped, Yotpo). Trustpilot's data-businessunit-id and trustpilot.com domains are unique to it. A business may run both a Trustpilot widget (for company trust) and a product-review app (for product-level reviews), so finding Trustpilot does not exclude the others.

How reliable is each Trustpilot signal?

The trustpilot-widget div with a data-businessunit-id and the widget.trustpilot.com bootstrap are definitive. The invitejs.trustpilot.com script conclusively indicates active review collection. The business-unit ID reliably identifies the profile. The weakest situation is a widget that lazy-loads on scroll, so check where ratings are displayed (often the header, footer, product or checkout pages). As a rule, the trustpilot-widget div or the widget.trustpilot.com script settles it, and the presence of invitejs tells you whether the business collects reviews or merely displays them.

What Trustpilot usage reveals about a business

Finding Trustpilot signals a business that invests in reputation and third-party trust. Displaying independent reviews is a deliberate trust-and-conversion strategy, common where buyers are cautious — ecommerce, financial services, travel, insurance and online services. The presence of the invitation script (invitejs) is especially telling: it means the business runs a managed reputation programme, actively soliciting reviews rather than passively displaying them, which indicates a more mature, customer-feedback-driven operation. The business-unit ID lets you look up the company's actual Trustpilot rating, adding real intelligence (a high rating prominently displayed signals confidence; a business collecting but barely displaying reviews may be building up). If you sell reputation, CRO, ecommerce or trust-related tools, a Trustpilot site marks a reputation-conscious buyer.

What finding Trustpilot means for sales, agencies and competitive research

For sales and prospecting, Trustpilot marks a reputation-and-trust-conscious business — a fit for CRO, reputation-management, ecommerce and trust-signal tools. The invitation script flags an active reviews programme, and the business-unit ID lets you check the actual rating to gauge satisfaction.

For agencies and consultants, finding Trustpilot tells you the client values social proof, so engagements can optimise how and where trust signals are displayed (placement on product and checkout pages lifts conversion), or improve review collection.

For competitive and market research, Trustpilot ratings (lookup via the business-unit ID) give a direct, comparable measure of customer satisfaction across competitors, and the prominence of trust widgets indicates how much each leans on social proof.

Trustpilot in the wider stack

Trustpilot sits in the trust/social-proof layer. On ecommerce it accompanies the store platform (often Shopify or Magento), frequently alongside an on-site product-review app (Loox, Okendo, Yotpo, Stamped) that handles product-level reviews while Trustpilot handles company-level trust. It pairs with conversion tools, email/retention platforms, and analytics. On finance and services sites it sits with lead-gen and trust elements. For an auditor, the valuable details are the business-unit ID (and the actual rating it reveals), whether review collection (invitejs) is active, whether a separate product-review app also runs, and where the trust widgets are placed; together these reveal how seriously the business manages reputation and how it uses social proof to convert. The business-unit ID deserves special emphasis as an intelligence asset: because it links straight to the company's public Trustpilot profile, a Trustpilot detection is one of the few tech-stack findings that immediately yields a comparable, third-party measure of customer satisfaction. Across a competitive set, collecting each rival's business-unit ID and the rating behind it turns a simple "they use Trustpilot" into a benchmarked view of who is actually trusted by customers — far more valuable than the tool detection alone.

A quick Trustpilot confirmation walkthrough

Open the site and look for a Trustpilot star rating (often in the header, footer, product pages or checkout). Inspect it: a <div class="trustpilot-widget"> with a data-businessunit-id confirms Trustpilot. Open the Network tab, filter for trustpilot, and confirm the widget.trustpilot.com bootstrap script; note any invitejs.trustpilot.com script (review collection). Read the data-businessunit-id and look it up at trustpilot.com to see the company's actual rating. The TrustBox div or the bootstrap script confirms Trustpilot.

A quick Trustpilot detection checklist

  • Inspect a star-rating widget for div.trustpilot-widget with data-businessunit-id — conclusive.
  • Filter the Network tab for trustpilot; the widget.trustpilot.com bootstrap confirms it.
  • Note any invitejs.trustpilot.com script (active review collection).
  • Read the data-businessunit-id to look up the company's Trustpilot profile and rating.
  • Distinguish independent reviews (Trustpilot, Feefo) from on-site product reviews (Loox, Okendo).
  • Note where trust widgets are placed and whether a product-review app also runs.

Detecting Trustpilot at scale

Checking one site is quick, but mapping reviews-platform adoption across many domains — to find reputation-conscious businesses or benchmark trust strategies — calls for automation. StackOptic detects Trustpilot and thousands of other technologies from a real browser, reading widgets, scripts and business IDs. For related reading, see our guide to getting more Google reviews and the full Trustpilot technology profile.

Frequently asked questions

What is the fastest way to tell if a site uses Trustpilot?

Look for a Trustpilot star-rating widget on the page, then inspect it: a div with class trustpilot-widget and a data-businessunit-id attribute, loaded by a bootstrap script from widget.trustpilot.com, is the definitive signal.

What is a TrustBox?

TrustBox is Trustpilot's family of embeddable widgets (star ratings, review carousels, micro-review badges). Each is a div.trustpilot-widget configured with data-template-id, data-businessunit-id and data-style-* attributes, rendered by the widget.trustpilot.com bootstrap script. Finding a TrustBox confirms Trustpilot.

What does the data-businessunit-id reveal?

data-businessunit-id is the identifier of the company's Trustpilot business profile. It tells the widget whose reviews to display, so finding it confirms Trustpilot and lets you look up the company's Trustpilot page directly.

What is invitejs.trustpilot.com?

invitejs.trustpilot.com is Trustpilot's automatic feedback (AFS) script that invites customers to leave a review after a purchase. Seeing it indicates the site not only displays Trustpilot reviews but actively collects them, a sign of a managed reputation programme.

What does it mean if a site uses Trustpilot?

Trustpilot is the leading independent consumer-reviews platform. Finding it signals a business that invests in third-party social proof and reputation — displaying star ratings and reviews to build trust — common in ecommerce, financial services, travel and online services.

Analyse any website with StackOptic

Get the full technology stack, performance, security and SEO report in seconds — free.

Analyse a website

Related articles