Usabilla for Websites feedback can be supplemented with information you already acquired about your user or your website. This information can be passed on to Usabilla through Custom Variables so that it will be included in feedback items and campaign results.
Please follow these steps to include Custom Variables in your feedback items and campaign results.
1. Define the data you would like to pass on to Usabilla.
Examples of Custom Variables are user names, session IDs, A/B-testing variables from other tools, demographic data and membership statuses.
In this example, "email", "Username" and "SessionID" are the custom variables names that will appear in Usabilla, while the values indicate a reference to the variable.
Append and update Custom Variables
Allowed values for Custom Variables
email: The user’s email address, if your button asks the user for his email address the field will be pre-filled with the data you set here, otherwise, the email address will be sent as is.
- String – A string can include up to 500 characters.
Arrays and objects can have a maximum depth of 2 and must consist of uniform values (only strings, only integers etc.).
Tip: We highly recommend that you don't use any object and or arrays. Using only uniform values allows to easily compare and export the feedback and campaign results that you gathered.
The Custom Variables will now be included in every feedback item and campaign result. Also, you will be able to target campaigns to users that have certain Custom Variables.