Next to identifying your users, you can also use URL parameters to attach data to a survey response.
URL parameters starting with “response_” let preselect survey responses or add hidden fields to your survey.
Preselect Response Options
One example for this technique is to ask your customers if they are satisfied with your service and then offer a dedicated link for each possible answer (Very satisfied, Somehow satisfied, …).
Below you can see an example link that identifies your user by their email address (see above) and sets the response of a NPS survey to the value 9 / 10 by providing a ‘response_nps’ parameter.
In this example, the value for the question “nps” is set by a parameter that starts with “response_” followed by the identifier of the question. The resulting URL parameter is “response_nps”.
To find the identifier of a any question in your survey, click on “Show Advanced Options” in the survey editor and locate the field “Internal Identifier”.
Add Hidden Data Fields
URL parameters can also be used to private “hidden” data which is not represented as a question in your survey.
You can add any “hidden field” to your survey by simply providing an arbitrary “response_<something>=<value>” parameter in your URL. Data provided through URL parameters gets automatically attached to responses provided by the user.
There is no need to create a question with a matching identifier in your Refiner dashboard. Refiner will try to match the hidden field data to a known attribute in your Refiner account. If no attribute with the same key can be found, a new attribute gets created the first time we see the data key.