Feedback
Store what people tell you from your own feedback UI, tie it to who they are, and triage it by cohort, plan or company.
You keep your own feedback UI, such as a "Send feedback" dialog, an NPS prompt, thumbs up/down or a bug report form. When someone submits it, send it to datahop. Datahop stores it, links it to the person who wrote it, and gives you one inbox you can slice by anything you know about them: what are enterprise accounts asking for? or what do new users struggle with?
Hand this to your coding agent. It finds your feedback form, or adds a small one, and sends submissions to datahop.
Send feedback
Only message is required.
await datahop.feedback({
message: 'Exporting a report loses my filters',
rating: 2, // any number: 1–5 stars, 0–10 NPS, 1/0 thumbs
category: 'bug', // your own buckets: bug, idea, billing…
email: form.email, // optional contact address
})The current user, their company and the current page are attached automatically. Pass anonymous: true to leave the user off.
It resolves with the feedback id and fails with a message if Datahop didn't accept it. Show a thank-you on success, and keep the user's text on failure so they can try again. It only needs your public project token, so you can call it straight from the browser.
| Field | |
|---|---|
message | What they wrote, up to 10,000 characters (required) |
distinct_id | Who wrote it: the id you pass to identify. Leave it out for anonymous feedback. |
rating | Any number |
category | Your own bucket |
email | A contact address from your form. It isn't saved on the person. |
url | The page or screen it came from |
properties | Anything else: app version, plan, screen size… |
groups | Companies or teams it belongs to, such as { "company": "acme" } |
uuid | Your own id for safe retries. Sending the same id twice stores it once. |
Who wrote it
With a user id, feedback lands on that person's profile and timeline, so every property, cohort and company you know about them applies. Without one, it's kept as anonymous.
Feedback is also recorded as a $feedback event (with $feedback_rating and $feedback_category), so the rest of Datahop works on it:
- chart the average rating over time, broken down by category;
- build a cohort of people who gave a rating of 2 or lower in the last 30 days;
- put a feedback metric on a dashboard.
Triage
Feedback in the sidebar is the inbox, with new feedback first. Each item shows the person, rating, category, company and page.
- Filter by status, category, rating, text or cohort.
- Mark items resolved, or archived for spam and noise. Datahop records who resolved each item and when.
Agents can triage too. For example: "Summarise this week's open feedback from enterprise accounts, group it into themes, and archive the spam."
Switch it off
Feedback is a product you can turn off in project settings. That hides the inbox and its agent tools. Submissions are still accepted, so nothing is lost if you switch it back on.