Install
Website installation
Install the generated script in a shared HTML shell, site builder, or tag manager.
Use the generated script
HTMLhtml
<script
src="https://app.feedbacks.dev/widget/latest.js"
data-project="YOUR_PROJECT_KEY"
data-api-url="https://app.feedbacks.dev/api/feedback"
data-config-version="1"
defer
></script>Place it once
- Static HTML: before the closing body tag.
- Server-rendered templates: in the shared layout or footer template.
- Tag manager: as a custom HTML tag loaded on pages where feedback is available.
- Single-page app without a wrapper: in the root HTML file, not inside a component that remounts.
Choose an embed mode
| Mode | Use it when |
|---|---|
| modal | You want the standard floating button and modal form. |
| trigger | Your own button should open the feedback modal. |
| inline | The form should render inside a specific page container. |
Custom triggerhtml
<button data-feedbacks-trigger>Send feedback</button>
<script
src="https://app.feedbacks.dev/widget/latest.js"
data-project="YOUR_PROJECT_KEY"
data-api-url="https://app.feedbacks.dev/api/feedback"
data-config-version="1"
data-embed-mode="trigger"
data-target="[data-feedbacks-trigger]"
defer
></script>