Skip to main content
All CollectionsInstallationAdvanced Installation
JavaScript SDK and Developer Docs
JavaScript SDK and Developer Docs

Track users via User Identification. Link the widget to a custom button. Add Custom Data & to feedback. Build integrations with the REST API

Daniel Rae avatar
Written by Daniel Rae
Updated over a week ago

Looking for developer docs and REST API info? Go here: Developer Docs
​
The Userback JavaScript SDK allows you to customize and automate the feedback widget, and survey tools via JavaScript, in code.
​
The JavaScript SDK requires coding knowledge and this article, along with links to the developer documentation can be passed onto your developer for implementation.
​
Here's some examples of what you can do with the JavaScript SDK:

  • πŸ” Track Users: Track user data from your application by identifying them. This will add their user data to Userback, and each feedback they submit. Identifying users allows you to create segments for widget targeting and view feedback by user or segment.
    ​

  • πŸ‘† Create your own feedback button: Trigger the Userback feedback button by your own button / UI element or link.
    ​

  • ✍️ Prefill fields: Prefill specific fields in the Userback feedback widget including name, and email.
    ​

  • 🌐 Dynamic Language: Set the language of the widget, in code, based on the users language.
    ​

  • πŸ“• Attach Custom Data: Gain more insights into user feedback by attaching custom data, like product version, user agent, or app-related data.
    ​

  • 🌈 Customize the widget settings: Change the look and feel of the Userback widget based on the page, or user variables. For example: Show the bug tracking form only for internal users.

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):

    1. Click 'Target'

    2. Select the option to 'Do not display the launcher'

    3. Click Save

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

Did this answer your question?