Working with GET Variables
GET variables allow you to record certain data about your respondents through a custom shareable survey link to add to your results or to use in pipe-in formulas. Your survey’s shareable link is available in the “Experiment status” tab.
Consider the following shareable survey link: https://conjointly.online/study/54598/w3jq86v250
.
The first GET variable in your link should be preceded with a question mark (?
). All subsequent variables must be preceded by an ampersand (&
). If there is already a question mark (?
) in your link, you must use an ampersand (&
) before your first variable.
For example: https://conjointly.online/study/54598/w3jq86v250?variablename1=variablevalue1&variablename2=variablevalue2
.
If you wanted to share this link with ‘Student 1’ and pass their email (student1@email.com) and student number (12345) through the link, it would appear this way: https://conjointly.online/study/54598/w3jq86v250?email=student1@email.com&studentno=12345
.
Viewing survey respondents’ GET variables data
This information passed on through GET variables will be available in several places:
Respondent data
- Open your experiment under the option on the left-hand menu.
- Under the “Experiment status” tab, click to follow through to the “Respondent data” tab.
- Below the table of respondent details, slide the horizontal scroll bar to view your GET variable data for each respondent (this can also be downloaded as a .csv file via the button on the bottom-left of your screen).
Please note, if you are using external emailing software, you’ll need to check directly with the provider to ensure that get variables are passed through correctly.
View Report
- Open your experiment under the option on the left-hand menu.
- Click the button on the bottom-right of your screen.
- Click the button under “Experiment status and actions” module. Your GET variable data is available under the “Respondents” tab in your Excel file.
Segmentation
- Open your experiment under the option on the left-hand menu.
- Click the button on the bottom-right of your screen.
- Open the “Segmentation” tab.
- Click the button followed by .
- Under the “Variable” heading in the “Condition” module, select from the dropdown menu and choose the variable you wish to segment.
- Complete the “Type of match” and “Value” fields.
- Click the button above.
- Your report will now re-generate with analysis of this segment.
Redirecting with GET variables
If you wish to redirect respondents to another website at the end of your survey, you can also pass on GET variables in the redirect URL. To do this, you must add square brackets ([]
) to the variables in your link.
Here’s an example of a redirect URL with the GET variables from our above example: https://another.platform/complete?email=student1@email.com&studentno=12345
.
Approach 1: Append all variables
Conjointly allows you to automatically append variables to the end of the redirect URL through the “Append all GET variables” setting. To enable this setting:
- Open your experiment under the option on the left-hand menu.
- Click the “Advanced Settings” tab and scroll to the “Redirects upon survey completion” module.
- Enter the redirect URL for your desired response type (complete responses, screened-out responses, low-quality responses).
- Tick the “Append all GET variables” check box.
For example:
- The respondent will enter your survey through
https://conjointly.online/study/54598/w3jq86v250?email=student1@email.com&studentno=12345
. - You set up a redirect to
https://another.platform/complete
. - The “Append all GET variables” setting automatically redirects them to
https://another.platform/complete?email=student1@email.com&studentno=12345
.
Approach 2: Specify required variables
For example:
- The respondent will enter your survey through
https://conjointly.online/study/54598/w3jq86v250?email=student1@email.com&studentno=12345
. - You set up a redirect to
https://another.platform/complete?email=[email]&studentno=[studentno]
. - The system will automatically redirect them to
https://another.platform/complete?email=student1@email.com&studentno=12345
.
If you would like to pass the respondent IDs assigned by Conjointly, you can add [Conjointly-ID]
into the redirect URL (for example, http://another.survey.platform/survey?ConjointLyID=[Conjointly-ID]
).