Feedback Inbox

Docs

One script tag collects feedback with the visit it came from. Your coding agent reads it over MCP, fixes what makes sense, and tells the person what changed.

1. Add the widget

Each app gets a public key on its Setup page. Put the tag anywhere in the page; it loads after everything else and adds a Feedback button.

<script src="https://feedback.n34t.com/widget.js" data-key="pk_..." data-release="GIT_SHA" async></script>

Each message arrives with the page, device, release, recent errors and clicks, and a timeline of the visit: pages, button and link labels, errors, failed requests, freezes and which form fields were used. It never records typed text, request bodies, query strings or cookies, and nothing is sent until someone sends feedback. Visitors with Do Not Track or Global Privacy Control on aren't recorded.

Options

data-keythe app's public key (required; safe in page source, it can only send)
data-releasebuild sha or version, so agents can tell whether something is already fixed
data-button="false"no floating button: call FeedbackInbox.open() from your own UI
data-replies="app"no reply panel either: replies go to FeedbackInbox.onReply for your UI to show
data-position="bottom-left"button position; data-label and data-accent="#0a7" change its text and color
data-theme="dark"panel theme, dark or light (default follows the visitor's system)
data-capture="errors"also report errors and failed requests without a message, so problems seen in two or more visits open items; "off" records nothing
data-sample="0.2"record a fifth of visits
data-context-params="tab,step"send these query parameters, and only these, with each message (custom context "?tab"); names that look like secrets are never sent
data-test="true"mark messages as tests
data-feedback-mask, data-feedback-ignoreon any element: hide its label, or don't record it at all

2. Add context from your app

Calls made before the script loads are queued.

window.FeedbackInbox = window.FeedbackInbox || [];
FeedbackInbox.push(["setContext", { screen: "checkout", custom: { plan: "pro" } }]);
FeedbackInbox.push(["track", "started checkout"]);        // shows in the visit's timeline
FeedbackInbox.push(["signal", "cart empty after add"]);   // a problem only the app can see
FeedbackInbox.push(["identify", { contact: "a@b.co" }]);  // prefill the email field
FeedbackInbox.open();                                     // after load
await FeedbackInbox.send({ text: "..." });                // your own form, no panel

Apps with their own form, or a server, can post to POST /api/v1/feedback with { key, text, contact?, anonId?, context? }. Pass a stable anonId per device to get replies back from GET /api/v1/updates?key=pk_...&anon=....

3. Connect your coding agent

One account key gives your agent every app you own. Add it once, at user scope, so it stays out of your repos. Other MCP clients use the same URL and header.

claude mcp add --scope user --transport http feedback https://feedback.n34t.com/api/mcp --header "Authorization: Bearer ak_..."

Then tell the agent which app a repo is, in its CLAUDE.md (the Setup page has the lines filled in):

Feedback project: my-app

The agent gets tools to see an overview and stats by release, list and read items with the visit behind them, triage, mark duplicates, claim, resolve with a reply, and reopen. It closes items itself; you review what it closed afterwards and reopen with a note when needed.

Games and apps with their own UI

Keep the widget invisible and still record the visit, ask for feedback from your own dialog, and show the reply in your own UI. Clicks on a canvas aren't recorded, so use track and signal for the moments that matter.

<script src="https://feedback.n34t.com/widget.js" data-key="pk_..." data-release="GIT_SHA"
        data-button="false" data-replies="app" async></script>

FeedbackInbox.push(["onReply", (r) => {   // { id, outcome, wrote, message }
  showMyDialog(r.message, () => FeedbackInbox.ackReply(r.id));
}]);

Support chat

Turn it on in an app's settings and the button becomes Help: a chat with an assistant that answers from the help text you write there, knows which page the person is on and what just failed, and hands anything it can't answer to you. When a chat goes quiet, what matters in it lands in the inbox as ordinary items your agent works. No change to the script tag is needed. Optionally, a tip offers help once per visit right after something goes wrong.

It also reuses the answers you gave to earlier questions, and you can let it read your public site (docs, pricing, FAQ) and the page the person is on. Page text is used for that reply only; mark anything personal with data-feedback-mask first.

// If the page knows who's signed in, replies can go to their email without asking:
FeedbackInbox.push(["identify", { contact: "person@example.com" }]);   // or data-contact="..."

// Keep the plain form on one page, or turn the help tips off (games):
<script ... data-chat="off"></script>
<script ... data-nudge="off"></script>

Safe by default

Feedback is written by strangers and read by an agent that can change your code. Message text reaches the agent wrapped and marked untrusted, never as instructions. Messages that address an AI, or carry links, commands, code or hidden characters, are flagged, and an agent's resolution of them waits for your approval. Reporters' email addresses are never shown to agents.

Limits

10 messages per IP per 10 minutes and 500 per app per day. Visit events are kept 14 days and visits 30. Set allowed origins per app (wildcards like https://*.example.com work) so only your sites can send with its key. For traffic numbers, use your host's analytics; this is for what people wrote and what broke.