Skip to main content

Step-by-step guide

How to embed Trustpilot reviews on your website

To embed Trustpilot reviews you paste your Trustpilot profile URL into Reviews Widget, style the grid, then copy one script tag into your site. It works on every CMS because the widget renders inside a Shadow DOM.

Last reviewed by the Reviews Widget product team.

Step 1 — find your Trustpilot link

Everything starts with the public Trustpilot URL. There is no API key, no app install and nothing to configure on Trustpilot itself.

  1. 1Open trustpilot.com and search for your business.
  2. 2Open your public profile — the address bar reads trustpilot.com/review/<your domain>.
  3. 3Copy the whole URL.
  4. 4Paste it into Add source → Trustpilot in your dashboard.

https://www.trustpilot.com/review/yourdomain.com

Step 2 — build and embed the widget

  1. 1Create a free account. Sign up at reviewswidget.app and create your first grid. No card is needed to start.
  2. 2Add the review source. Open Add source in the left sidebar, choose the platform, then paste the listing URL. Reviews import within about a minute.
  3. 3Style the widget. Pick grid, masonry, list, carousel or floating star badge, then set colours, corner style, header text and how many words show before Read more.
  4. 4Copy the embed code. Open Add to your site and copy the single <script> tag. It renders inside a Shadow DOM so nothing inherits or leaks your site's CSS.
  5. 5Paste it into your website. Drop the script into any HTML block — WordPress Custom HTML, Shopify custom Liquid, Wix Embed HTML, Squarespace Code block, Webflow Embed, or straight into your template.
  6. 6Publish and check the stars. Publish the page, then run it through Google's Rich Results Test to confirm the Review and AggregateRating markup is valid.

Where to paste the script on each platform

Where the Trustpilot reviews embed code goes on each website builder
PlatformWhere the embed code goes
WordPressA Custom HTML block in Gutenberg, a Classic Editor text tab, or a sidebar HTML widget
ElementorThe HTML widget inside any section or column
ShopifyA custom Liquid section on the page or product template
WixThe Embed HTML element (Embed a widget) in the Editor or Wix Studio
SquarespaceA Code block on 7.1, with Display Source unticked
WebflowAn Embed element in Designer, then publish
Plain HTMLAnywhere in the body — static sites, Astro, Next.js, Hugo, Eleventy or Jekyll

The exact clicks for each builder are covered in the pillar embed guide — the steps are identical whichever review source you connected.

Step 3 — check your star markup

The widget emits Review and AggregateRating JSON-LD when schema is enabled for that widget. Reviews must be visible on the page for markup to be eligible, and Google decides whether to show a rich result. More detail in review schema explained and star rich snippets.

Before you publish

Connect only a listing you own or are authorised to represent. Reviews appear exactly as published, with the Trustpilot source badge and a link to the original review on every card. Trustpilot is a trademark of its owner; Reviews Widget is not affiliated with Trustpilot.

Sources & further reading

Frequently asked questions

Do I need a Trustpilot Business account?+

No. You paste the public profile URL; nothing is installed inside Trustpilot.

How often do Trustpilot reviews refresh?+

Daily on paid plans and every three days on free, fetching only new reviews each time.

Can I combine Trustpilot and Google reviews?+

Yes — add both to one grid and the widget shows a tab per platform plus an All tab with a combined average.

Embed your Trustpilot reviews today

One script tag, every CMS, no plugins. Start free and upgrade when you add more sources.

All how-to guides