Administering 3 single-category IATs in the middle of a Qualtrics survey


Author
Message
nhl
nhl
nhl
posted 9 Years Ago HOT
Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)
Group: Forum Members
Posts: 15, Visits: 66
I have read all previous threads on integrating Inquisit tasks into Qualtrics surveys on this forum as well as instructional pages provided by both Millisecond (http://www.millisecond.com/support/docs/v4/html/howto/interopsurveys.htm) and Qualtrics (http://www.qualtrics.com/university/researchsuite/developer-tools/api-integration/passing-information-through-query-strings/), but I am simply confused... I also called the Qualtrics support center, but they don't know how it is accomplished, either. I sent them all the relevant threads from this forum so that they can look into what I need to do on my Quatrics survey's side, but it has been a week since I sent them the information, and I have yet to hear from them. Can anyone walk me through step-by-step what I need to do on both the Qualtrics' and Inquisits' sides to make my study work? Below, you will find the basic procedure of my study:

1. Participants will complete several measures on Qualtrics
2. Participants will be re-directed to Inquisit web 4 to complete all 3 single-category IATs in a random order 
3. Participants will be re-directed back to Qualtrics to complete the rest of the survey

And, this is what I have done so far:
1. Created an entire survey on Qualtrics. But, this survey has an empty block to which a link to Inquisit web 4 tasks should be inserted
2. Created three separate scripts for single-category IATs (modified version of the script developed by K. Borchert)
3. Created a separate script for <batch> command to randomize the presentation order of three IATs (this script can be found here: https://www.millisecond.com/forums/Topic17047.aspx)

Based on my reading, I know I need to have Qualtrics generate unique ID as participants start completing the survey and that unique ID as a URL query parameter must be passed to and from Inquisit so that participants do not have to manually enter their unique code on each site. But, how do I get that URL query parameter? How does it look like? When I call the Qualtrics support center next time, what is the right way to ask this question?

I also understand that I need to enter that URL query parameter while I am setting up the Web Script Wizard. But, where exactly do I have to put the information? Again, how does the URL that is supposed to be entered during the Web Script Wizard look like?

Thank you for your time and help in advance!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
> Based on my reading, I know I need to have Qualtrics generate unique ID

Qualtrics generates that ID automatically. You do not need to instruct it to do so explicitly.

> But, how do I get that URL query parameter?

As detailed in the Qualtrics documentation, the variable in Qualtrics that holds that id is called ParticipantID. You need to forward the value of that variable to the Inquisit launch page in an URL query parameter as detailed under the heading "To pass information from a survey:" at http://www.qualtrics.com/university/researchsuite/developer-tools/api-integration/passing-information-through-query-strings/

> I also understand that I need to enter that URL query parameter while I am setting up the Web Script Wizard. But, where
> exactly do I have to put the information?

In the example in the Qualtrics documentation topic above, the query parameter is called "ID". You can either use the same name or call it something else. The important thing is that you enter whatever query parameter name you have chosen in Qualtrics into the Inquisit launch page: The launch page must know the name of the query parameter it is supposed to read out and use as subject identifier.

> Again, how does the URL that is supposed to be entered during the Web Script Wizard look like?

This is something Qualtrics support ought to answer. I do not know whether Qualtrics has the capability to pick up a survey where it has been left off after redirection to another site. It may be that you actually need to set up *two* Qualtrics surveys, as in
#1: Pre-Inquisit Qualtrics survey
#2: Redirect from #1 to the Inquisit launch page, include the Qualtrics ParticipantID as query parameter
#3: Redirect from #2 to URL for post-Inquisit Qualtrics survey. Have that survey read out / use the same query parameter such that all three components (Qualtrics survey 1, Inquisit IATs, Qualtrics survey 2) use the same participant identifier.

The way to have Qualtrics read in information from query parameters is also covered at http://www.qualtrics.com/university/researchsuite/developer-tools/api-integration/passing-information-through-query-strings/ , under the "Passing Information Into a Survey" heading.

Hope this helps.

nhl
nhl
Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)
Group: Forum Members
Posts: 15, Visits: 66
Thank you for your advice. I am still unfamiliar with Inquisit so I am still having trouble understanding what exactly I need to do. I forwarded your response to my original question to the Qualtrics support center, but we still have not be able to figure out how to integrate IATs into the Qualtrics survey... It would be great if you could point out where I am making mistakes during the Web Script Wizard.

1. "Choose a Web Host": I selected "I would like to host my experiment on millisecond.com" and chose my batch command script.
2. "Upload Other Files": I uploaded three additional scripts (one for each single-category IAT) and 24 JPEG files (eight pictures for each IAT)
3. "Choose Launch Page": I selected "Use default launch page"
4. "Configure Launch Page": I left the first two boxes unfilled as they are optional. For "Choose how subject ids should be generated," I selected "URL Query Parameter" and then entered "?RID=${e://Field/ResponseID}" For "Choose how the group id should be determined," I selected "sequential." I am not positive if "sequential" is the right one here though... Finally, I left all five download technologies checked.
5. "Select a Finish Page": I selected "Redirect to a url on a different web server," and then entered the following anonymous link generated for my Qualtrics survey: https://qaz1.az1.qualtrics.com/SE/?SID=SV_aVJsIxvLV4UViFD 
6. The Web Script Wizard gave me http://research.millisecond.com/nhagiwara/batchcommand.web as a launch URL. 
7. I copied and pasted this URL into my Qualtrics survey as part of the instruction text. Participants are instructed to manually click the link in order to start IATs.

We test ran the Qualtric survey, but we received an error message after clicking the link, saying "The page at research.millisecond.com says: Failed to get subject id. The unit has no parameters." You can see a screenshot of this error message here: http://screencast.com/t/mRubKCE7dE

To address this error, we changed the link in the Qualtrics survey by adding ?RID=${e://Field/ResponseID} at the end. So, the link reads: https://qaz1.az1.qualtrics.com/SE/?SID=SV_aVJsIxvLV4UViFD?RID=${e://Field/ResponseID}
This did not fix the issue, and we recevied the same error message.


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Step #4 is wrong. You enter the *name* and *only the name* of the query parameter.

Instead of

?RID=${e://Field/ResponseID

you enter

RID

and RID only. RID is the name you have given to the relevant query parameter.

Step #7 is also wrong. You must make sure that *Qualtrics* appends the RID parameter to the URL. Again, this is done on the Qualtrics-side using "Piped Text Codes" as detailed in the Qualtrics documentation topics already discussed.

rachaelf
rachaelf
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 4, Visits: 8
I am a product specialist with Qualtrics trying to help Nao set up this integration. As far as I can tell we have done step #7 correctly. As Nao mentioned in her previous post we used *Qualtrics* to add a query parameter containing a unique ID using piped text as shown here: https://qaz1.az1.qualtrics.com/SE/?SID=SV_aVJsIxvLV4UViFD?RID=${e://Field/ResponseID}. When we try to use this link we get this error message: http://screencast.com/t/QQFG5h40jQPJ. I have no idea what this means or what we are doing wrong. She has corrected step #4 so that the parameter name only says RID. Do you have idea what else could be going on?

Thanks
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Hi Rachel,

Your screencast link unfortunately gives a 404, hence I cannot comment on the error. In short, what you need to do is:

(1) Have *Qualtrics* forward its ID to the Inquisit Launch page in a query parameter (you chose the name "RID" for said parameter). This happens entirely on the Qualtrics-side using your platform's "piped text" feature.
(2) Set up the Inquisit launch page to *retrieve* the value of the "RID" query parameter and use that as subject id in the Inquisit Web experiment. This is done entirely on the Inquisit-side of things (step #4 in the previous discussion in this thread). 
(3) Tell Inquisit Web where to redirect to once the Inquisit portion is done. That's also done on the Inquisit-side of things and only the applicable URL needs to be specified (e.g. to another Qualtrics-survey). No query parameters need to be included here: All query parameters that *came in* to the launch page will automatically be appended to the outgoing URL.
(4) If necessary, have the 2nd Qualtrics survey *retrieve* the value of the RID query parameter. This, again, happens entirely on the Qualtrics-side.

Hope this helps.

rachaelf
rachaelf
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 4, Visits: 8
It really seems like she is doing everything on the qualtrics end is set up correctly. If you copy and paste the screenshot into your browser instead of clicking on the link it should work. Does that give you any more information?
rachaelf
rachaelf
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 4, Visits: 8
*It seems like everything on the Qualtrics end is set up correctly
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Hi Rachel,

Thanks for the additional information (and the tip regarding the screencast link). Problem is that the various files uploaded by the user was broken / not in any valid encoding. Moreover, the script itself contained a number of errors, in that the file names provided in the <batch> elements did not match the names of the files actually uploaded to the server. I have taken the liberty to fix those issues.

There is, however, one problem that I cannot fix on the user's behalf. One of the image files uploaded to the server is *not* a valid image file and the script that relies on it will not run as a consequence. The file in question is called "asian6.jpg" and the script that relies on it is "SingleTargetIATAsian.iqx". I can say with certainty that the respective file is not a JPG image (I don't know what kind of file it is), but since I don't have access to the original source images there is nothing I can do to resolve that.

Once the user has replaced the above image with a valid JPG, the web experiment should run provided that everything on the Qualtrics-side is indeed set up properly.

Hope this helps.

nhl
nhl
Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)
Group: Forum Members
Posts: 15, Visits: 66
Thank you very much for both of your help! I test ran the survey from the beginning using the link that will be sent to participants (instead of the preview survey). There is one more issue---once IATs are done, it opens a new tab and the Qualtrics survey starts from page 1 again... I can create two separate surveys because participants will be randomly assigned to four different conditions before IATs and the rest of the survey after IATs depends on the condition they were randomly assigned.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search