Add a feedback widget to a Lovable app

Your users get a Feedback button that can record their screen. You get the report with the page, the browser and the errors, ready for Lovable or any AI agent to read. Takes about two minutes.

1Create a project

In the Uups dashboard create a project, then open Install & settings. Under Allowed origins add every address the app runs on:

https://*.lovable.app
https://*.lovableproject.com
https://www.your-domain.com

The first two cover the published app and the preview inside the Lovable editor. Leave out the ones you don't use.

2Let Lovable add it

In Install & settings → Install the widget, pick the Lovable tab and copy the prompt. Paste it into your project's Lovable chat. Lovable adds the script to index.html and tells you what it changed.

Prefer to do it by hand? Open index.html in Lovable's code view and paste this right before </body>, with your project key:

<script src="https://uups.dev/widget.js" data-project-key="pk_…" async></script>

3Publish

The button shows up in the editor preview right away. Real users only see it after you click Publish (or Update) in Lovable.

4Know who sent it (optional)

If the app has sign-in (for example Supabase auth), tell the widget who is logged in. Reports then show the user's email, and you can reply to them. Ask Lovable:

After the user signs in, call
window.FeedbackWidget?.identify({ id: user.id, email: user.email, name: user.user_metadata?.full_name })
and call window.FeedbackWidget?.identify(null) on sign-out.

To mark reports as verified, the user id has to be signed on a server with the project's identity secret, for example in a Supabase Edge Function. See Identity verification in the docs.

5Try it

Open the published app, click Feedback, describe something and record a few seconds. The report appears in your inbox within seconds. From there, connect Lovable, Cursor or Claude Code over MCP so they can read it.

Stuck?

  • No button on the page: check that the script is on the live site (view the page source and search for widget.js), and that "Show floating button" is on in the project settings.
  • "This website is not allowed" when sending: add the site's address to Allowed origins in the project settings, exactly as it appears in the address bar (scheme and domain, no path).
  • No screen recording option: recording works in desktop Chrome, Edge, Firefox and Safari. On phones and tablets people can still send text and screenshots.
  • Still nothing? Email hello@uups.dev with the page address.