How to add a Google reviews widget to your website
To add Google reviews to your website, create a reviews widget in Digitap Pro, add your domain to the Domain Whitelist, then click "Add to website" and paste the code on your site. New reviews appear automatically. You never paste the code again.
What you need
You need a Digitap Pro account with a connected location. The widget shows reviews from the platforms you connect (Google, and when connected Facebook, Booking.com, Tripadvisor, Trustpilot).
Five steps to show reviews on your website
- Create the widget. In Digitap Pro open "Widgets", click "Create Widget" and pick a layout.
- Add your domain to the whitelist. In the builder open "Domain Whitelist", add the domain of your live site (for example example.com), then click "Save".
- Copy the embed code. Click "Add to website". In the dialog "Embed reviews on your website" choose "Copy code". You can also use "Copy prompt for AI" or "Send to Your Developer".
- Paste the code on your site. Follow the guide for your platform below. Inline layouts need a box and a script. Floating layouts need only the script once for the whole site.
- Publish and check. Publish the site, then open it in a private window. Site editors and previews may not show the widget.
Two kinds of widgets
Layouts you place inside a page: "Grid", "Carousel", "List", "Masonry". The code has two parts: a box and one script tag.
Floating layouts shown on every page: "Badge" and "Flash". These need only the script tag, added once for the whole site.
The real code (with your widget ID and key) comes from Digitap Pro when you click "Add to website". The snippets below use placeholders only.
<div data-widget-id="YOUR-WIDGET-ID" style="display:block;width:100%;min-height:150px;clear:both;"></div>
<script src="https://app.digitap.pro/widget-embed.js" async data-supabase-anon-key="YOUR-KEY"></script>How the widget works
- New reviews appear in the widget automatically. The code never has to be pasted again.
- The script loads asynchronously and only when the widget is near the visible part of the page. Its styles are isolated, so it does not slow the page down or break the site's design.
- It also works on sites built with React, Next.js or Vue and finds widgets that appear after navigation between pages.
- The widget only loads on domains listed in Domain Whitelist. If the widget does not show, this is the first thing to check.
Guides by website platform
Pick your platform for exact steps to embed Google reviews or show a reviews widget.
How to add Google reviews to WordPress with a Digitap Pro reviews widget. Paste Custom HTML for Grid or Carousel, or add Badge and Flash once in the footer.
WixHow to embed Google reviews on Wix with Digitap Pro. Use Embed HTML for inline widgets, or Custom Code in Body end for Badge and Flash on every page.
ShopifyAdd a Google reviews widget for Shopify with Digitap Pro. Use a Custom Liquid section for inline layouts, or paste the script in the footer for Badge and Flash.
SquarespaceShow reviews on your Squarespace site with Digitap Pro. Use a Code block for inline layouts, or Code Injection in the Footer for Badge and Flash.
WebflowEmbed a Digitap Pro reviews widget in Webflow. Use Code Embed for Grid and Carousel, or Footer custom code for Badge and Flash on every page.
AI buildersAdd a Digitap Pro reviews widget with Lovable, Bolt, v0, Replit, Base44 or assistants like ChatGPT and Cursor. Copy the AI prompt and paste it into the tool.
HTML / otherPaste Digitap Pro widget code into any HTML site or builder that allows scripts. Place the div where reviews should show and the script once before </body>.
Send to Your Developer or Copy prompt for AI
If someone else builds your site, open "Add to website" and use "Send to Your Developer". Digitap Pro emails the code with step-by-step instructions.
If you use an AI builder or coding assistant, use "Copy prompt for AI". The prompt already contains your own code and tells the tool where to put it. See the AI builders guide for the full template.
Troubleshooting
- The site's domain is missing from the Domain Whitelist in Digitap Pro. Adding example.com also covers www.example.com.
- Your platform plan does not allow scripts (WordPress.com, Squarespace, Webflow: see the plan notes on each guide).
- You are looking at the editor or a preview, not the published site. Check in a private window.
- A cache or optimisation plugin serves an old copy of the page. Clear it and reload.
- The site sends a Content-Security-Policy that blocks https://app.digitap.pro.
FAQ
Do I need to update the code when I get new reviews?
No. New reviews appear in the widget automatically. Paste the code once.
Why is my reviews widget blank?
Check Domain Whitelist first. Then confirm you are on the published site, not an editor preview, and that your plan allows scripts.
What is the difference between Grid and Badge?
Grid, Carousel, List and Masonry sit inside a page. Badge and Flash float on every page and need only the script tag once.
Can I add Google reviews to any website?
Yes, if the site lets you paste HTML with a script tag. Google Sites is not supported yet. Use the platform guides or the HTML guide for any other builder.
Last updated: 2026-09-25
Ready to show your reviews on your website?