Add a TrustBox widget to a webpage

This feature is included in the Free plan

Get started now

TrustBoxes are our widgets. You can embed these stand-alone applications in your website to show your most recent reviews, TrustScore, and star ratings. This guide shows you how to do it. 

There are several different TrustBox widgets you can add to your website. Show your favorite reviews in one widget, your latest reviews in another, or create several targeted widgets that display reviews that are relevant to a specific segment of your customers.

Note: If you're using AMP pages, we recommend using our TrustBox Signature widget or TrustBox Newsletter widget instead, or alternatively, creating your own custom TrustBox widget using our API. 

Choose a TrustBox widget

The first step is to choose a widget. There are a lot of layouts and functionalities to choose from, so pick the widget that best suits your business's needs. You can learn about them all here

In Trustpilot Business, go to Showcase > Website widgetsBrowse all the options, or use the recommendation tool at the top of the page to select one. 

Configure your TrustBox widget

Now that you've chosen your widget, it's time to configure it. Under Customize, you'll see some configuration options.

Location

Choose the location you would like the widget to display reviews for. Select All locations, or just one specific location.

Note: This setting will only be visible if you have access to Location Review TrustBox widgets

Select your reviews

Select the reviews that you want to display in the widget. You've got four options to choose from:

Review filter Description Text shown in widget
Your latest reviews Displays reviews in reverse chronological order, starting from your latest review Showing our latest reviews
Your reviews by star rating Displays the star ratings that you select. For example, all 3-, 4-, and 5-star reviews. Showing our 3, 4, & 5 star reviews
Your favorite reviews Manually select your favorite reviews to display in the TrustBox Showing our favorite reviews
Your reviews by tag Select tagged reviews to target a specific audience. You can select one tag per TrustBox. Showing our favorite reviews

Keep in mind that when you choose to filter reviews in your widget, you don't show consumers the full, accurate picture of all your customers' opinions. We recommend displaying all your reviews - even the negative ones.

Customize your TrustBox widget

You can customize the configuration of your widget to fit your website's design. Your setting options are: Widget language, Width, Height, Font, Theme and Font color.

Implement your TrustBox widget

You've chosen and configured your widget. It's time to put it on your website.

  1. Once you're happy with all your widget's settings, click Get Code. Share instructions, so you can send it to yourself or your developer.

  1. The first set of code you'll see is the widget's script. Click Copy code, then paste it into the <head> section of your website. You only need to do this once, even if you're adding multiple widgets.

  1. The second set of code you'll see is the widget's html code. Click Copy code, then paste it into the <body> section of your website, where you'd like it to be displayed.

Other implementation methods

  • If your website uses WordPress, try our WordPress integration to install a widget. This method doesn’t require coding: rearrange, customize, and publish all in one place.
  • If you have limited access to the source code, use Google Tag Manager (GTM) to add the widget as a custom script.
  • If you can't put the script in the <head> section, you can put it in the <body> section, before the HTML. Keep in mind that this may impact your website's performance.

Previous Introduction to TrustBox widgets

Up next TrustBox widgets - FAQ