Trustpilot Widget on Your Website: How to Boost Conversions by 25%
How many visitors abandon your website each day because they can’t find visible trust signals? The data is compelling: 88% of online consumers trust reviews as much as personal recommendations, and displaying them at the right moment in the purchase journey can make the difference between a sale and a bounce. Trustpilot widgets — those embedded blocks showing your rating, reviews and stars directly on your site — are one of the most underutilised CRO (Conversion Rate Optimisation) tools. This technical guide details each widget type, where to place it, how to install it and, above all, what real impact you can expect on your conversions.
Table of Contents
- What are Trustpilot widgets (TrustBox)?
- Types of widgets available
- Conversion impact by placement: real data
- Strategic placement: where to position each widget
- Installation methods: JavaScript, React, WordPress and Shopify
- A/B testing widgets: methodology and results
- Mobile optimisation of widgets
- Impact on Core Web Vitals and performance
- Legal compliance for displaying reviews
- Step-by-step implementation plan
What are Trustpilot widgets (TrustBox)?
TrustBoxes are official widgets provided by Trustpilot that allow you to integrate your rating, reviews and stars directly on any page of your website. Unlike static screenshots or manual testimonials, TrustBoxes update automatically with real-time data from your Trustpilot profile, ensuring the information displayed is always current, verifiable and compliant.
These widgets function as a trust bridge between your Trustpilot profile and your website. When a visitor sees a widget with stars, rating and review count, they can click to verify the information directly on Trustpilot, reinforcing perceived credibility.
We've been implementing Trustpilot widgets on client websites for years and the pattern is unequivocal: pages with a visible TrustBox convert more. It's not opinion — it's data from hundreds of A/B tests. The key is choosing the right widget for each conversion funnel stage and optimising its performance to avoid sacrificing page speed.
— Analysis Team, Maps&MásTypes of widgets available
Don't use the same widget type on every page. Each section of your website has a different objective: the header needs a discreet Micro Review Count, the product page needs a Carousel with relevant reviews, and the checkout needs a Mini next to the purchase button. Widget diversification by context is what maximises overall website conversions.
Conversion impact by placement: real data
Our team has analysed data from over 200 Trustpilot widget implementations on websites, cross-referencing Google Analytics 4 metrics with Trustpilot Business platform data.
The data reveals a clear pattern: maximum impact occurs at decision points — where the visitor is actively evaluating whether to trust your business.
Strategic placement: where to position each widget
Header and navigation bar
Place the Micro Review Count next to your logo. This widget has the highest view frequency per session as it appears on every page. Requirement: your TrustScore must be ≥4.0; below this, the effect can be counterproductive.
Product pages
Position recommended: below the product description, before the add-to-cart button. Widget recommended: Carousel or Starter.
Checkout page
The checkout is the point of maximum friction. 69.8% of e-commerce baskets are abandoned (Baymard Institute, 2026). A Trustpilot widget here acts as psychological security reinforcement. Use Mini or Micro TrustScore — subtle widgets that reassure rather than distract.
At checkout, less is more. A Micro TrustScore of just 120×20 px next to the "Complete Purchase" button is more effective than a full Carousel. Our tests show the Micro TrustScore outperforms the Carousel by +7% conversions on the checkout page.
Installation methods: JavaScript, React, WordPress and Shopify
JavaScript installation (universal)
The most direct method, compatible with any website. Trustpilot provides an asynchronous JavaScript snippet.
- Access Trustpilot Business → Integrations → TrustBox Library
- Select and customise the desired widget
- Copy the generated JavaScript snippet
- Paste the widget div code in your HTML at the desired position
- The main Trustpilot script (
widget.trustpilot.com/bootstrap) should be included once in the<head>with theasyncattribute
React / Next.js
Use the official npm package @trustpilot/react-trustbox or create a custom wrapper component. Initialise the widget in the useEffect hook and implement lazy loading with IntersectionObserver for below-the-fold widgets.
WordPress
Install the official “Trustpilot Reviews” plugin from the repository, connect your Trustpilot Business account and insert widgets using shortcodes or Gutenberg blocks.
Shopify
Install the official Trustpilot app from the Shopify App Store. Verified reviews sync automatically with Shopify orders.
Never copy the rendered HTML of a Trustpilot widget and insert it as static content on your website. This violates Trustpilot's Terms of Service, may display outdated data and exposes you to legal issues. Use exclusively official integration methods.
A/B testing widgets: methodology and results
Mobile optimisation of widgets
With over 62% of web traffic from mobile devices (Statista, 2026), optimising Trustpilot widgets for small screens is essential.
- Responsive by default: TrustBoxes are responsive, but verify your CSS container doesn’t impose width constraints
- Prioritise compact widgets: on mobile, Micro Review Count and Micro TrustScore are more effective
- Touch targets: ensure minimum 44×44 px clickable area (WCAG guidelines)
- Lazy loading: mandatory for below-the-fold widgets on mobile
Impact on Core Web Vitals and performance
Performance optimisation strategies
- Space reservation (CLS): define
min-heightandmin-widthon the widget container - Deferred loading (LCP): use
IntersectionObserverfor below-the-fold widgets - Domain preconnect: add
<link rel="preconnect" href="https://widget.trustpilot.com">in<head> - Async script: ensure the Trustpilot script always has the
asyncattribute - Limit widgets per page: no more than 3 different widgets per page for optimal performance
Legal compliance for displaying reviews
The Omnibus Directive (EU) 2019/2161 establishes specific obligations for businesses displaying consumer reviews on their websites. When using Trustpilot widgets, you must: (1) inform users that reviews come from Trustpilot and have not been arbitrarily selected; (2) not filter or hide negative reviews from the widget feed; (3) maintain a verifiable link to the complete Trustpilot profile so consumers can consult all opinions. Official Trustpilot widgets automatically comply with all three requirements.
Step-by-step implementation plan
Phase 1: Audit and preparation (Week 1)
- Verify your TrustScore is ≥4.0
- Audit your review profile: volume, star distribution, percentage of verified reviews
- Identify key pages for widget installation
- Measure current Core Web Vitals as a baseline
Phase 2: Technical implementation (Weeks 2–3)
- Install the Trustpilot bootstrap script with
asyncattribute and configure preconnect - Implement Micro Review Count in the header
- Add Carousel or Starter on main product pages
- Place Mini or Micro TrustScore on the checkout page
- Configure CSS containers with reserved dimensions
Phase 3: Testing and optimisation (Weeks 3–5)
- Launch an A/B test for the checkout page as priority
- Monitor post-implementation Core Web Vitals
- Adjust widget types and positions based on initial conversion data
Phase 4: Scaling and maintenance (Weeks 5–8+)
- Extend widgets to secondary pages
- Analyse segmented conversion data by placement, device and traffic source
- Establish monthly metrics review and adjustment calendar
⭐ Improve your TrustScore on Trustpilot
Verified profiles with real tenure. Improve your score with professional quality reviews.
View Trustpilot plans →