Feedback widget

Add a feedback tab to your site and let visitors tell you what's broken, what they'd like and what confuses them. Every submission arrives in your project's Feedback inbox with the context you need to act on it:

  • Annotated screenshots. Visitors capture the page and mark it up with a pen, arrows, boxes, ellipses, text labels, numbered markers, highlights, blur and redaction. Annotations can be moved, recoloured and undone.
  • Point at elements. Visitors click the parts of the page they mean, up to 10. You get each element's CSS selector and text, and a numbered pin for each on the screenshot.
  • Screen recordings. Visitors record their tab to show what happened (up to two minutes).
  • Console logs and failed requests. The last 50 console messages, uncaught JavaScript errors and requests that failed or returned 4xx/5xx are attached automatically. Requests to the Cinder analytics tracker are left out, because ad blockers routinely block them.
  • Related errors. Cinder links any errors your app reported on the same page within 10 minutes of the feedback.
  • Browser details. Page URL and title, browser, OS, device, viewport, screen, language and timezone.

The widget loads in a shadow DOM, so your CSS can't break it and it can't change your styles. The launcher script is about 9 KB gzipped, and the screenshot and recording code only loads when a visitor uses it.

Turning the widget on

  1. Open your project and go to Settings → Feedback widget.
  2. Switch on Accept feedback and save.
  3. Check Allowed domains. The widget only loads, and submissions are only accepted, on these hostnames and their subdomains. It starts with your project's domain.
  4. Copy the snippet from the Install card and add it before </body> on every page:
<script defer data-widget="YOUR_WIDGET_ID" src="https://cinderwatch.dev/js/feedback.js"></script>
<script>window.CinderFeedback=window.CinderFeedback||{q:[],open:function(){this.q.push(["open",arguments])},identify:function(){this.q.push(["identify",arguments])},setData:function(){this.q.push(["setData",arguments])}}</script>

The second line lets you call CinderFeedback before the script has loaded. Calls are queued and run once it's ready.

The project's Settings → Install tab can also add the widget for you: turn on Feedback widget there and it's included in the AI prompt and the manual steps for Laravel and WordPress.

Use Try it here on the settings page to send yourself a test without leaving Cinder.

Settings

Setting What it does
Position Bottom right or bottom left.
Launcher style A tab on the edge of the screen, or a round button.
Accent colour and label Match the launcher and Send button to your brand.
Show the launcher Turn off to open the widget only from your own button.
Categories Which of Bug, Idea, Question and Other visitors can pick.
Ask for email Off, optional or required. You need an email to tell someone their feedback was resolved.
Capture Turn screenshots, point at element, screen recording, console logs and failed requests on or off.
Max recording length 15 to 120 seconds.
Mask elements CSS selectors to black out in screenshots.

Changes apply within a minute, without changing the snippet.

JavaScript API

// Tell Cinder who is signed in. The email field is skipped when you pass an email.
CinderFeedback.identify({ id: 42, name: 'Ada Lovelace', email: '[email protected]', plan: 'pro' });

// Attach anything that helps you debug. Values must be strings, numbers or booleans.
CinderFeedback.setData({ cart_id: 'c_123', release: '2.4.1' });

// Open the widget, optionally with a category selected.
CinderFeedback.open({ category: 'bug' });

To use your own button instead of the launcher, add data-launcher="false" to the script tag (or turn off Show the launcher) and call CinderFeedback.open() from your button.

Laravel and Blade

Add the widget id to .env as CINDER_FEEDBACK_WIDGET and expose it in config/services.php:

'cinder_feedback' => [
    'widget' => env('CINDER_FEEDBACK_WIDGET'),
],

Then add the snippet before </body> in your main layout:

<script defer data-widget="{{ config('services.cinder_feedback.widget') }}" src="https://cinderwatch.dev/js/feedback.js"></script>
@auth
    <script>
        window.CinderFeedback = window.CinderFeedback || { q: [], open() { this.q.push(['open', arguments]) }, identify() { this.q.push(['identify', arguments]) }, setData() { this.q.push(['setData', arguments]) } };
        CinderFeedback.identify(@json(['id' => auth()->id(), 'name' => auth()->user()->name, 'email' => auth()->user()->email]));
    </script>
@endauth

Triage

The Feedback inbox opens on open items. Filter by status, category and when it was sent, or search messages, emails and page URLs. Select several items to mark them in progress, resolve, reopen or delete them in one go.

Each item has three statuses: Open, In progress and Resolved. When you resolve an item you can add a reply and tick Email the submitter. They get an email from Cinder, with your project's name, saying their feedback was resolved, plus your reply and their original message.

Open AI on an item to ask for an analysis: a summary, the likely cause and a suggested fix, drawn from the message, page, environment, pinned elements, console logs, failed requests and related errors. The submitter's name, email and identify() data, the screenshot and the recording are never sent to AI. The same menu copies the feedback as Markdown, or a ready-made prompt for your own assistant. Generating an analysis needs an OpenAI API key on the server.

Turn on When new feedback arrives under Settings → Notifications to get each submission by email, Discord or webhook (event feedback.received). It's on by default.

Privacy

  • Password fields, credit card fields and anything with data-cinder-mask are blacked out before a screenshot is saved. Add your own selectors under Mask elements.
  • Visitors see the screenshot before sending it, and can redact or remove it.
  • Request and response bodies, headers, cookies and form values are never recorded. Query string values are stripped from failed request URLs.
  • Screen recording always asks for the browser's permission first.
  • Screenshots and recordings are stored privately and only shown to members of your team. Feedback is deleted with the rest of your project's data at the end of your plan's retention period.

Troubleshooting

The launcher doesn't appear. Check the browser console for [Cinder] Feedback widget disabled. The widget is turned off, or the page's hostname isn't in Allowed domains.

A screenshot is missing images. Images from other domains that don't send CORS headers can't be drawn into a screenshot. Visitors can use Use browser capture instead, which asks the browser for a pixel-perfect copy of the tab.

Too many submissions. Each visitor can send 10 pieces of feedback every 10 minutes per widget.