By default, all feedback that you will receive through the In-Page widget will contain the necessary metadata to identify, sort, and manage your feedback. However, in some cases you will want to add additional information. Additional information can be added to your feedback through custom variables. In order to use custom variables, you will need to tick the ‘configure custom variables checkbox’ in the install section of your In-Page widget.
As soon as you enable the custom variables you’ll be able to use them in your In-Page widgets. By default you'll see three optional predefined custom variables to enable easy grouping and filtering of your In-Page feedback. You can use these custom variables to filter your feedback on the feedback page.
To set the custom variable you’ll need to add additional attributes to your Widget code before placing in on your page. The ‘install’ section of your In-Page widget gives you three text-fields to easily generate the Widget Code with your preferred variables.
In addition to the three predefined custom variables you are also able add more custom variables by manually editing the Widget code on your page. Adding your own custom variables is done by adding an additional attribute to the Widget Code with a predefined prefix. The format is as follows:
ub-in-page-exampleName="exampleValue"
In this example the variable would be named exampleName
and the value of the variable would be exampleValue.
Of course custom variables are great for passing information to GetFeedback Digital dynamically. Please find instructions on how to do this here.