AI-built website guide
How to add Google reviews to Lovable, Bolt, or v0
Give the builder an exact placement and your real widget ID, then test the published page, not just the preview.
Updated November 2026
Quick answer
- Copy your widget ID from the Embed dialog in VerifiedWidget. It is the code after
data-verifiedwidget-id=(ordata-widget-id=) in the install code. - Send the builder the prompt below, with your widget ID pasted in and the page named.
- Ask it which files changed, and check that the widget ID is exactly right.
- Publish and open the live page.
What you need
A project in Lovable, Bolt or v0 that you can publish. These tools write the site's code for you instead of offering an Embed element. Lovable's code editor is read-only on the Free plan, so Free users should use chat. Bolt has a code view (the <> icon) and v0 has a Code tab next to the preview. Both builders' help pages describe editing files there.
Install the real widget
Build and save the widget first
Connect the business in VerifiedWidget, pick the layout, and save. Never paste a private API key into a prompt. Your widget ID and the public loader script are the only items the builder needs.
Send a precise prompt
Vague requests like “add Google reviews” often produce invented quotes or sample cards. Try: “On the home page, add a ‘Customer reviews’ section after the services section and before the contact form. Inside it, put an empty div with data-verifiedwidget-id="[your widget ID]". Load https://verifiedwidget.com/widget.js once for the whole site, in index.html or the root layout, with no data-widget-id attribute. Do not invent reviews or add sample review data. Tell me which files changed.”
This placeholder method suits AI builders. The loader script fills any element marked with your widget ID, including ones that appear after a page change.
Check what it generated
Most sites from these builders use React (a code library for building pages). Pasting the dashboard install code straight into a React component is not reliable. Depending on the React version, it may never run. React 19 moves it into the page head instead, so the reviews appear at the very bottom of the page. That is why the prompt uses a placeholder. Check that the generated code has the empty placeholder in your section and the loader script only once. Our React guide shows the exact code.
If you edit by hand, use Lovable's code editor (saving needs a paid plan), Bolt's code view or v0's Code tab.
Publish and test the live page
Each builder has its own Publish button, and later edits need publishing again. Test the exact page on the published domain, not only the preview pane, and check a phone-sized view.
What the builder should end up with
You never need to explain the widget to the builder. It only has to place an empty placeholder where reviews belong and load the VerifiedWidget script once for the whole site. The finished code on your page should look like the example below, with your own widget ID.
- 1
Copy your widget ID
Open Get code in VerifiedWidget and copy the ID after data-verifiedwidget-id.
- 2
Send one clear prompt
Name the page and the section, paste the ID, and say not to invent sample reviews.
- 3
Check the changed files
Ask the builder which files it edited and confirm the ID matches exactly.
- 4
Publish and test
Open the published site, not the preview, on a computer and a phone.
<div data-verifiedwidget-id="YOUR-WIDGET-ID">
<div data-vw-fallback style="font-size:15px;line-height:1.5">
<p style="margin:0 0 12px">Customer reviews of <strong>Your Business</strong>.</p>
<p style="margin:0"><a href="https://verifiedwidget.com/r/YOUR-WIDGET-ID">Read more reviews of Your Business</a></p>
</div>
</div>
<script src="https://verifiedwidget.com/widget.js" crossorigin="anonymous" async></script>AI-builder problems
- You see sample reviews, not yours. The builder made placeholder cards. Ask it to remove any hard-coded review data and use only the VerifiedWidget install code.
- Works after a full reload, not after clicking to another page. These sites change pages without a full reload. If the builder pasted the dashboard script into a component, ask it to switch to the placeholder method above. The loader watches for new placeholders.
- Reviews sit at the very bottom of the page. The script tag ended up in the page head. Use the placeholder in your section instead.
- Two copies of the widget. The builder added both a placeholder and the full dashboard script for the same widget. Keep only one method.
- The edit landed in a component that never renders. Ask the builder to name the component and the page that shows it.
- The preview works but the published site does not. The preview and production hosts differ. If you use the domain allowlist, include the production host.
- Reviews cut off on phones. The builder put the placeholder inside a box with a fixed height. Ask it to remove the fixed height, because the phone layout of a grid or carousel is usually taller.
Tell the builder the symptom and the page, such as “the reviews section is empty on /services”. Do not just say “fix it”. That keeps the parts that already work.
Which review layout works best on an AI-built site
You choose the layout in VerifiedWidget, not in the prompt. The builder only places the empty placeholder, so do not ask it to style the reviews. That keeps your design changes in one place.
- Home page reviews section: a carousel or grid. AI-built landing pages usually have full-width sections that suit both.
- Right under the hero: the hero trust line (Starter plan), with reviewer faces and stars below your headline.
- A pricing or booking section: the button review badge (Starter plan), a single line under the main button.
To switch layouts later, change it in the VerifiedWidget editor and save. The site picks up the change without a new prompt or a republish.
Add a floating badge to every page
A floating rating badge sits in a screen corner on every page. In an AI-built site, that means placing its placeholder in the shared layout, not on one page. Try this prompt: “In the shared layout that wraps every page, add an empty div with data-verifiedwidget-id="[your badge widget ID]". Keep the existing loader script. Do not add any styling to it. Tell me which file changed.”
The badge positions itself, so the div can sit anywhere in that layout. Choose the corner in VerifiedWidget. Bottom right is the default.
Keeping AI edits from breaking the widget
Each time you ask the builder to redesign a page, it may rewrite the section that holds the placeholder. After every big change, ask it to confirm that the placeholder and the loader script are still there. Then check the live page again. Keep your widget ID in a note outside the project, so you can paste it back in if something goes wrong. If you switch to a different widget, copy the new ID from the dashboard. Do not let the builder guess it.
What to say to Lovable, Bolt or v0 if the first try fails
If the first attempt shows sample cards or nothing at all, do not ask for a fresh build. Ask three narrow questions in order: which file holds the review section, where is the loader script included, and does the div carry the exact widget ID. Paste the answers back with the fix you want. Smaller requests keep the builder from rewriting pages that already work.
Free widget or a review plugin for an AI-built site
AI builders have no plugin store like WordPress, so a script-based widget is the usual route. The VerifiedWidget Free plan gives you one widget with 8 core layouts and every theme. It holds up to 30 reviews, refreshed monthly, and 2,000 views a month. Free widgets show a small VerifiedWidget badge, which paid plans can remove. Paid plans add more widgets, all 35 layouts and weekly or daily updates. If you would rather keep code out of the project, link to your hosted reviews page (Starter and above) from a button instead.
Does it work with Next.js and Vite projects?
Yes. The widget runs in the visitor's browser, so it does not care which backend the project uses. Lovable and Bolt projects are usually Vite and React, and v0 projects are usually Next.js. The placeholder method works the same in both. See the Next.js guide if v0 gives you a layout file to edit.
Frequently asked questions
Does the widget work with Vite and React projects from Lovable or Bolt?
Yes. Add the empty placeholder div where reviews belong and load the VerifiedWidget loader script once for the whole site.
How do I stop the builder from inventing reviews?
Say so in the prompt: do not invent reviews or add sample review data. Then check the generated code for hard-coded review text.
Do I need a paid Lovable, Bolt or v0 plan?
Chat-based changes work on free tiers where the builder allows them. Direct code editing and custom domains can depend on your plan, so check the builder's current plan page.
Can I connect my own domain and still show reviews?
Yes. Test the live domain after connecting it. If you use the domain allowlist in VerifiedWidget, add the new domain.
Can Lovable Free users add the widget?
Yes, by asking Lovable's chat to make the change. Direct editing in the Code tab needs a paid plan.
Where is code editing in Bolt or v0?
Bolt documents a code-view icon. v0 documents a Code tab next to the preview.
Why do I see sample reviews instead of mine?
The builder likely created sample cards. Ask it to remove invented review data and use only the VerifiedWidget placeholder and loader.
Why are my reviews at the bottom of the page?
The script tag was moved into the page head. Use the empty placeholder div in your section, with the loader script loaded once for the site.
Can I add a floating review badge to every page of my Lovable site?
Yes. Ask the builder to put an empty placeholder div with your badge widget ID in the shared layout. The badge places itself in a corner.
Can I paste an API key into the prompt?
No. Use only the public embed script from the dashboard, and keep private keys out of prompts and site code.
Add your Google reviews to an AI-built site
Create one free widget, then give your AI builder the exact script and page placement.