As a research team member
I want to tie a survey to the activity of the user leading up to clicking the survey link
so that ...link eventlogging data with survey data, by passing the surveyInstanceToken to the third party survey tool by appending a url parameter to the survey link. ?The survey software will handle recording the surveyInstanceToken along with each response.
Acceptance criteria
[] A query string parameter is passed to the URL of an external
[] External urls which already have a query string parameter will have a new query string parameter added.
-------------------------
Add a config parameter to QuickSurveys that allows adding a url parameter to a third party survey link. When a user clicks on the survey, we generate a survey token that we wan to pass on to the survey.
For example, the base url for a sample Google survey is:
https://docs.google.com/forms/d/1qY5mxyArG8sOQsrwYz9Aa2z6VCAPcMqT4VnB3mo3W-k/viewform
To pre-fill the form with a users idsurveyInstanceToken, the url is modified to be:
https://docs.google.com/forms/d/1qY5mxyArG8sOQsrwYz9Aa2z6VCAPcMqT4VnB3mo3W-k/viewform?entry.1206522024=dartar547576563876
ForThe base url for a sample Qualtrics we can collect data passed in via url params as follows: survey is
https://qtrial2016q1az1.az1.qualtrics.com/jfe/form/SV_e8uKUubtLfMxGyF
To pre-fill the form with a surveyInstanceToken, the url is modified to be:
https://qtrial2016q1az1.az1.qualtrics.com/jfe/form/SV_e8uKUubtLfMxGyF?UID=ewulczyn
?token =354564765788