Are you looking to optimize your feedback collection process? The Userback JavaScript API is a powerful tool that can help you do just that. With the ability to customize and automate the feedback experience, you can gather feedback more efficiently and accurately than ever before.
Optimize your user journey by pre-filling fields, adding custom data, and setting dynamic widget options, you can create a feedback journey that's perfectly suited to your users. By enabling the User Identification you can automatically identify users and gather metadata like company, role, value, and ID to provide a seamless, personalized feedback experience.
You'll be able to solve problems faster, and dynamically enhance the way your users report bugs, suggest features and give feedback. Ready to start optimizing your feedback collection? Try the JavaScript API today!
Getting Started with the JavaScript API
This is the best place to start for non-technical users. For more technical information, head over to our Userback Developer Docs. And if you have any questions or need assistance, our friendly support team is ready to help.
Install the Userback Widget
To install the Userback widget, check out our Installation Guide where you can find instructions for the best installation method that suits your needs. We offer a range of options, including the ability to install via a JavaScript snippet, helpful NPM packages and developer-friendly SDKs for React and Vue.
Enable the JavaScript API
Once the widget is installed, go to Widget Settings and select "Do not show the widget" to enable the JavaScript API and hide the Userback Feedback button.
Check out the available Methods, Options, and Examples
To make the most out of Userback, it's essential to understand the available methods and options, we've created several examples you can use to help you get started.
Methods & Options
The Userback JavaScript API provides methods and options for customizing the feedback collection process on your website or app. You can use methods like init()
, show()
, hide()
, open()
, close()
, and destroy()
to control the display of the Userback widget.
The JavaScript API also includes options like email
, name
, categories
, priority
, custom_data
, setData()
, and widget_settings
to pre-fill fields or add more information to feedback. These options enable you to tailor the Userback widget to your specific needs.
You can find more technical information in our Userback Developer Docs.
Examples
π User Identification - Streamline the feedback collection process on your website or app by automatically identifying users and adding their relevant details to feedback.
π Bind Feedback Widget to a Button or Link - Improve user experience by allowing users to easily provide feedback with a button or link that triggers the Userback feedback widget.
βοΈ Prefill Name and Email Fields - Save users time by prefilling specific fields in the Userback feedback forms like name and email.
π Dynamic Language Switching - Enhance the user experience for people from all over the world by switching the language of the feedback widget on the fly.
π Attach Custom Data to Feedback - Gain more insights into user feedback by attaching custom data, like product version, user agent or app related data.
FAQ π¬
Do I need a certain plan to use the JavaScript API features?
Yes, you need to be on the Company Plan or higher to access and use the advanced features of the Userback JavaScript API. For more information on our plans and pricing, please visit our website or speak the Userback team for assistance.
Where can I find more technical information?
You can find more technical information on using the JavaScript API in the Userback Developer Docs which includes helpful definitions and advanced code examples.
How can I get help if I have any issues or questions?
If you have any issues using the Userback JavaScript API, you can contact the Userback team for assistance.
Can I use the User Identification feature with the browser extension?
No, the User Identification feature is only available on the Userback widget and is not currently supported on the browser extension.
Who is this article for? π
Plans | Solo | Startup | Company | Premium |
User type | Client | Collaborator | Admin | Owner |