GetFeedback Digital for Web feedback can be supplemented with information you already acquired about your user or your website. This information can be passed on to GetFeedback Digital 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 GetFeedback Digital.
Examples of Custom Variables are user names, session IDs, A/B-testing variables from other tools, demographic data and membership statuses.
In this example, "Username" and "SessionID" are the custom variables names that will appear in GetFeedback Digital, while the values indicate a reference to the variable.
Append and update Custom Variables
Note for Salesforce users:
If you have purchased our Salesforce app, and would like to push custom variables with your feedback into your Organization, you will need to use one of the pre-defined custom variable field names instead of defining your own. There are a total of five pre-defined field names for variables in the Salesforce app. For more information on these fields, please see the section titled "Custom Variable Lookup field" in our installation guide here.
If we go back to the Username and Session ID example above, in order for these variables to become available in Salesforce, your code should use one the pre-defined variable field names like this:
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.