Hello! How can we help?

Browse the Trustpilot Support Center to find info on Google Seller Ratings, Rich Snippets, TrustBoxes, Product reviews, plus how-to guides for editing your reviews and account settings

Server-side SEO TrustBox

This article is intended for developers, and requires technical knowledge to implement. Click here for more information about our easy copy-paste variant.

Server-side SEO TrustBox content is crawlable by search engines, and it can be used to display rich snippets in Google search results as well as annotations in Bing.

How to integrate the server-side SEO TrustBox

The server-side SEO TrustBox endpoint will provide you with a markup for your webpage. Retrieve the markup as part of your page generation process, or as a scheduled recurring task. Keep in mind that results are cached for 20 minutes.

Retrieve the markup here:

https://productreviewswidgets.trustpilot.com/?sku={sku}&contentLanguage={contentLanguage}&businessUnitId={buid}&apikey={apikey}&productName={productName}&perPage={perPage}&count={count}&locale={locale}&widgetHeight={widgetHeight}

Then replace the values in the curly brackets as instructed in the following table:

Field

Required

Sample/Example

Description

sku

Yes

id001,id002 or lego-brick-green or 12345

Your list of product SKUs, separated by a comma.

buid

Yes

2400267300006400057a0114

Your business unit id

apikey

Yes

jL97tVnQcXhOef8Jxn2FtUi38oQjwnbX

Your API key

productName

Yes

Fast, red 28 inch bicycle

The product name you want featured in crawlable content, rich snippets, etc.

contentLanguage

No

da

Your language settings. Set to display reviews in particular language(s). If omitted, all languages will be shown by default.

perPage

No

5

The number of reviews you’d like shown per page. If omitted, eight reviews will be shown by default.

count

No

80

The total number of reviews you’d like shown. If omitted, 50 reviews will be shown by default.

locale

No

da-DK

Your preferred settings for date and time display. If omitted, en-US settings will be used by default.

widgetHeight

No

300

Your preferred widget height.  

Stylesheet and JavaScript

Trustpilot will provide you with a stylesheet that fits your markup, as well as a JavaScript with responsive and paging features. The stylesheet is a flexible solution that can be modified, however Trustpilot does not provide support for any of the custom changes you make to stylesheets. But for a complete custom-made solution, we recommend using our API.

The stylesheet can be retrieved as scss, css or minified css using the links below. You may link directly from your website or download, and modify according to your needs.

The JavaScript is available in a plain or minified version, which like the stylesheet, can either be placed directly on your website or downloaded.

Comments

0 comments

Article is closed for comments.