Redirects to external sites from Qualtrics survey and back again. | XM Community

Redirects to external sites from Qualtrics survey and back again.

  • 19 March 2021
  • 5 replies
  • 1811 views

Badge +2

Hi Folks
I was wondering if anyone with more experience could point me in the right direction as I've reached the limits of what I can achieve from the helpdesk and supporting info.
I have set up a test survey that takes the participants through a few questions before it redirects them to a simple experiment in Gorilla. The redirect imports the participant Id from the Qualtrics survey into Gorilla so the data can be matched up afterwards. The difficulty I am having is then getting the participants back into the Qualtrics survey afterwards to complete the rest of the questions.
Now, the simplest way would be to set up the redirect URL using a 'descriptive text' question and putting some instructions on it for the participants to click on a URL link that opens up another window for the Gorilla part. The participants would then have to simply toggle back to the Qualtrics window to complete the remainder but there in lies the risk.
I have tried to automate the process by setting a URL redirect at the end of the task in Gorilla back to the original Qualtrics survey, which worked but it took me straight back to the beginning and not to the point in the survey I left it from.
Clearly, I am missing some code in the URL that redirects me back to the Qualtrics survey at the point it left it (if it is possible at all).
Or I could redirect the participants from Gorilla into a totally different Survey but it would require the Participant ID being passed into the new survey otherwise I wouldn't be able to match up the data afterwards.
I am not a programmer so I'm struggling with the correct syntax to use to achieve this.
Any ideas would be appreciated.

regards

Ian




5 replies

Badge +1

https://community.qualtrics.com/XMcommunity/discussion/comment/35788#Comment_35788Hi Ian,
I am having the same problem with you. Could you please explain more about the descriptive link? Thank you so much!
Best,
Xiaotong

Badge

Hi ahmedA
I am currently trying something similar as IanJukes_1 . I wanted to try Option 1 you provided (iframe) but I do not have experience in JavaScript or coding etc. Where exactly would I put the code you mention in Option 1?
Best,
Josephine

Userlevel 7
Badge +21

The easiest option is 2. It opens the link in a new tab, so the current survey is also active.

Badge +2

Hi Ahmed

Yes -- I did use the Gorilla instructions and I initially set up the redirect based upon the end of survey, which accounts for the reason it looped back to the beginning when it came back from gorilla.
The Qualtrics Help Desk told me set it up as a descriptive link which I've done now to avoid this loop.
I will retry using some of the coded suggestions you provided.
Many thanks
Regards

Ian

Userlevel 7
Badge +21

Are you using the instructions from the Gorilla website? If yes, then what they have mentioned is related to survey termination, so basically, your participants are coming back to the begining of the survey, because they have already completed the survey.
Option 1: Embed the Gorilla Experiment in an iframe