Skip to main content

Step-by-step guide

How to embed TripAdvisor reviews on your website

To embed TripAdvisor reviews, paste your listing URL into Reviews Widget, style the grid, then copy one script tag into your website. No plugin or developer needed.

Last reviewed by the Reviews Widget product team.

Step 1 — find your TripAdvisor link

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

  1. 1Search for your property, restaurant or tour on tripadvisor.com.
  2. 2Open the listing — the URL contains Hotel_Review, Restaurant_Review or Attraction_Review.
  3. 3Copy the whole URL, including the -Reviews- segment.
  4. 4Paste it into Add source → TripAdvisor in your dashboard.

https://www.tripadvisor.com/Hotel_Review-g123-d456-Reviews-Your_Property.html

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 TripAdvisor 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 TripAdvisor source badge and a link to the original review on every card. TripAdvisor is a trademark of its owner; Reviews Widget is not affiliated with TripAdvisor.

Sources & further reading

Frequently asked questions

Do I need a TripAdvisor management account?+

No. The public listing URL is all that is required.

How often do reviews update?+

Daily on paid plans, every three days on the free plan.

Can I hide low ratings?+

No. Reviews are shown as published, which is a condition of displaying them.

Embed your TripAdvisor reviews today

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

All how-to guides