How to use URL Redirect after survey | XM Community
Skip to main content
Question

How to use URL Redirect after survey

  • June 2, 2021
  • 5 replies
  • 1117 views

Hello there,
I'm trying to use the URL redirect of Qualtrics.
I direct participants to(!) Qualtrics with a personal link (so far so good) and give with this link some token "...&token=ABCDEFG".
Now this token should be extracted in the survey and again added to the redirect-URL as given here https://www.qualtrics.com/de/support/research-core/haufige-anwendungsfalle/integration-mit-stichproben-anbietern/
somelink/?token=${e://Field/token}
So I give this link with this field-placeholder to the "End of survey" panel
Screenshot (198).png

The field of the URL during redirect stays empty though.
I get "...token=" instead of the real token, something like "...token=ABCDEFG".

I would really appreciate your help.
Thank you

Edit:
I do have an embedded field for "token". No change, the redirect link does not include the token.
Screenshot (199).png

5 replies

AHammell
Level 2 ●●
Forum|alt.badge.img+11
  • Level 2 ●●
  • June 2, 2021

Can you give me an example of the link you are sending participants to Qualtrics? For example, it should look something like this to ensure that the "token" embedded data field at the top is filled.
https://umn.qualtrics.com/jfe/form/SV_12345df?token=ABCDE


  • Author
  • June 3, 2021

AHammell
Level 2 ●●
Forum|alt.badge.img+11
  • Level 2 ●●
  • June 4, 2021

Try using this instead:
https://kmrc.qualtrics.com/jfe/form/SV_5AU1e3ib3NX2UCO?Q_DL=FSAaoIa5F3Rk6sq_5AU1e3ib3NX2UCO_MLRP_1H8r7vzrskD24U6?Q_CHL=gl&token=TD87SLJCLJ68
More specifically, you want your FIRST query string parameter have a question mark in front of parameter name instead of the ampersand (&)...subsequently listed parameters should be added using the ampersand (so I updated &Q_CHL=gl to ?Q_CHL=gl).


  • Author
  • June 7, 2021

If I change the "&" to "?" like you suggested the following notification is shown instead of the query:
"A network error occured" (translation from German)
Changing again the previously changed "?" to "&" results in being redirected to the desired query again.

Isn't the first "?" already located before "?Q_DL=....&Q_CHL=...", so "Q_DL" is the very first quesry string parameter?
The link I posted earlier was generated by the function "personal link" on qualtrics, I only added to the link "&token=...", the "&" and "?" before that were generated by qualtrics.


AHammell
Level 2 ●●
Forum|alt.badge.img+11
  • Level 2 ●●
  • June 7, 2021

Oh! I totally missed that original question mark...sorry to lead you down the incorrect path there!
Okay-- so my next question is, if you submit a test answer using a test link + token, does the "token" embedded data variable (on the top of your survey flow) have a value in the submitted Qualtrics test data?