Add a product review TrustBox widget
Using a widget to display product reviews on your site is an excellent way to show customers that you have great items to offer.
This guide is intended for implementing a product review widget. We also have guides for adding service review widgets and location review widgets.
We have several widgets designed specifically for product reviews to choose from. All are designed to highlight your products and reassure your customers' decision to buy, some even coming with the added bonus of boosting SEO and improving your search engine results. Here’s how to get started:
Customize your TrustBox widget
-
In Trustpilot Business, go to Share & promote > Website widgets > Product reviews.
-
Choose the layout you want to use.
-
Under Customize, enter your Product SKU(s) in the field.
If a product has several SKUs (e.g. different sizes or colors), enter them all, separated by commas. The widget will show the reviews and average star rating for all SKUs provided.
-
You’ll see some customization options, such as language, size, theme, font and star color. Set them according to your preferences.
-
Once you're happy with all the settings, click Get code
Implement your TrustBox widget
-
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.
-
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.
Repeat the same steps as above to generate a new code for each widget you’d like to create.
Advanced Settings
If you’d like to get a bit more technical with your widgets, you can add some custom settings to your set up. Doing so requires coding knowledge, so make sure you know what you’re doing (or ask your developer for help!).
Load reviews dynamically on product pages
If you’d like to tailor the reviews shown on a specific page to match the products featured on that particular page, you’ll need to add a placeholder. To do so, type the programming variable in the SKU field to serve as a placeholder for the SKU value. Now on different product pages, the relevant reviews for the selected product SKUs will be displayed dynamically.
Customize number of reviews shown
Certain widgets allow you to change the number of reviews that are shown. If you’d like to change the number of reviews being displayed, you can add a parameter to the tag, e.g. data-reviewnumber="5". The default number of reviews is 10.
Display product attributes and user-generated photos
You can ask your customers to rate your product attributes to get even more detailed reviews. You can also give them the option of uploading an image of the products they receive from you. These can be displayed in your product review widgets, to add even more valuable content. To display them, you’ll need to give permission here.