Millisecond Forums

Integration with CloudResearch Connect

https://forums.millisecond.com/Topic40806.aspx

By Libra - 5/28/2025

Hi, I want to run an inquisit study and recruit on CloudResearch Connect. How do I set it up so that I could record participants' participant ID and once participants complete the study, they are redirected back to CloudResearch connect? Those who complete it should also automatically be shown as completed? 
I tried two ways. At first, I just put the inquisit study link as the study URL and enter the CloudResearch Complete Redirect URL. But all the participants said that once they clicked "start," they are redirected back to CloudResearch without completing the actual task. 
I then contacted CloudReserach Connect, they suggested the following: 
inquisitCopyEdit<expt>
/ preinstructions = [values.participantid = urlparameter("participantId")]
</expt>
<data>  
/ file = "datafile.iqx"
/ columns = (date, time, subject, group, values.participantid, ...)
 </data>
I did so but now I am getting errors "could not locate page." 

I am attaching my file below. 
Please advise. Thank you! 
By Dave - 5/28/2025

Libra - 5/28/2025
Hi, I want to run an inquisit study and recruit on CloudResearch Connect. How do I set it up so that I could record participants' participant ID and once participants complete the study, they are redirected back to CloudResearch connect? Those who complete it should also automatically be shown as completed? 
I tried two ways. At first, I just put the inquisit study link as the study URL and enter the CloudResearch Complete Redirect URL. But all the participants said that once they clicked "start," they are redirected back to CloudResearch without completing the actual task. 
I then contacted CloudReserach Connect, they suggested the following: 
inquisitCopyEdit<expt>
/ preinstructions = [values.participantid = urlparameter("participantId")]
</expt>
<data>  
/ file = "datafile.iqx"
/ columns = (date, time, subject, group, values.participantid, ...)
 </data>
I did so but now I am getting errors "could not locate page." 

I am attaching my file below. 
Please advise. Thank you! 

> At first, I just put the inquisit study link as the study URL and enter the CloudResearch Complete Redirect URL.

This is the correct way. In addition, you'll want to select the URL parameter option under "Choose how participant ids should be generated" and specify the name of the URL parameter that carries the participant identifier as provided by CloudResearch (this used to be workerId, I believe it is participantId now by default.).

> But all the participants said that once they clicked "start," they are redirected back to CloudResearch without completing the actual task.

Your script expects numeric subject IDs for condition assignment. The IDs provided by CloudResearch (previously known as TurkPrime) are not numeric. You need to change your script to peform condition assignment based on group ID, not subject ID.