Advanced URL Parameters

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.

https://public.refiner.io/s/4dgo4m/f1cd5620-60e2-11ea-933e-c12a4e219567?contact_email=test@test.com&response_nps=9

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”.

Screenshot showing how to locate the identifier of a question
Locate the identifier of a question inside “Advanced Options”

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.

https://public.refiner.io/s/4dgo4m/f1cd5620-60e2-11ea-933e-c12a4e219567?contact_email=test@test.com&response_how_satisfied=3&response_a_hidden_field=yes

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.

Was this helpful? Let us know with a quick a vote