Cannot use survey metadata in the Confirmation Page link
marcomb opened this issue · 4 comments
Describe the bug
Cannot use survey metadata with the Confirmation Page link setting.
As you can see in attached figure, there is in the "Complete link" field a HTTPS external website link to call when the survey is submitted (completed and confirmed)
The syntax used is "../Survey/Complete?ProjectToken={ContributionID}"
To Reproduce
Steps to reproduce the behavior:
- Create a test survey with 1 question.
- Click Properties
- Scroll down to Special Page -> Confirmation page
- Fill the field with a HTTPS URL and attach at the end a variable with the metadata "Contribution ID" (see pics)
- Save the form
- Try to submit 1 survey
Expected behavior
The Survey form is submitted and then the redirect to the confirmation link is holding the ContributionID
{ContributionID} must be replaced with the current ContributionID of the submitted survey, and so I expect to have a URL that is
"../Survey/Complete?ProjectToken=187fec87-d66e-4439-97e8-2e39446ec116
Desktop (please complete the following information):
- OS: Windows 11
- Browser: Chrome
- Version: 118
Dear @marcomb,
Indeed currently it is only possible to use the metadata tags within the text confirmation page. Not in the Link option.
Could you please explain what is the business case behind this need?
Thank you!
Yes.
We need to run a survey in collaboration with an external contractor that is taking care to submit our survey to a certain specific audience and in certain EU countries. Our contractor need the possibility to have a more advanced redirect in order to integrate EU Survey with its survey system (often a CRM-bases platform).
They are asking to have more than one redirect:
- “Complete” is for the panelists who belong to the wanted target and who complete the questionnaire.
- “Screen out” is for the panelists who don’t belong to the target and who are not supposed to complete the questionnaire
- “Quota full” : to use in the case we want to implement quotas (a max number of submissions).
All 3 external link need to have the token ID passed through in order to align the data collection
An example of link is:
Complete https://passback.lifepointspanel.com/Survey/Complete?ProjectToken=f459004b-400f-44e9-9f32-f5a3e147864a
So, the simplest possibility IMHO, is keeping just the "Confirmation Page" external link adding the EU Survey generated Token ID as query string parameter.
This integration requirement seems something requested by several providers, probably because many of them are using their own survey platform
The required "external link" that we need to set into EU Survey settings is
https://dkr1.domain.com/projects/end?rst=1&psid=XXXX
where XXXX is the captured value for PSID
Is it possible to implement this change?
Improvement ticket was created for your request (ESURVEY-8427), you will be informed about any update on it. Thank you.