Survey Code Variables
${response_id} This is the Unique Key Generated by for each response. On a branched survey this number is the same through all the branches the respondent takes.
For Example if you have a script that gives out coupons/freebies to respondents who have taken the survey and you would like to keep track of the unique responses :-
http://www.mycompany.com/coupon.asp?id=${response_id}
IF the above line is used as the Survey Finish URL then the respondent will be redirected to your site with the necessary Query parameters.
Of course you would have to have the necessary code to take the response id and link it with the coupon.
${ext_ref}

&ext_ref=
This Variable is any Unique identifier that you can pass into the Engine when users click on a Link to come and take the survey.

Usage : http://www.perfectsurveys.com/TakeSurvey?id=12345&ext_ref=abc123def

http://www.perfectsurveys.com/TakeSurvey?id=<Your_Survey_ID>&ext_ref=<Unique Key (Customer ID, etc) >
After finishing the Survey you can have the same variable passed back to you as a redirect.
Note: The text that you pass in has to be less than or equal to 32 characters
${piping_text} This variable is used in piping text in a branched survey.