Skip to main content

Step-by-step guide

How to embed G2 reviews on your website

To embed G2 reviews on your website, paste your g2.com/products/…/reviews URL into Reviews Widget, choose a layout, then copy one script tag into your site. No G2 API access and no developer time required.

Last reviewed by the Reviews Widget product team.

Step 1 — find your G2 link

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

  1. 1Open your product profile on g2.com and click through to the Reviews tab.
  2. 2The URL reads g2.com/products/<product>/reviews. Seller profiles (g2.com/sellers/<seller>) also work.
  3. 3Copy the URL — sort and filter query strings are ignored.
  4. 4Paste it into Add source → G2 in your dashboard.

https://www.g2.com/products/your-product/reviews

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

Sources & further reading

Frequently asked questions

Do I need a G2 licence or API key?+

No. The public product or seller URL is enough.

Can I show only five-star G2 reviews?+

No, and deliberately so. Rating filters would misrepresent the source, so the widget always shows reviews as published.

Does it work on Webflow?+

Yes — drag an Embed element into the Designer and paste the script.

How fresh are the reviews?+

Refreshed daily on paid plans, every three days on the free plan.

Embed your G2 reviews today

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

All how-to guides