Help
Put your reviews on your own website
Widgets show your GatherRatings profile, your review form or your Google reviews on any website. Install the code once: whenever you change the widget in your dashboard, your website updates on its own.
What widgets are
A widget is a small piece of your GatherRatings page that lives on your website. It runs in its own frame, so it can't change your site's styles or scripts, and your site can't break it. Widgets show only public information: your published details and your Google reviews. Private feedback never appears in a widget.
Widget types
Business profile
Show your business, rating and details.
- Full profile: Logo, name, about, contact, address, rating and buttons.
- Compact card: Logo, name, rating and review count. Fits sidebars and footers.
- Rating summary: Average rating, total and the star breakdown.
- Review highlights: A few Google reviews you pick.
- Business information: About, contact details, website, address and hours.
- Profile banner: A wide strip with your branding, rating and a button.
Review collection
Let visitors rate you and leave feedback right on your site.
- Review form: Your review page inside your website: stars, feedback and the Google link.
Review display
Show your Google reviews on your website.
- Review grid: Reviews in columns.
- Review carousel: One review at a time, with arrows.
- Horizontal slider: A row of reviews people can swipe or scroll.
- Vertical list: Reviews one under another.
- Compact testimonials: Short quotes with stars.
- Featured review: One review you choose, large.
- Rating summary: Average rating, total and the breakdown.
- Review cards: Larger cards with name, date and text.
Review displays show your Google reviews once you connect your Google Business Profile (Dashboard → your business → Google reviews). The review form uses your review page exactly as it is: every visitor is offered your Google review link, and the same checks apply.
Create and customize a widget
- In your dashboard, open your business and choose Widgets, then Create widget.
- Pick what it shows (profile, review form or reviews), a layout and a name.
- Customize it: start from a preset (Light, Dark, Minimal, Modern, Professional or your Brand colors), then adjust colors, fonts, sizes, spacing, columns and what's shown. Check desktop, tablet and mobile in the live preview.
- Press Save, then open Embed code and copy it.
Install with JavaScript (recommended)
Paste this where the widget should appear. Use your own code from the Embed code tab: it has your widget's id instead of the placeholder.
<div class="gatherratings-widget" data-widget-id="wYOUR_WIDGET_ID_FROM_THE_EDITOR" data-title="Our reviews"></div> <script src="https://gatherratings.com/embed.js" async></script>
Several widgets on one page? Add one <div> for each; the script only needs to be on the page once. The widget sizes its own height, loads only when it scrolls near view, and works even if the div is added after the page loads.
Install with an iframe
For website builders that don't allow scripts. Set the height that fits your widget.
<iframe src="https://gatherratings.com/embed/wYOUR_WIDGET_ID_FROM_THE_EDITOR" title="Our reviews" width="100%" height="500" loading="lazy" sandbox="allow-scripts allow-same-origin allow-forms allow-popups allow-popups-to-escape-sandbox" style="border:0;width:100%;max-width:100%;" ></iframe>
WordPress and Elementor
- Block editor (Gutenberg): add a Custom HTML block where you want the widget and paste the JavaScript code.
- Elementor: drag an HTML widget onto the page and paste the code.
- On every page (e.g. the footer): paste the code into a footer widget area (Appearance → Widgets → Custom HTML), or into your theme's footer with a code-snippets plugin.
Some security plugins remove scripts from posts; if the widget doesn't appear, use the iframe code instead.
Shopify
- Online Store → Themes → Customize.
- On the page you want, choose Add section → Custom Liquid.
- Paste the JavaScript code and save.
Wix, Squarespace and Webflow
- Wix: Add → Embed code → Embed HTML, choose Code, paste the iframe code and size the box. Wix shows custom code in its own frame, so the iframe code with a fixed height works best.
- Squarespace: add a Code block and paste the JavaScript code. Squarespace allows scripts in Code blocks on its Business and Commerce plans; on other plans, use the iframe code.
- Webflow: add an Embed element and paste the JavaScript code. Custom code shows on the published site, not in the Designer.
Next.js, React and Vue
Add this component to your project, then use it anywhere: it loads the script once, supports several widgets and cleans up on unmount.
"use client";
import { useEffect, useRef } from "react";
const SRC = "https://gatherratings.com/embed.js";
/** <GatherRatingsWidget id="wYOUR_WIDGET_ID_FROM_THE_EDITOR" /> — works in Next.js (app or pages router) and React. */
export function GatherRatingsWidget({ id, title = "Our reviews" }: { id: string; title?: string }) {
const ref = useRef<HTMLDivElement>(null);
useEffect(() => {
if (!document.querySelector(`script[src="${SRC}"]`)) {
const s = document.createElement("script");
s.src = SRC;
s.async = true;
document.body.appendChild(s);
}
const el = ref.current;
return () => {
// Remove the widget when the component unmounts, so it can mount again later.
if (el) {
el.innerHTML = "";
el.removeAttribute("data-gr-mounted");
}
};
}, [id]);
return <div ref={ref} className="gatherratings-widget" data-widget-id={id} data-title={title} />;
}Vue 3 and Nuxt: save this as GatherRatingsWidget.vue and use <GatherRatingsWidget id="…" />. Changing the id loads the new widget.
<!-- GatherRatingsWidget.vue — <GatherRatingsWidget id="wYOUR_WIDGET_ID_FROM_THE_EDITOR" /> in Vue 3 or Nuxt (client side). -->
<script setup>
import { onBeforeUnmount, onMounted, ref } from "vue";
const props = defineProps({ id: { type: String, default: "wYOUR_WIDGET_ID_FROM_THE_EDITOR" }, title: { type: String, default: "Our reviews" } });
const SRC = "https://gatherratings.com/embed.js";
const el = ref(null);
onMounted(() => {
if (!document.querySelector(`script[src="${SRC}"]`)) {
const s = document.createElement("script");
s.src = SRC;
s.async = true;
document.body.appendChild(s);
}
});
// No watcher needed: when the id changes, embed.js notices and loads the new widget.
onBeforeUnmount(() => {
// Remove the widget when the component goes away, so it can mount again later.
if (el.value) {
el.value.innerHTML = "";
el.value.removeAttribute("data-gr-mounted");
}
});
</script>
<template>
<div ref="el" class="gatherratings-widget" :data-widget-id="props.id" :data-title="props.title"></div>
</template>Limit a widget to your own websites
On the Multiple locations and Advanced plans you can list the websites allowed to show a widget (Websites tab). We check the page that embeds the widget on our server; anywhere else it shows a short notice. Browsers occasionally hide the embedding page, in which case a limited widget stays hidden too, and its direct link doesn't show it either.
Widget analytics
The Widgets page shows impressions (the widget actually appeared), interactions, review submissions and the submission rate, plus the websites showing your widgets. We record only the event and the website's address: never anything about the visitor.
Troubleshooting
- Nothing appears: check the widget is on (Widgets page) and that your pages are published.
- “Can't be shown on this website”: add your domain on the Websites tab, or clear the list.
- Cut off at the bottom: with the iframe code, increase its height. The JavaScript code resizes automatically.
- No reviews: connect Google on the Google reviews page and press Sync.
- Changes don't show: websites update within a minute of saving; refresh the page.
FAQ
Questions about widgets
Do widgets slow my site down?
The script is small, has no dependencies, and each widget loads only as it scrolls near view.
Will my site's design break the widget?
No. Each widget runs in its own frame, so your site's styles and scripts can't affect it, and it can't affect them.
Can I hide negative reviews?
Review displays show your latest reviews by default. You can pick specific reviews as highlights, which are labelled “Selected reviews” with a link to all of them on Google.
Simple pricing, no setup fee
Pick a plan and start today. Pay monthly, or yearly to get two months free. Cancel anytime.
Single location
per month
Everything one business needs to collect more Google reviews.
Start single locationMultiple locations
Best for 2–3 locationsper month for up to 3 locations
For businesses with up to 3 locations, and room to grow.
Start multiple locationsAdvanced
Most controlper month for up to 3 locations
Multiple locations plus tools to test, schedule and fine-tune.
Start advanced
NFC review card from See it: NFC review cards
Custom printed cards each See it: custom printed cards
Metal NFC business card See it: metal NFC business cards
Ready to add reviews to your website?
Create a widget in your dashboard and paste one line of code.