All ContributorsAll Contributors

This is a Trustpilot first-party integration app. The solution provides a review platform for your store.


  1. Install the vtex.trustpilot app in the VTEX account in which you are working;
  2. In your VTEX account's admin, open the App section and select the Trustpilot App box;
  3. Fill in your integration key, provided by Trustpilot, in the fields;
  4. Save your changes.

Using the Trustpilot's Widget component

The trustpilot app also enables Truspilot's widget component to be added to your store theme by adding the trustpilot-micro-review-count block in a template of your choosing.

  1. Using a Developer workspace, open your store's theme directory in your code editor and add the shop-review-interfaces app as a dependency in the manifest.json file:
  "dependencies": {
+    "": "0.x"
  1. Add the shop-review-badge block, exported by the shop-review-interfaces, in a template and block of your choosing, such as the Footer;
  2. Save your changes and link the store theme app;
  3. Once your changes linked, access the admin's Site Editor using the same Developer workspace ({workspaceName}-{accountName} and look for the Trustpilot - Generic Widget block;
  4. When editing the block, add the widget's template id and business unit id value provided by the Trustpilot's widget;
  5. Save your changes;
  6. Access your store's website using the Developer workspace to check out the new component. If no more changes are desired, repeat the steps above in a Production workspace and then promote it to Master.

:informationsource: _The integration key must be provided by Trustpilot.

The trustpilot app also enables Truspilot's widgets to be added to your store theme by inserting the shop-review-badge interface in your layout and then using the trustpilot-widget block in a template of your choosing.

shop-review-badgetrustpilot-widgetAdds a Trustpilot widget in your store.

Block without badge

To use widget without shop-review-badge to landing pages, for example, you can use trustpilot-widget. Therefore, you need to add the following in the manifest.json file.

 "peerDependencies": {
+   "vtex.trustpilot": "1.x"

trustpilot-widget as props

      "title":"Widget TrustPilot",
Prop nameTypeDescriptionDefault value
widthstringChange width of templateundefined
heightstringChange height of templateundefined
themestringChange theme of template light or darkundefined
starsstringChange stars stock of templateundefined
tagstringChange tag of template. More info hereundefined
businessUnitIdstringSet your business codeundefined
templateIdstringSet your template ID5419b6a8b0d04a076446a9ad

Contributors ✨

Thanks goes to these wonderful people:

This project follows the all-contributors specification. Contributions of any kind are welcome!

Did this page help you?