URL Parameters

A URL parameter is the final part of the URL which you can customize and use to identify someone. URL parameters can be used to see which of your contacts have completed the questionnaire and to search for contacts in the Responses view once they've completed the questionnaire.


Essential 
Professional ✓
Enterprise ✓
ReportR ✓

For example, to identify someone by their email address, the URL could look like this: surveyanyplace.com/csc/ rid=EM_jdoe@gmail.com


Note 

Here are a few ideas of when you can use a URL parameter:

  • Use the URL parameter to link a contact from your contact list
  • Use a URL parameter to pre-fill the intro fields in your questionnaire
  • Use the URL parameter to identify certain data and pre-fill certain areas in your result pages without showing (so hiding the intro fields) the data in your survey.
  • Use the URL parameter to send out your survey in a specific language

Great, now you know why URL parameters are useful, let's get down to business and see how they can be created. In this guide we'll discuss the following:


1 Using Contact list

2 Using Pre-fill Intro fields

3 Using Fill in Default responses

4 Using Languages


1 Using Contact List

Head over to the My Contacts tab and upload the contacts to whom you want to send the survey. You can either upload a list of contacts by clicking upload contacts or enter contacts individually (click the circled icon on the right). Read all you need to know about My Contacts.


URL parameters - upload contacts


Now that your contacts are uploaded, the easiest and quickest way to send out personalized URL links to contacts is by sending email invitations. In the Share tab, click Email invitations and click Create Email under Questionnaires with email invitations. 


email invitation tab


Choose the questionnaire and start creating your email invitations. Name your email invitation and add your name and email address. Choose the contact list you want to send the email invitation to, and now you'll be ready to write the email body.


email invitation example


  1. Write the text of the message and when you're ready, click variables and you'll find a list of different types of variables that you can add to the invitation. We recommend adding a clickable link with email, or for added security, choose a clickable link with unique ID
  2. For whichever link you choose, the system will automatically create and send out unique survey links to each contact and they will receive an email with your message and a link which they click on to answer the survey. 
  3. This link is unique for them and the system will then be able to identify them, so you will see in the Responses view the list of completed surveys, including their name and email address so you can also search the list. Read the full help guide for other details about email invitations.


Sending out a manual link

What if you forgot a few contacts and you also want to send them personalized links? You can easily make your own link with a URL parameter. Let's see now how to do that.


At the top of the Share tab, you will find the questionnaire links and a QR code. Click copy to make a copy of the short link. You can also use the long link but why not take the shorter one?!

URL parameters - questionnaire links


Now that you have the link, you can use different fields from the contact information to add to the end of the link. It will be easier to follow with an example, so take a look at the first contact in our list:


URL parameters - contacts


If we want to email Steven a personalized link, here's what we'll do. Take the survey link that you have copied, and add /?rid= to the end of the link. Then choose either of the following endings:

  • Using the email address, add EM_ and then the email address, so the full link will be: https://su.vc/eyrzimdo/?rid=EM_s123@gmail.com
  • Using the unique identifier, add UID_ and then the unique identifier, so the full link will be: https://su.vc/eyrzimdo/?rid=UID_1LjMVJRfc


tipTip: You can apply EM_ and UID_ to Results Dashboard to prefill the available filters.


NOTE

For maximal safety, the use of the unique identifier is recommended because its value cannot be 'guessed'. This is the unique number that the system automatically assigns to each contact. 

If you're setting up a campaign and want to track respondents, see how the campaign menu will appear.


2 Using Pre-fill Intro Fields

To save respondents time and get their attention. If you have a field asking for the respondent's name, use a URL parameter to pre-fill this field if you already know their name and simply ask respondents to check the spelling, rather than making them enter data unnecessarily.


Each Intro field is numbered. Pre-fill each field by adding the following text to the end of the link:

  • /?cf
  • Your Intro field number and a = sign. E.g. 1= for Intro field 1, 2= for Intro field 2, and so on
  • The data you want to pre-fill, so either name, city, or whatever data you have

For example, to pre-fill a respondent's country, your URL could look like this: 

surveyanyplace.com/s/dnqjtsir/?cf2=Belgium


Read more about Pre-fill Intro Fields.


NOTE

You can send out the link for sharing the dashboard which automatically includes a filter! Just add a URL parameter, a customized part to the end of the dashboard link. For a filter based on an email address, add ?rid=EM_ and then the email address. You could also use a personal ID if you have allocated this or a unique ID. For personal ID, add ?rid=EXT_ to the end of the dashboard link and then the personal ID. For unique ID use ?rid=UID_ followed by the unique ID.


3 Using Fill in Default responses

URL parameters can pre-fill other types of survey questions, not only intro fields. You can add on your own ending so that a specific answer is chosen for a question that you can specify. Filling in answers works with Text Choice, Image Choice, Text Slider, Numeric Slider, and NPS questions.

Fill in default responses by URL parameter

After you have activated the Fill in default responses, go ahead and start formatting the suffix. You will need to add the following ending to the survey link: /suffix?qx=y replacing suffix with your survey's suffix, replacing the x with your question number, and replacing the with the position number of the answer option as it is entered into the editor. 


example of fill in default responses by url parameter


Read more about Fill in default responses by URL parameters.


4 Using Languages

Add a URL parameter to send out your survey in a specific language.


If you know for sure which language people need, you can add URL parameters to the end of the survey link so that they will automatically be sent the survey in the correct language. It's not difficult to do, here's what you need to add to the end of your survey link:

  • English: add ?lang=en_us
  • Nederlands: add ?lang=nl_be
  • Français: add ?lang=fr_be
  • all other languages: add ?lang={first two letters of chosen name for language}

So for example, if you are sending out your survey in French, this is what your link will look like: 

https://s.surveyanyplace.com/s/dgrmttqb?lang=fr_be


Make sure to send the right link to the right respondent and you're set to go!


What's next?

Now you know how to use URL parameters, you might be interested to know other ways you can use URL parameters in your survey:

  • If you have users accessing your survey from a few different sources, for example, Facebook, LinkedIn, and your company website, you may want to know which medium they used to access the survey. URL parameters once again will help you do this!
  • You can also read our full guide about sharing, which takes you through the different options: share the link, share the QR code, share by embedding on your website, send an email invitation with the survey link or send a paper copy – you can download a PDF file with your survey questions.
V
Vincent is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.