Skip to content

Use case

Website Feedback Widget

Ask a focused question inside your product. Keep the rating, comment, and page context together so your team can act on it.

The Pollenate Team

A website feedback widget gives visitors a place to rate an experience and explain what needs attention. Pollenate adds that prompt to your site and sends the response to an inbox your product team can review.

Start with one useful question on one important page. Your first milestone is a real response with enough context to understand it.

Choose the prompt for the moment

Where you ask A useful question Widget type
After a setup step Was this step helpful? Thumbs
After using a new feature How was this experience? Emoji or stars
At the end of a support interaction How satisfied are you? CSAT
At a planned relationship check-in How likely are you to recommend us? NPS
When the visitor needs to explain What could we improve? Text

Ratings are a starting point. The optional comment helps distinguish a missing feature from a confusing label or a broken flow. A visitor selects a rating and submits it; a click on a rating is not itself a completed response.

Add the widget to your website

Create an inbox, then create an organization API key with only the collect scope. Use a brand restriction where appropriate. Copy both values into this script:

<script
  src="https://pollenate.dev/widget.js"
  data-inbox-key="YOUR_INBOX_KEY"
  data-api-key="YOUR_COLLECT_KEY"
  data-type="thumbs"
  data-prompt="Was this setup guide helpful?"
  data-theme="auto"
  data-context='{"feature":"onboarding","version":"v2"}'
  data-strip-query-params="true"
  defer
></script>

This creates a floating feedback prompt. It works on pages where you can run custom JavaScript; check the custom-code and content-security settings of your hosting platform. For inline placement, colors, and verification, follow the installation guide. For a component that belongs inside your app, use the React and Next.js guide.

The script runs after the document is parsed when loaded with defer. It still downloads code and makes requests, so measure its effect on your own page instead of assuming it has no performance cost.

Keep the reason and the context together

Pollenate records the page URL with the response. You can also send a context object containing the feature, release, or experiment involved. The example uses data-context; arbitrary data-meta-* attributes are not the widget’s metadata API.

Choose context deliberately. Avoid putting secrets or unnecessary personal information into it. data-strip-query-params="true" removes query parameters from the widget’s tracked page URL, but you should still review the context your application supplies.

Custom metadata travels with the event. It does not automatically create a dedicated dashboard filter for every field. Use the existing inbox and brand organization, inspect individual events, or build the analysis you need through the feedback API.

Verify your first response

  1. Open the page and check the prompt on desktop and mobile.
  2. Select a rating, add a recognizable test comment, and submit.
  3. Check that the request to /collect returns HTTP 201.
  4. Open the destination inbox and verify the score, comment, URL, and custom context.
  5. Navigate to another route and repeat if your app uses client-side routing.

A collect-only browser key can submit feedback. It cannot read collected feedback. Keep keys with administrative or read access out of the page.

Give the feedback somewhere to go

Read new responses, update their status, and link relevant feedback to an issue your team is already working on. Use email or webhook automations to bring events into a wider workflow. A webhook can call a service you control or an integration endpoint; it is not the same as a built-in integration with every destination.

Search comments by meaning when different users describe the same problem in different words. Review the matching responses before deciding they belong to one issue.

Need several questions instead of an in-app prompt? Build a branded feedback form and share it by link, QR code, or embed. Create your widget when you are ready to collect your first response, or review the current plans and limits.

Frequently Asked Questions

What is a website feedback widget?
A website feedback widget is an embedded prompt that collects a rating or comment while someone uses your site. In Pollenate, a visitor selects a rating and submits it to your feedback inbox.
How do I add a feedback widget to my website?
Create an inbox and a collect-only organization API key, then add the script with both values. For React apps, use the PollenateWidget component. Your site must allow the required scripts, connections, and styles.
Can I customize the widget?
Yes. Choose floating or inline placement, a rating type, prompt, colors, font, and thank-you message. Set the theme to auto to follow system dark mode. Test the result on your own site.

Get your first useful response

Add a focused prompt to your product, submit a test response, and see it in your inbox.