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

Redirect out and back in

  • July 17, 2019
  • 4 replies
  • 108 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.

4 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • July 17, 2019
Yes, as long as you check Save & Continue in Survey Options.

  • Author
  • July 17, 2019
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
  • July 17, 2019
> @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
  • July 17, 2019
Thanks Tom - I'll give that a go!