Usage on any website
To embed the feedback widget on your website, first add the script tag with your project id to the HTML:
<script defer src="https://feedback.fish/ff.js?pid=..."></script>
Then, add the data-feedback-fish
attribute to any HTML element that should trigger the widget on click.
<button data-feedback-fish>
Feedback
</button>
If you want to identify which user submitted feedback, you can optionally add the data-feedback-fish-userid
attribute to the button and pass in the currently authenticated user's email or id.
<button
data-feedback-fish
data-feedback-fish-userid="..."
>
Feedback
</button>