# In-app feedback, collected where it happens

> Open-source in-app feedback tools: one script tag or an npm package. Users post ideas, vote, chat and find answers without leaving your app.

Source: https://quackback.io/use-cases/in-app-feedback

Add the Quackback widget to your web app with one script tag. Users post ideas, vote, chat with you and find answers without leaving your product, signed in as themselves.

## Ask at the moment of friction

Feedback is most useful right after someone hits a wall. Send them to another site and most won't go. An in-app widget catches the request in context, from a real account, while the details are fresh.

- **Product teams**: Hear from active users, not only the few who find your feedback page.
- **Support teams**: Chat, help articles and feedback in one widget, answered from one inbox.
- **Mobile web**: On phones the widget opens full screen, posting to the same boards as the web.

## From script tag to signed-in feedback

Three steps, and every post arrives with the account behind it.

### 1. Add the snippet

Paste one script tag before the closing body tag, or install the npm package and use its React hooks. The widget loads asynchronously and works for signed-out visitors straight away.

[Install guides for React, Next.js, WordPress and more](https://quackback.io/install)

```
<script>
  (function(w,d){if(w.Quackback)return;w.Quackback=function(){
  (w.Quackback.q=w.Quackback.q||[]).push(arguments)};
  var s=d.createElement("script");s.async=true;
  s.src="https://feedback.acme.com/api/widget/sdk.js";
  d.head.appendChild(s)})(window,document);

  Quackback("init");
</script>
```

### 2. Identify your users

Pass a token signed on your server, and every post, vote and chat is tied to the right account with no second sign-in. Add the session details your team will want, such as plan or app version.

[Identify users](https://feedback.quackback.io/hc/en/articles/55-identify-users)

```
// After sign-in, with a token signed on your server
Quackback("identify", { ssoToken: token });

// Context your team will want with each post
Quackback("metadata", {
  plan: "pro",
  app_version: "2.4.1",
});
```

### 3. Answer from one place

Ideas land on your boards, where others can vote. Chats land in your support inbox, where Quackback AI can answer first and hand off to your team.

[Explore the inbox](https://quackback.io/features/inbox)

## One widget for the whole conversation

- **Feedback and voting**: Users post ideas, vote and comment, and see similar posts before they submit a duplicate.
- **Live chat**: Messenger chat in the same widget. On Pro, Quackback AI can reply first and hand off to your team.
- **Help articles**: Users search your help center from the widget and answer their own questions.
- **What's new**: Your changelog in the widget, where users will actually see it.
- **Signed-in feedback**: Identify users with a signed token, require it if you like, and attach session details to each post.
- **Web and mobile**: A script tag or npm package for the web, with a full-screen layout on phones.

## Frequently asked questions

### What is an in-app feedback widget?

A small panel inside your product where users can share feedback without leaving the page. Quackback's widget lets them post ideas and bug reports, vote on other people's, chat with your team, search your help center and read your changelog.

### How do I add in-app feedback to my product?

Paste Quackback's script tag into your web app, or install the @quackback/widget npm package, which includes React hooks. The snippet is in your workspace settings with your URL already filled in.

### Can I identify the users who give in-app feedback?

Yes. Sign a short-lived token on your server and pass it to the widget, and every post, vote and chat is tied to that user's account. You can require signed identity so nobody can post as someone else, and attach session details such as their plan or app version.

### Does the widget work in mobile apps?

Yes, in a mobile browser. The widget opens full screen on small screens and uses the same boards and user identification as the web version. For native apps, iOS and Android SDKs are a preview that wraps the web widget. Their source is public on GitHub, with no tagged release yet.

### Is the in-app widget free?

The widget is included on every plan, including Free. AI replies in chat start on Pro, and the widget follows each user's language in 13 languages on every plan. You can also self-host the open-source edition with every feature.

## Related

- [In-app widget](https://quackback.io/features/widget): Everything the widget does, tab by tab.
- [Bug tracking](https://quackback.io/use-cases/bug-tracking): Let customers report bugs from inside your app.
- [Feature requests](https://quackback.io/use-cases/feature-requests): Rank what users ask for and tell them when it ships.

Start a free trial: https://app.quackback.io/signup?plan=pro&from=markdown
