Skip to main content
Installing Userback
Jon avatar
Written by Jon
Updated over 2 months ago

Installing Userback is the first step in getting started. This guide will walk you through the process of adding Userback to your app or website, allowing you to collect feedback, launch surveys to users, and target user segments.


Recommended Installation Guide

  1. Go to the Userback code page: Log in to your Userback account, and click the <> code button from the header.
    ​

  2. Select install method and copy: Select from JavaScript, npm, React, or Vue.js and toggle between Global Access Token or select a specific project. Copy the code. Check our documentation site for full implementation details.

  3. Paste Userback Code: Paste the Userback code to all of the pages you would like to launch surveys or feedback widgets on. Our recommendation is to locate the closing </head> or </body> tag and paste the copied Userback code just before it.

  4. Configure domains: When using the global access token, you will need to set the domains for any survey or feedback projects. From the project dashboard, click Manage Domains from the project options.
    ​

  5. Save and test: After pasting the Userback code and configuring your domains for your project, you will need to activate a survey or feedback widget to verify the installation. You can alternatively install Userback on a test page or staging site to do the same.

Congratulations! You have successfully installed the Userback widget on your website or app. If you encounter any issues or need further assistance, please don't hesitate to contact our support team.


Verify it's working

Manually checking to see Userback loading on your app or website is the most reliable method of verification, as it allows you to directly observe the Userback script loading in your browser on a live webpage.

If you can't see your activated survey or feedback widget button, there are a few reasons that could be happening:

  • The feedback widget has been customized: Review the widget customization options to ensure that the button is set to the correct look and location.

  • The feedback widget is hidden: Check the widget targeting options to make sure that "On all pages where the widget code is installed" is enabled.

  • The survey is not activated: From the survey overview page, activate the survey and confirm targeting options.

  • Survey targeting criteria are not matched: Confirm that the targeting criteria are set correctly including segments, URL targeting, and device targeting.

  • Domains have not been configured: Check that the domains have been correctly configured for the survey or feedback project.

Did this answer your question?