Our software's auto redirect system supports unlimited URL parameters as a flexible way to structure, capture, and store additional information for a survey's entry link URL.
Properly formatting entry URLs, storing captured data, and passing it back in the final redirect can be complex. Testing the entry URL thoroughly ensures successful data handling and redirection.
For help with invite links or redirects, contact Support at help@intellisurvey.com.
Invite links
Invite links for your survey can be found in the Panels applet.
There is a set format for our survey URLs. After the survey ID (SID) and record ID (trans_id
) are defined, programmers can set up as many additional query string parameters as needed for a survey. The general format to include additional parameters is as follows:
http://servername.com/pub/survey_ID/record_ID?pan=<param1>&c=<param2>&os=<param3>
- The beginning of the query string portion of the URL is established with a question mark (?) and then is followed by the first parameter name given, for example 'pan', followed by the value passed in place of '<param1>'.
- The second, and each additional parameter, is separated with an ampersand (&) followed by the name given, for example 'c', the value passed in place of '<param2>', and so on.
Redirect links
Local, editable redirect links for your survey can be found in the Panels applet.
Many panels require appending custom data to URL parameters, which may include variable data. Also, it's possible to let the software temporarily store a parameter and its value in the background without recording it in a variable. Survey variables, Perl conditionals, and data temporarily stored from an entry URL are all valid values our system panel (redirect) sheet.
Survey variable reference
Survey variables can be directly referenced:
https://www.somepanelprovider.com?custom_param=$QSURVEY_VARIABLE
Perl conditionals
Perl conditionals can be used within Perl code blocks:
https://www.somepanelprovider.com?custom_param=[* if ($Q1 == 1) {'A'} else {'B'} *]
Passing data not captured in a variable
If a value from the invite link isn't captured by survey fields and remains constant for the study, prepend $pan_
to the parameter name from the entry URL to reference it.
Example
In the entry link, the 'list' parameter passes the value '1001'. This value is temporarily stored as $pan_list
and can later be used in the redirect link.
When the respondent receives their final status and is redirected to the panel provider's website, the redirect link uses the custom parameter 'source' to send back the list value. This is constructed as source=$pan_list
, where $pan_list
will be populated with the value '1001'.
Entry Link:
http://servername.intellisurvey.com/pub/mysurveyid?pan=101&list=1001
Redirect Link:
https://www.somepanelprovider.com?source=$pan_list
Comments
0 comments
Please sign in to leave a comment.