As a research team member
I want to 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
- An optional query string parameter can be passed to the URL of an external
- External urls which already have a query string parameter can have a new query string parameter added.
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 surveyInstanceToken, the url is modified to be:
The base url for a sample Qualtrics 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
?token =354564765788