Custom Variables is a logic feature you can use with a Web Link collector to track data about people who take your survey. It passes data you put in your survey link into your survey results.
Setting Up Custom Variables
Create custom variables when designing your survey, then add them to your Web Link collector before you send it out. Once you have responses, you can see your custom variables when you export.
1. Creating them in your survey design
To add custom variables:
2. Adding them to your Web Link
Now that you have custom variables in your survey, it’s time to create your survey link and add custom values to each variable.
To create your WEb Link and add values:
TIP! If you set the Survey End Page to redirect respondents to the website of your choice, custom variables will also pass through to the redirect URL.
3. Viewing them in your results
Let's say you want to send out a short employee survey to three members of your Research department. Instead of asking each respondent to fill out their name, department, and title in the survey itself, you want to track this information about them through the survey link using Custom Variables. Here's how you would do this, from beginning to end:
Create 3 variables based on the respondent information you want to pass through the survey link.
Create a Web Link Collector. When you view the link, the template for adding your custom values will already be appended to the end of it:
Outside of SurveyMonkey, create a unique link for each respondent by replacing the bracketed values with each person's Name, Department, and Title. Send each unique link to each respective respondent.
Download an All Responses Data XLS, or SPSS export to see the custom variables paired with each response. In the spreadsheet, the results for this one-question survey will look like this:
Web Link collectors can attach up to 100 custom variables to the URL. So you don't exceed universal URL length limitations, we suggest URLs remain under 2,000 characters to maintain functionality with popular web browsers.
Forbidden Characters and Variable Names
You can't use the following Variable Names when you create Custom Variables:
You can't use the following URL-reserved characters in Variable Names, Variable Labels, or in the values you insert into the survey link template:
No Way to Automatically Insert Values
There is no way to automatically insert values into the survey link template within SurveyMonkey. You will need to do this manually, or run your own script to insert the values into the survey link template, outside of SurveyMonkey.
If you are uncomfortable with this approach, consider using the Email Invitation Collector to track custom data about respondents.
Custom variables don't work with Recurrences. Turn off the Recurrence collector option to make sure your custom variables work properly.