Group: Forum Members
Posts: 6,
Visits: 10
|
+x+x+x+x+x+x+x+x+xHi, I've tried finding an answer to this in the forums but no luck. I have a study where I need my participants to start a survey on qualtrics, then get sent to my inquisit launch page, then when they are done with the inquisit study, get sent back to qualtrics to pick up where they left off. I set the qualtrics link as the finish page for the study. But as things are now, when they get to the end of the inquisit study, they get sent back to the beginning of the qualtrics survey, instead of to the spot where they clicked the link to launch inquisit. I saw another thread from a few years ago on the forum that suggested adding this code: / onexptbegin = [defaults.finishpage = "https://yeshiva.co1.qualtrics.com/jfe/form/SV_3Kl5M6Hytrj42wt;"] into every <expt> element in my script, but this didn't work. My qualtrics survey is located at https://yeshiva.co1.qualtrics.com/jfe/form/SV_3Kl5M6Hytrj42wt and the inquisit lauch page is https://milli2nd.co/ornb.Any thoughts on how I can fix this? Lisa This is not an Inquisit issue, it's on the Qualtrics side, specifically how Qualtrics manages sessions. You have three options: (1) Split your Qualtrics survey into two separate surveys: - After the 1st, redirect to Inquisit. Have Inquisit redirect to the 2nd survey. (2) Keep things in one survey, but do not redirect to Inquisit: Instead just have a page in the middle of the Qualtrics survey with a clickable link leading to the Inquisit, which opens the Inquisit start page in a new browser tab or window (pass over the Qualtrics ID to Inquisit via query parameter as usual). Do not have Inquisit redirect at the end, instead just instruct your participants to return to the browser window/tab with the Qualtrics survey and continue on with the survey. (3) More complicated: Implement some logic in Qualtrics that allows you to jump to a specific part of the survey based on the value of a query parameter. Inquisit can then redirect to the survey URL, with that query parameter included, and Qualtrics can move on at the designated part. You can steer survey flow based on "embedded data", which includes values passed via query parameter: https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/survey-flow-overview/ Actually, I've now run into another problem. My Inquisit study includes two scripts, that I have combined in a batch file that looks like this: <batch> / file = "IAT.iqx" / file = "proto.iqx" / subjects = (1,2 of 4) / groupassignment = random </batch> <batch> / file = "proto.iqx" / file = "IAT.iqx" / subjects = (3,4 of 4) / groupassignment = random </batch> My understanding is that this should send people to do both IAT.iqx and proto.iqx, in random order. But people are getting sent back to qualtrics after doing just one of the scripts. Any idea why? > [...]When they get sent back from Inquisit, the qualtrics page opens in a new window. Is there a way to send them back in the same window they started in? I worry that having different windows open at the same time for the same study will confuse people. No, that is not possible, I'm afraid. Option #2 I described above would be alternative here (no redirection, instruct participants to return to the Qualtrics tab/window and continue). The <batch> syntax looks correct, so the issue would be with the script that doesn't run. For example, if proto.iqx expects numerical subject iDs for condition assignment, it will not work with the Qualtrics ID, which is alphanumerical. Check the scripts' condition assignment settings. Thanks. Both scripts do expect numerical subject IDs, but I set qualtrics to generate an embedded subject number and am using that as the subjectid field, rather than the qualtrics Response ID. So I don't think that's the problem. The weird thing is that when I run the batch file in the lab version of Inquisit, it works fine. In the IAT script, the conditions are assigned like so: <expt> / subjects = (1 of 2) / groupassignment = groupnumber / blocks = [1 = intro; 2= short_a; 3 = short_b; 4=A; 5=B; 6=A; 7=B; 8=summary] /onexptend = [values.completed = 1] </expt> <expt> / subjects = (2 of 2) / groupassignment = groupnumber / blocks = [1 = intro; 2= short_b; 3 = short_a; 4=B; 5=A; 6=B; 7=A; 8=summary] /onexptend = [values.completed = 1] </expt> And in the proto script, like so: <expt> /subjects = (1 of 2) /groupassignment = groupnumber / blocks = [ 1=targetcompatiblepractice; 2=targetincompatiblepractice; ] /onexptend = [values.completed = 1] </expt> <expt> /subjects = (2 of 2) /groupassignment = groupnumber / blocks = [ 1=targetincompatiblepractice; 2=targetcompatiblepractice; ] /onexptend = [values.completed = 1] </expt> Any other ideas? Neither script assigns based on subjectnumber for what's is worth, both assign based on groupnumber. The syntax looks okay, so unless there is some script.abort() condition in one of the scripts, I don't see why only one should run. Which of the two doesn't run or is that random as well? Just performed a test run through the Qualtrics survey and script and I did get both tasks one after the other alright: I did CTRL+B through most of the scripts, though. Was there ever a different batch script uploaded? One that ran only one of the scripts, not both, i.e. something like <batch> / file = "IAT.iqx" / subjects = (1,2 of 4) / groupassignment = random </batch> <batch> / file = "proto.iqx" / subjects = (3,4 of 4) / groupassignment = random </batch> ? When I test it it still is only showing me one of the tasks. Yes, I did originally have a batch file just like that. I just tried clearing my cache (on chrome) and that didn't help, then I tried it in a different browser (firefox) and that didn't help. Does this mean when I run the study it is somehow reverting back to an old batch file even though I had deleted it? Why would this happen for me and not for you? And, any idea how to fix it? This suggests that the original (wrong) batch file is still cached somewhere: - Either locally on your computer (clear the entire system's temporary and temporary internet files), not a specific browser's cache, or - by a slow-to-update cache server somewhere along the network path. In the latter case, the problem should resolve itself after a while, once the cache server's cache expires and begins serving the correct file. It was the second thing you said. I tried a different computer and still had the same problem, then I changed the filename of my batch script and now everything is working. Can't believe it was such an easy fix - thanks so much for all your help!
|