Suppose that you have and HTML website like this
You then want to add the script and the attributes to the button
<button data-feedback-farm data-feedback-farm-project-id="123">
Now when you click the button, you should see the widget.
Now that you have the widget working correctly, the widget support some properties that will allow you to customize it. Here's the available properties.
You need to add this attributes to make it work
A string identifier that represent the user submitting the feedback. Ex: userId, email, ...
You can update the widget default text
The page where the feedback was submitted
Feedback Farm project identifier
You can specify a theme that will override the default one
You can replace the default type, Feature ; Bug ; Other by your own
A url to an image that you would like to show when the user submit a feedback.
*required\ **Need to be "stringified"