Referencing a query string parameter when setting the redirect URL for the "end of Survey" field | XM Community

Referencing a query string parameter when setting the redirect URL for the "end of Survey" field

  • 20 December 2022
  • 2 replies
  • 507 views

I'm aware through (https://www.qualtrics.com/support/survey-platform/survey-module/survey-options/survey-termination/#RedirectingRespondentsToAUrl) that I can redirect a user at the end of a survey to a specific URL.
Is it possible to, like I can with say a QID value, append a value initially passed as a URL parameter (https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/standard-elements/passing-information-through-query-strings/#Syntax) to the redirect URL?
Here's an example
User clicks on this link:
mysurvey.qualtrics.com/somesurvey?user_id=123
When completing my survey I enter something like this for the redirect URL
mywebsite.com/survey/landing?user_id=${SOME_SYNTAX_HERE_THAT_REFS_USER_ID_VALUE}
That way I can generate a unique survey URL for each user and know which user by user ID has completed the survey when ending up on

/survey/landing


I've been reading through the docs and haven't found if this is possible or not. Thanks for any and all assistance!


2 replies

Userlevel 7
Badge +38

Yes, you can pipe text into your redirect URL and it will show as the value and not your embedded code. I recommend using the piping option to get the proper formatting, I can see from your example you are missing a reference if this is contact field, embedded data, or from a survey question. I do this quite often when redirecting from a main survey to an incentive form so I can verify who has completed the survey versus who has requested an incentive (but also means the name and address is saved in another place which some people prefer).
image.pngMy full URL is
https://countyofdane.qualtrics.com/jfe/form/SV_6QdRlZfP8vAmSl8?SurveyNumber=${e://Field/SurveyNumber}
where SurveyNumber is a field I am passing as embedded data via a contact list into the main survey and carrying over to my incentive survey.

Badge

I’m passing the Response ID in above method but it returns empty or null value in the redirect URL. How to fix this?

https://........com/jfe/form/SV_74GlnjkfWgypWFE?RID=${rm://Field/ResponseID}

 

Leave a Reply