How to Add Parameters to the Online Survey Link Step-by-step

Using surveys on the website is so beneficial as it helps you generate leads , collect data, analyze data, etc. Also, get in touch with your end-users, and be attentive to the opinion of your customers by creating customer satisfaction surveys with the Survey plugin for WordPress.

We already know how easy and quick the process of creating online surveys is with the Survey plugin for WordPress. So in this article, we will understand how to attach parameters to the survey link using URL query strings for creating online customized surveys.

Adding parameters to the link is too simple and too quick, yet the overcome is excellent. By customizing each survey link you will exactly know who the recipient is without asking for details in the survey. So you can customize them by adding the name, surname, country, etc. Also, you can collect additional information such as user ID, source, student ID, etc. by choosing the Hidden question type.

If you are ready let’s start with some rules.

Rules for Appending Parameters Correctly

There is no limitation to the number of parameters you can add to the link. All you need is to have an online survey link on which you need to add parameters at the end of the link, and also you must know the rules that you need to follow to have better results.

So let’s understand what rules to follow to add the appending parameters correctly.

Rule 1: Add only alpha-numeric characters

In the link, the parameters must contain only alpha-numeric characters [ 0-9, a-z ].

Rule 2: Add a Question Mark [ ? ]

As I mentioned above you should add parameters at the end of your link. So just add a question mark [ ? ] after your link. So it will mean the beginning of your parameter.

Rule 3: Add ” Key ” and ” Value ” pairs

In the parameter, you have ” Keys ” and ” Values “. The keys identify the values. So these two are equal and they are separated with the equals sign [ = ]. Let’s look at some examples: name=jack, surname=johnson, id=02, and so on.

Key and value of the URL parameter

Rule 4: Add an ampersand [ & ] for separating new parameters

If you need to add more than one parameter, then you should separate them from each other by adding an ampersand [ & ] before the new parameter. Let’s look at the example: ?name=jake&surname=johnson& id=02

Rule 5: Separate words only with hyphens [ – ]

f you want to separate words do not use spaces, but just use hyphens [ – ], otherwise you will not have a continuous link at the end.

Let’s sum up this part by repeating that each parameter must include a ” Key “and a “Value” pair. So do not forget to add your equal pairs and add a question mark [ ? ] before it, which will declare the beginning of the parameter. Also do not forget to separate each new pair with an ampersand [ & ].

Symbols of the URL parameter

How to Add Append Parameters to the Online Survey Link with the Survey plugin for WordPress?

Creating unlimited surveys with the WordPress survey plugin is easy-peasy as well as adding parameters for customizing each survey.

Let’s understand how to do it step-by-step.

Step 1: Open the survey that you need

From the “WordPress dashboard” click on the “Survey Maker” plugin from the left sub-menu and choose the survey that you need.

Step 2: Create a Parameter

Click on the “Add Question” button and the “Question Type” choose the “Name” as we create a parameter for the name. Also on the “Question field” type in the field’s name like “Recipient’s Name”. Now click on the Three dots at the bottom right corner and click on the “URL parameter”. The field for creating Parameter appears. All you need is to type in the name of your parameter. For instance, I choose “N1” as a parameter name. That’s all click on the “Save” button for saving the URL parameter.

Add parameter to your survey

Step 3: Append Parameters to the Online Survey Link

Now we should do some changes to the survey’s link. By following the above-mentioned rules first add the question mark [ ? ] before the URL Parameter. After question mark [ ? ] type in the ” Key “, which is ” N1 “. After you must add the equals sign [ = ] and only then add a “Value”, which is the recipient’s name-” Jack “. After refreshing the survey page we can see that the field with the name Jack appears.

Customize survey and add name parameter

Additionally, you can add URL parameters to your questions. Choose the question to which you want to add a parameter. Click on the “Three dots” of the chosen question field and click on the “URL parameter”. Now just add the parameter name and click on the “Save” button for saving the changes.

Add parameter to survey question

Now return back to your survey’s link and append that parameter by adding its “Key” and “Value”. If the question type is radio just add the number of the correct answer-“answer=3”, if it is a checkbox you can add more than one number-“answer=1, 3”, if it is a short text type just type in the correct text, so type in the parameter based on your question type.

Add parameter for question to URL survey link

To Sum Up!

Customize each survey link by using URL query strings for adding parameters to your survey link. Customized surveys are full of benefits as there will be no need to ask your recipients for details in the survey.

Follow the rules and create customization surveys simply and swiftly with the Survey plugin for WordPress. Also do not worry if your audience is multilanguage as you can translate the Survey Maker plugin with the WPML . So get in touch with your end-users by creating amazing surveys simply and quickly.

If the information in this article is practical, you can find and read more useful posts on our blog page.

Also, we provide you with news updates on Twitter and Facebook, and do not forget about our tutorials on our YouTube Channel.

50% OFF

Mega bundle offer for you!

It consists of 3 different powerful plugins, each one allowing you to make your WordPress experience the best that could be.
Quiz + Poll + Survey