# In-app feedback, collected where it happens

Canonical: https://feeblo.com/use-cases/in-app-feedback Markdown mirror of: https://feeblo.com/use-cases/in-app-feedback

A user hits friction and has one second of patience. Send them to an email client and the report never arrives. The widget opens your board over the page they were on, with the account already attached.

Try it: https://app.feeblo.com

## Why email loses the report

Feedback that leaves the product loses the thing that made it useful: the screen, the account, and the moment.

- **The tab switch.** The user has to leave the screen where the problem happened. By the time the email client opens, the detail is gone.
- **The missing page.** A report that says billing is broken does not say which plan, which invoice, or which button. Your team guesses.
- **The anonymous ask.** A forwarded email has no account attached. You cannot tell whether the reporter is your largest customer or a trial.

## What the widget is

The Feeblo widget is an iframe in a fixed container, loaded by a script tag or a package. It sits above your page rather than inside your component tree, so opening it does not route the user anywhere.

The SDK scans the page for elements with `data-feeblo-feedback` and rescans every second, so a button that renders after login still binds. The `placement` option adds a launcher in a bottom corner; without it, your own buttons are the only way in.

Three modes decide what opens. `feedback` is the submit form, `updates` is a card-based product updates panel, and `hub` puts both behind one launcher with the order you choose.

The script is async, so the launcher appears after the page renders. The container starts hidden and the iframe only shows when the widget opens, which keeps the page from shifting.

- React setup: https://feeblo.com/install/react
- Script tag setup: https://feeblo.com/install/html

## Context that makes the report actionable

Four facts turn a complaint into a ticket someone can act on.

- **Who.** `identify` takes `id`, `email`, `name`, `avatar`, `customFields`, and `companies`. Only `id` is required.
- **Which page.** A trigger with `data-feeblo-page` records the page as metadata, so the post says where the user was.
- **Which plan.** `data-feeblo-plan`, or any other `data-feeblo` attribute, arrives as a metadata key on the post.
- **Verified or not.** A signed token from your server proves the identity. Without one, the id is self-declared.

## Route feedback to the right board

A board is the container for posts, and the widget can choose one per trigger. Set `defaultBoard` on init to pick the usual board, then override it on a button with `data-feeblo-board`.

A billing page sends posts to the billing board. A docs page sends them to a documentation board. The triage queue that owns that area gets the post without a forwarding step.

Board selection only applies while the feedback module is active, so a hub that opens on updates ignores it until the user switches.

## Identity without a login screen

The user is already signed in to your app. Pass that identity through instead of asking again.

`customFields` map to the contact attributes you define, so a plan tier or a role arrives with the post. `companies` attach the account, which is what makes an enterprise request visible as one.

The same identity can sign the user into your public board. Mark an anchor with `data-feeblo-link` and the SDK adds the token in the URL fragment, which the board removes after login. See https://docs.feeblo.com/developers/identity

## Where in the app the trigger belongs

The button works anywhere. These four places produce the most useful reports, because the user is already thinking about the problem.

- **Empty states.** The user is looking at a blank list. A trigger here turns a dead end into a request with a use case attached.
- **Error screens.** The message just failed. Put the trigger beside the error so the report starts from the failure.
- **Settings.** The user is changing configuration and has an opinion. A trigger in the page header catches it while it is fresh.
- **After a failed action.** The export did not run. This is the moment the user will type the most detail.

## Close the loop in the product

The updates mode opens a card panel of product updates instead of the submit form. Put it behind the same launcher as feedback in hub mode, and a user can check what shipped without leaving the app.

The public roadmap and changelog cover the same work outside the product.

## What reaches your team

Widget events live in the browser of the person who submitted. Close the tab and they are gone, and your server never hears about posts from other people.

Webhooks deliver `feedback.post.created` and `feedback.post.status_changed` to your HTTPS endpoint with Standard Webhooks signatures and retries. The Public API reads the same records, and the MCP server exposes those operations as tools.

## When you are not using the SDK

The widget is backed by four HTTP endpoints under `/api/widget/v1`: suggestions, feedback, boards, and updates.

A non-web frontend can call those endpoints directly instead of loading an iframe. The SDK is the fastest path, not the only one.

- Widget HTTP API: https://docs.feeblo.com/developers/api
- Public API: https://docs.feeblo.com/developers/public-api
- Webhooks: https://docs.feeblo.com/developers/webhooks

## Beyond the web widget

The iframe is the default because it ships the same UI to every framework. Two cases need something else: a mobile app, and a frontend that cannot load an iframe from another origin.

A native client can call the same endpoints directly and render its own form.

Both paths need the same identity work: a signed token from your server, and a stable id for the person posting. The token claims are documented in Widget SSO, and the endpoint shapes are in the widget HTTP API reference.

If the goal is only to collect a post, the Public API is a third option. Create the post from your backend and skip the client entirely.

## Rollout order

Ship the widget in the order that produces a working post at each step. The first version can be one button and one board.

1. **Install the SDK.** Add `@feeblo/sdk`, `@feeblo/sdk-react`, or the script tag. One integration path per page.
2. **Mount it once.** Render the provider or call `Feeblo.init` in a component that lives as long as the app shell.
3. **Add triggers where friction happens.** A button on the billing page, a link in the empty state, a menu item in settings. Each one can carry its own metadata and board.
4. **Subscribe, then close the loop.** Listen for submissions in the product, and send status changes to your team with webhooks or the Public API.

## In-app feedback FAQ

### Does the widget load with our app bundle?

No. The widget is a separate package or script that mounts a fixed container and an iframe. Your app's bundle does not include the widget UI, and the React bindings add only the provider and hooks.

### How do we know who sent the feedback?

Call `identify` with the user's `id`, `email`, and `name`, or pass the `user` prop to `FeebloProvider`. Add a signed token minted on your server when the identity has to be verified rather than typed.

### Will it work with our framework?

feeblo ships `@feeblo/sdk` for any JavaScript app and `@feeblo/sdk-react` for React and Next.js. A plain script tag covers pages without a build step. The widget UI itself is the same in every case.

### How do we react to feedback on the server?

Widget events fire in the browser of the person who submitted. For server-side work, subscribe to the `feedback.post.created` and `feedback.post.status_changed` webhooks, or read the same records through the Public API.

### Can we point the widget at our own host?

Yes. `baseUrl` overrides the widget host, which is what a self-hosted installation needs. The default host is app.feeblo.com.

## Next

- Feature request management: https://feeblo.com/use-cases/feature-requests
- All use cases: https://feeblo.com/use-cases
- Feedback boards: https://feeblo.com/features/feedback
- Roadmap: https://feeblo.com/features/roadmap
- Changelog: https://feeblo.com/features/changelog
