Redirect out and back in | Experience Community
Skip to main content
Solved

Redirect out and back in

  • Jul 17, 2019 12:58 PM UTC
  • 4 replies
  • 142 views

Hi, Just wondering if it's possible to redirect out of the survey to an external site and then back in to continue on? I'm assuming the return url could be passed as a parameter to facilitate return after processing. I appreciate that I could use an iframe but I want to present my client with an alternative solution if possible. Thank you!

Best answer by TomG

> @MartinC said: > Great thanks, so I would exit using JS on page load (i.e. window.location.replace) passing ${e://Field/Q_URL} in my URL? > assume this wouldn't return to the same point generating an infinite loop? Yes, it does return to the same place and would be an infinite loop unless you account for it...you have to track it external to Qualtrics and use ajax to get the status so it knows whether to go to the url or continue with the survey.
View original

4 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Jul 17, 2019 1:08 PM UTC
Yes, as long as you check Save & Continue in Survey Options.

  • Author
  • Jul 17, 2019 1:21 PM UTC
Great thanks, so I would exit using JS on page load (i.e. window.location.replace) passing ${e://Field/Q_URL} in my URL? assume this wouldn't return to the same point generating an infinite loop?

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • Jul 17, 2019 1:43 PM UTC
> @MartinC said: > Great thanks, so I would exit using JS on page load (i.e. window.location.replace) passing ${e://Field/Q_URL} in my URL? > assume this wouldn't return to the same point generating an infinite loop? Yes, it does return to the same place and would be an infinite loop unless you account for it...you have to track it external to Qualtrics and use ajax to get the status so it knows whether to go to the url or continue with the survey.

  • Author
  • Jul 17, 2019 1:48 PM UTC
Thanks Tom - I'll give that a go!