How to Add a Feedback Button to Your Website

By Notedis Support•December 3, 2026
How to Add a Feedback Button to Your Website

How to Add a Feedback Button to Your Website

A feedback button is a small fixed control, usually in a corner of the page, that lets a visitor tell you something without leaving what they were doing. There are three ways to build one. They differ in how much the visitor has to explain, and how much you have to build.

Option 1: a mailto link

The quickest version is a styled link that opens the visitor's email app.

<a class="feedback-button"
   href="mailto:[email protected]?subject=Website%20feedback">
  Feedback
</a>

<style>
  .feedback-button {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #111827;
    color: #fff;
    font: 600 0.9rem/1 system-ui, sans-serif;
    text-decoration: none;
  }
  .feedback-button:focus-visible { outline: 3px solid #faf28c; outline-offset: 2px; }
</style>

Good: five minutes of work, nothing to maintain.

Bad: it fails for anyone without a desktop mail app set up, it exposes your address to spam harvesters, and the message arrives with no page address, no browser and no screenshot. You will reply to most of them with "which page were you on?".

Option 2: your own form in a modal

The next step is a button that opens a small form and posts it to your server.

<button class="feedback-button" type="button" id="feedback-open">Feedback</button>

<dialog id="feedback-dialog">
  <form method="post" action="/feedback">
    <label for="feedback-message">What should we know?</label>
    <textarea id="feedback-message" name="message" required></textarea>

    <label for="feedback-email">Email (optional, if you want a reply)</label>
    <input id="feedback-email" name="email" type="email">

    <input type="hidden" name="page" id="feedback-page">
    <button type="submit">Send</button>
    <button type="button" id="feedback-close">Cancel</button>
  </form>
</dialog>

<script>
  const dialog = document.getElementById('feedback-dialog');
  document.getElementById('feedback-open').addEventListener('click', () => {
    document.getElementById('feedback-page').value = window.location.href;
    dialog.showModal();
  });
  document.getElementById('feedback-close').addEventListener('click', () => dialog.close());
</script>

On the server you need an endpoint that validates the input, rate-limits it, stores or emails it, and filters spam.

Good: works for everyone, captures the page address, stays on your domain.

Bad: you now own a form endpoint, spam protection and an inbox process. There is still no screenshot, so "the box overlaps the text" arrives as words, and you have to reproduce it on a device you may not have.

Option 3: a website feedback widget

A feedback widget is a hosted version of option 2 with the missing piece added: it captures what the visitor is looking at.

With Notedis the install is one snippet before the closing </body> tag, copied from your site's settings page:

<script>
  window.notedisConfig = {
    siteKey: 'YOUR_SITE_KEY',
    apiUrl: 'https://notedis.com'
  };
</script>
<script src="https://notedis.com/js/widget.js" async></script>

The visitor then:

  1. Clicks the feedback button.
  2. Optionally selects the part of the page they mean and draws on the screenshot.
  3. Types a note and sends it. No account needed.

You get a ticket containing the note, the annotated screenshot, the page address, the browser and the screen size. You can reply from the ticket and the visitor receives it by email.

Good: nothing to build or host, screenshots and technical details included, a proper inbox with statuses and assignment.

Bad: it is a third-party script and a paid product after the trial.

Which one to use

Situation Use
Personal site, feedback is rare Option 1
You want everything on your own stack and have time to build it Option 2
Client review, QA rounds, or bug reports where "where exactly?" matters Option 3

Placement and wording

  • Bottom right is where people look for it. Keep it clear of cookie banners and chat bubbles.
  • Label it with a word, not only an icon. "Feedback" works. On a staging site, "Report a problem" gets more precise notes.
  • Make it keyboard reachable with a visible focus ring.
  • Limit who sees it if the site is public and the feedback is meant for clients or testers.
  • Say what happens next. A one-line confirmation ("Thanks. We read every note.") is enough.

Try the widget

Notedis has a 14-day free trial with no card required, and setup guides for WordPress and Webflow.

Ready to simplify your feedback?

Start your 14-day free trial today. No credit card required.

Start your free trial