Back to Blog
Trustpilot22 November 2026 8 min read

How to Display Trustpilot Reviews on Your Website (2026 Code & Best Widgets)

Step-by-step 2026 guide to adding Trustpilot reviews and TrustBox widgets to your UK website. High-converting placements that boost sales by up to 28%.

Key Takeaway for UK Businesses

Collecting verified reviews consistently improves conversion by up to 28%. Using an automated system with a negative review shield allows your brand to address complaints privately while maximizing 5-star ratings on Trustpilot and Google.

Collecting verified Trustpilot reviews is only half the battle. The other half is displaying those ratings prominently where prospective buyers decide whether to trust you with their money.

Embedding live Trustpilot reviews on your UK website is one of the highest-ROI conversion rate optimisations available. In this guide, we break down the top 3 high-converting widget placements, provide the required embed code, and explain how to avoid conversion-killing mistakes.


Quick Blueprint: The 3 Highest-Converting Placements for UK Websites

Website LocationRecommended WidgetConversion ImpactPrimary Psychological Purpose
1. Header / Hero SectionMicroStar Badge (e.g., ★★★★★ 4.8 / 5)+12% to +18% CTRInstantly reassures first-time visitors within the first 3 seconds of landing.
2. Pricing / Product TablesReview Slider / Carousel+21% Add-to-CartOvercomes price objections with quotes from real UK buyers.
3. Checkout / Booking FormTrustBox Mini-24% Cart AbandonmentEliminates last-second payment anxiety right before credit card entry.

Why Independent Third-Party Social Proof Converts Better

Many UK businesses make the mistake of creating a static "Client Testimonials" page filled with cherry-picked quotes in plain text.

Modern UK consumers are highly sceptical of static quotes because anyone can fabricate them. In contrast, an official Trustpilot TrustBox widget displays:

  • The authentic, recognisable Trustpilot green star branding.
  • A live, dynamic star rating that cannot be manipulated in the site's code.
  • A direct link to your public Trustpilot profile where visitors can inspect genuine buyer reviews.

Data shows that replacing unverified quotes with an embedded Trustpilot widget lifts conversion rates by an average of 28% across UK e-commerce and lead generation websites.


Step-by-Step: How to Install TrustBox Widgets on Your Website

Trustpilot provides embeddable JavaScript widgets called TrustBoxes. Here is the standard implementation process:

Step 1: Add the Trustpilot Bootstrap Script

Add Trustpilot's asynchronous loading script to the <head> of your website or right before the closing </body> tag:

<!-- TrustBox script -->
<script type="text/javascript" src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js" async></script>
<!-- End TrustBox script -->

Step 2: Grab Your Business Unit ID & Template ID

Log in to your Trustpilot Business Account (business.trustpilot.com) and navigate to: Showcase → Website Widgets → Choose a Widget.

Select your preferred format (e.g. MicroStar, Carousel, or Grid). Trustpilot will generate an embed code containing:

  • data-businessunit-id: Your unique UK business identifier.
  • data-template-id: The specific layout design.
  • data-style-height and data-style-width: Display dimensions.

Step 3: Embed the Widget Container

Paste the HTML container directly into your website template where you want the reviews to appear:

<!-- TrustBox widget - MicroStar -->
<div class="trustpilot-widget" 
     data-locale="en-GB" 
     data-template-id="5419b6a8b0d04a00e4085305" 
     data-businessunit-id="YOUR_BUSINESS_UNIT_ID" 
     data-style-height="24px" 
     data-style-width="100%" 
     data-theme="light">
  <a href="https://uk.trustpilot.com/review/yourdomain.co.uk" target="_blank" rel="noopener">Trustpilot</a>
</div>

Platform-Specific Installation Notes

WordPress & WooCommerce

  • Plugin Method: Install the official "Trustpilot Reviews" WordPress plugin from the repository. Connect via your business account to drag-and-drop widgets.
  • Manual Method: Add the script using your theme's header.php or a snippet manager (e.g. WPCode), then paste the widget <div> into any Gutenberg HTML block.

Shopify

  • Install the official Trustpilot Shopify App from the App Store, or edit theme.liquid to insert the script tag and place the widget container in product-template.liquid or cart-template.liquid.

Custom Next.js / React Apps

In modern React and Next.js applications, load the script using next/script with strategy "afterInteractive" and run window.Trustpilot?.loadFromElement(ref) after mount.


The Critical Warning: When Displaying Reviews Hurts Sales

Displaying a Trustpilot widget is only beneficial if your rating is 4.3 or higher (preferably 4.5+ "Excellent").

If your Trustpilot score currently sits at 3.6 or below, embedding a prominent widget on your homepage can actually decrease sales by up to 19%. UK shoppers who might otherwise have purchased will notice the poor rating, click through to Trustpilot, and read negative feedback.

Rule of thumb:

  • Score 4.5 – 5.0: Display prominently across header, hero, pricing, and checkout.
  • Score 4.0 – 4.4: Display on footer and product pages.
  • Score below 4.0: Pause website widgets temporarily until you build up fresh 5-star reviews and bring the average above 4.3.

How to Elevate Your Score Before Embedding

If you need more reviews or need to repair an older score, RevuMate automates post-purchase review requests and screens out dissatisfied feedback privately. In less than 30 days, most UK clients add 20 to 50 verified 5-star ratings, pushing their TrustScore into the "Excellent" bracket.


Related reading:

UK DMCC ACT 2024 COMPLIANT

Automate Your UK Trustpilot Reviews with RevuMate

Stop leaving your public rating to chance. Activate your 14-day free trial to start collecting verified 5-star reviews on autopilot.

14-day free trial No credit card required 100% Trustpilot Guidelines Compliant

Related UK Customer Review & Trustpilot Guides

Legal & Reputation

How to Remove Fake Trustpilot Reviews: UK Business Legal & Reporting Guide (2026)

Read Guide
Trustpilot

How to Respond to Negative Trustpilot Reviews in 2026 (7 Copy-Paste Templates)

Read Guide
Trustpilot

How to Set Up Trustpilot for Your Business in the UK (2026 Step-by-Step Guide)

Read Guide
E-Commerce Strategy

Shopify Trustpilot Review Automation: How UK Brands Collect 5-Star Reviews on Autopilot

Read Guide

Start Collecting Reviews Today

14-day free trial. No credit card required.

Claim Your 14-Day Free Trial