We are currently attempting participants, after completing an Inquisit task, to Qualtrics, and have these participants' responses be linked. We want to have Inquisit generate a unique and random subjectID, insert it into the URL that links it to qualtrics (i.e. www.qualtrics.com/xxxxxyyyyzzzz&subjectID=9876, 9876 beign the randomly generated ID), and have qualtrics record that subjectID so that we can keep the responses together.
We have tried this:
Sending the Subject ID from Inquisit to 3rd Party Sites
If participants start with the Inquisit session before going to the 3rd party survey site, the subject id can be explicitly included on the finish page url so that it can be used by the 3rd party site. Using the above example, the following finish page would include the unique subject id for each participant:
Add the end of each session, Inquisit will substitute "<%script.subjectid%>" with the actual ids for each of the subjects.
Complications: But, it hasn't worked for us -- Qualtrics doesn't recognize the generated %script.subjectid% and Inquisit isn't replacing the scripting with a number. It gives us a constant ("25").
The other way that we've tried, which is just specifying subjectID is a url parameter, sets subjectID as 111111 every time, rather than assigning it randomly and uniquely.
Our question: how do we successfully get Inquisit to generate a unique URL either using this "<%script.subjectid%>", and/or are there any other methods that we can use? We were thinking of programming in a random number generator BUT we would have no assurance that each random number generated would produce a unique subject ID (i.e. the same number could be generated twice).