Skip to main content

tutorials

How to Add User Feedback to a Replit App

To add user feedback to a Replit app, add the UserDispatch widget script tag to your app's HTML file. For Replit apps built with React or Vite, add the script to index.html. For plain HTML apps, add it before the closing body tag. The widget captures bug reports, ratings, and questions with automatic browser metadata.

UserDispatch Team4 min read

Replit makes it easy to build and deploy web apps directly from the browser. With 40 million creators on the platform and Replit Agent automating up to 90% of foundational code tasks, more apps are being built on Replit than ever — but most launch without a feedback mechanism.

Last updated: May 13, 2026

This tutorial shows you how to add a feedback widget to any Replit app.

Step 1: Get your API key

Sign up at userdispatch.com and create an app. Copy the API key (starts with pk_).

Step 2: Add the widget script

Open your Replit project. Find your main HTML file — for most Replit apps, this is index.html or public/index.html.

Add this script tag before the closing </body> tag:

<script
  src="https://userdispatch.com/widget.js"
  data-api-key="pk_your-api-key"
  data-position="br"
  data-trigger-label="Feedback"
  defer
></script>

That's it. Run your Replit app and you'll see the feedback button in the bottom-right corner.

Step 3: Test it

Click the feedback button, submit a test bug report, and verify it appears in your UserDispatch dashboard or via your coding agent.

For Replit apps with multiple pages

If your Replit app uses a framework like React, Vue, or Svelte, add the script tag to the root HTML file that loads the framework. The widget persists across page navigations because it's loaded at the layout level.

Connecting your coding agent

If you export your Replit project to GitHub and work on it locally with Claude Code or Cursor, you can run npx userdispatch init to configure the MCP server automatically. Your agent can then read feedback, triage submissions, and propose fixes. See our getting started guide for full setup details and The Feedback Loop for Vibe Coding for why this matters for AI-built apps.

Pricing

The free tier includes 100 submissions per month, the full MCP server, and the widget. No credit card required.

Try UserDispatch free

Set up AI-powered feedback collection in under two minutes.

Get started

Frequently Asked Questions

Frequently Asked Questions

How do I add a feedback widget to a Replit app?
Add the UserDispatch widget script tag to your Replit app's HTML file. For React or Vite apps, add it to index.html. For plain HTML, add it before the closing body tag. Include your API key as a data attribute. The widget appears as a floating button users can click to submit feedback.
Does Replit have built-in user feedback?
As of March 2026, Replit does not include a built-in user feedback or bug reporting widget for apps you build on the platform. You can add one by integrating a feedback tool like UserDispatch.
What is the best feedback tool for Replit apps?
UserDispatch works well with Replit apps because it installs via a single script tag with no build step required. The widget is under 30KB, renders in a Shadow DOM, and includes an MCP server for AI agent integration. The free tier includes 100 submissions per month.
Can I use UserDispatch with Replit Agent?
Yes. Replit Agent generates the app code, and the UserDispatch widget integrates alongside it. Add the script tag to the HTML file that Replit Agent creates, and user feedback will flow into your UserDispatch dashboard and MCP server automatically.
Does the feedback widget work with Replit Deployments?
Yes. The UserDispatch widget works on any hosted URL, including Replit Deployments. Once you add the script tag to your app's HTML and deploy through Replit, the widget loads and captures submissions from your production users.

Try UserDispatch free

Collect user feedback, bug reports, and feature requests — then let your AI coding agent handle them via MCP.

Get Started
UT

UserDispatch Team

Founders

Related Resources

How to Add User Feedback to a Replit App (2026 Tutorial) | UserDispatch