End Link
After the respondent completes the survey, they should be redirected to a secure exit redirect link. These links give the respondent the proper information and allow Dynata, and you, to properly record and count the status of all the respondents that take your survey. Your survey must be updated and tested with these links before launching the survey.
Query Parameters
Parameter | Description |
---|---|
rst |
The flag for respondent’s session end. 1 = Complete , 2 = screenout , 3 = overquota |
psid |
Dynata’s unique identifier that captures a respondent and the specific project identifier. This was passed to you in the survey URL when the respondent goes in. |
med |
The secure variable which Dynata validates before updating the respondent’s status for the session. |
The med
parameter can be generated as follows:
med = (security_key_1 * pid) – security_key_2
Fields for med calculation
Parameter | Description |
---|---|
pid |
Dynata’s respondent identifier. This is a unique id passed to you in the survey URL when the respondent goes in |
security_key_1 |
A security key provided to you during onboarding. Please do not share this with anyone |
security_key_2 |
A security key (k2) passed to you in the survey URL. This is unique per project |
Example for supported endlinks
{
"endLinks": {
"complete": "https://api.dynata.com/respondent/exit?rst=1&psid={psid}&med={calculatedSecurityCode}",
"screenout": "https://api.dynata.com/respondent/exit?rst=2&psid={psid}",
"overquota": "https://api.dynata.com/respondent/exit?rst=3&psid={psid}",
"speeding_open_ends": "https://api.dynata.com/respondent/exit?rst=2&qflag=3&psid={psid}",
"targeting_mismatch": "https://api.dynata.com/respondent/exit?rst=2&qflag=8&psid={psid}"
}
}
Example med calculation
med = (66213 * value for pid ) - security_key_2
For a respondent with pid=1070000026, security_key_2=59931, the value would be:
med = (66213 * 1070000026 ) - 59931 = 70847911661607