How to set up
Here is a short video that explains how to integrate Feedback.one into your website.
If you prefer a text-based guide instead, please follow these simple steps:
This guide assumes that you've already created a project. If you haven't, please navigate to the Dashboard and create one by clicking the
Add project
button.
Step 1: Add the code snippet
Add the following code snippet to your website HTML, and replace xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
on the highlighted line with your project id (you can find it in the Settings
tab).
<script
src="https://sdk.feedback.one/v0/core.min.js"
data-project-id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
defer
></script>
Step 2: Provide the list of allowed domains
If you've already entered the website domain when creating the project, you're done!
Otherwise, go to the Privacy
tab and update the list of domains that are allowed to access the feedback form. Please list each domain on a separate line.
If you'd like to try out the feedback form in a development environment first, add
http://localhost:*
to the list.
Step 3: Update CSP (optional)
If your website uses Content-Security-Policy (CSP) headers, you would need to update the following CSP directives.
Content-Security-Policy:
...
script-src-elem https://sdk.feedback.one
connect-src https://api.feedback.one
That's it. You can now use the feedback form to take your website's user experience to the next level!