Per default, users open your Feedback widget by clicking a tab in the side of your website. However, in some cases, you may want the Feedback widget window to be opened in a different way - eg. through your main menu, a text link or a button. Fear not, the Feedback widget API allows you to create exactly the type of integration you want.
Basic examples
Triggering the Feedback widget to either open or close
Opens Feedback widget
<a href="#" onclick="_urq.push(['Feedback_Open']);">Feedback</a>
Closes Feedback widget
<a href="#" onclick="_urq.push(['Feedback_Close']);">Feedback</a>
Advanced examples
Per default, the Feedback widget opens up the "Most popular ideas" view. However, by adding another parameter to the code above, you can open up any page in your widget. See examples below:
Add new idea
<a href="#" onclick="_urq.push(['Feedback_Open', 'submit/idea']);">Feedback</a>
Report a bug
<a href="#" onclick="_urq.push(['Feedback_Open', 'submit/bug']);">Feedback</a>
Search for something
<a href="#" onclick="_urq.push(['Feedback_Open', 'ideas/search/search-term']);">Feedback</a>
Open with newest ideas
<a href="#" onclick="_urq.push(['Feedback_Open', 'ideas/recent']);">Feedback</a>
Open with closed ideas
<a href="#" onclick="_urq.push(['Feedback_Open', 'ideas/closed']);">Feedback</a>
Direct link to Feedback widget
Your feedback widget can also be opened directly on a static URL, which might be convenient in certain cases. Read more
Feedback button inspiration
With a bit of HTML, CSS and Javascript, it's easy to build your own custom UserReport Feedback widget button. We've made a small demo page with some basic examples, that might get you inspired.