This page is about version 1.0.2 of the app, which is not the most recent version. The latest stable version is 2.2.2.
This is a Trustpilot first party integration app. The solution provides a review platform for your store.
Configuration
- Install the
vtex.trustpilotapp in the VTEX account in which you are working; - In your VTEX account's admin, open the App section and select the Trustpilot App box;
- Fill in your integration key, provided by Trustpilot, in the fields;
- Save your changes.
Using the Trustpilot's Micro Review Count component
The trustpilot app also enables Truspilot's Micro Review Count component to be added to your store theme by adding the trustpilot-micro-review-count block in a template of your choosing.
- Using a Developer workspace, open your store's theme directory in your code editor and add the
shop-review-interfacesapp as a dependency in themanifest.jsonfile:
_10 "dependencies": {_10+ "vtex.shop-review-interfaces": "0.x"_10 }
- Add the
shop-review-badgeblock, exported by theshop-review-interfaces, in a template and block of your choosing, such as the Footer; - Save your changes and link the store theme app;
- Once your changes linked, access the admin's Site Editor using the same Developer workspace (
{workspaceName}-{accountName}.myvtex.com/admin/cms/site-editor) and look for theTrustpilot - micro review countblock; - When editing the block, add the
business unit idvalue provided by the Trustpilot's widget; - Save your changes;
- 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.
:information_source: 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-micro-review-count block in a template of your choosing.
| Interface | Block | Description |
|---|---|---|
shop-review-badge | trustpilot-micro-review-count | Adds the Trustpilot micro count widget in your store. |