Guide · updated 27 November 2026

How to embed Google reviews in HTML without a plugin

You can embed Google reviews in any HTML page with two lines of code and no plugin: one line marks the spot, the other loads a 9 KB script. This guide covers hand-written pages, static site generators, single-page apps and Webflow.

You need a widget ID. Create a free Featherstar widget first: one widget is free, with no view limit and no cookies.

Create a free widget

1. Paste the two lines

In the Featherstar dashboard choose a layout and click Publish, then copy the code from the Add to your site tab:

<div data-featherstar="YOUR_WIDGET_ID"></div>
<script src="https://cdn.featherstar.app/widget/v1.js" async></script>

Layout, colours, language and which reviews to show are set in the dashboard. When you publish a change there, every page with the code picks it up; you don’t edit the HTML again.

The widget draws itself inside its own isolated area (a shadow root), so your stylesheet won’t clash with it and it won’t restyle your page.

2. Override settings in the code (optional)

Attributes on the div win over the dashboard settings for that one spot:

AttributeValues
data-fs-layoutgrid, list, masonry, carousel, slider, badge, inline (one line of stars), button (“Review us”), popup
data-fs-themelight, dark, auto
data-fs-langa language code such as en or de; page follows your page’s language, visitor the visitor’s browser
data-fs-maxthe number of reviews to show
<div data-featherstar="YOUR_WIDGET_ID" data-fs-layout="carousel" data-fs-max="6"></div>

Forgot you set one? Check my page in the dashboard opens your page and lists any overrides it finds.

3. A badge or popup on every page

Choose Badge with its Position set to a corner, or Corner popup, in the dashboard. Then put both lines just before </body> in the template or include that every page shares. The div can be anywhere in the body, because a floating layout positions itself on the screen.

4. Static site generators

Treat it like any other HTML: the div in the template or content where the reviews belong, the script once in your base layout.

5. React, Next.js, Vue and other single-page apps

Render the div as normal markup and load the script once for the whole app (in Next.js with the Script component). The script scans the page when it loads. If a route renders the div later, during client-side navigation, call this after the route has rendered:

window.Featherstar && window.Featherstar.scan();

Widgets that are already shown are skipped, so calling it more than once is safe.

6. Webflow

  1. In the Designer, open the Add panel and drag a Code Embed element where the reviews belong.
  2. Paste the two lines and click Save & Close.
  3. Publish the site. The Designer canvas doesn’t run the script, so check the published site.

For a floating badge or popup, use Site settings → Custom code → Footer code instead, then publish. Code Embed elements and site-wide custom code need a paid Webflow Site plan or a qualifying Workspace plan.

7. Sites with a Content Security Policy

If your server sends a Content Security Policy, allow https://cdn.featherstar.app in script-src and connect-src (the script fetches your reviews from there). Reviewer photos come from Google’s image servers, so allow https://*.googleusercontent.com in img-src, or switch on privacy mode, which shows initials instead. The widget’s styles live inside its shadow root, so a policy without 'unsafe-inline' in style-src can leave it unstyled.

Widget not showing?

FAQ

Can I get the reviews as real HTML text on a static site?

With the script, the reviews are drawn in the browser. If the review text must be in the HTML itself, WordPress sites can use the Featherstar plugin, which prints them server-side.

Does it need jQuery or a framework?

No. It’s one dependency-free script of about 9 KB.

Does it set cookies?

No cookies and no tracking. More in the GDPR checklist.

Put your Google reviews on your site in five minutes. Featherstar is free for one widget, with no view limit, no trial and no cookies. Pro is €19 a year for the first 100 customers.

Create a free widget

Related guides

Free tools