JavaScript SDK

Are you looking to optimize your feedback collection process? The Userback JavaScript SDK 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.

Here's some examples of what you can do with the JavaScript SDK:

  • 🔐 User Identification: Streamline the feedback collection process on your website or app by automatically identifying users and adding their relevant details to feedback.
  • 👆 Open Userback with a Button or Link: Allow users to easily provide feedback with a button or link that triggers the Userback feedback widget.
  • ✍️ Prefill fields: Save users time by prefilling specific fields in the Userback feedback forms like title, name and email.
  • 🌐 Dynamic Language: 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: Gain more insights into user feedback by attaching custom data, like product version, user agent or app related data.

How to Get Started:

To begin using the Userback JavaScript SDK, follow these simple steps:

  1. Install the Userback Widget: To install the Userback widget, check out our Installation Guide where you can find instructions for the best installation method for you.
  2. Hide the Userback Button (Optional): Once the widget is installed, go to Widget Settings and select "Do not show the widget" to hide the Feedback Button.
  3. 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 examples and snippets you can use to help you get started.

Visit our Developer Docs here for detailed information, code examples, and developer resources related to using the JavaScript SDK.

 


 

Frequently Asked Questions

What are the Methods and Options available to use?

Use methods like init(), show(), hide(), open(), close(), and destroy() to control the widget's display. Customize feedback by using options like email, name, categories, priority, custom_data, setData(), and widget_settings. Visit our Developer Docs here for more detailed definitions and examples.

Where can I find more technical information?

You can find more technical information on using the JavaScript SDK in the Userback Developer Docs which includes helpful definitions and advanced code examples.

Where can I find support or ask questions related to the JavaScript SDK?

If you have any questions, need assistance, or want to explore specific use cases, we are happy to help. Please feel free to submit a request here.