Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Linking parameter from Qualtrics through URL

I have a very basic question that is driving me crazy (I have no coding experience, I apologize if I am using the wrong terms). I followed these directions https://solowiki.services.universiteitleiden.nl/index.php?title=Qualtrics_linking to link from a Qualtrics survey to an OSWeb experiment on JATOS. Everything works, except on the OSWeb feedback screen, the value of the variable says "unknown" rather than replacing it with the value from Qualtrics. What am I missing?

Thanks!

Comments

  • Hi! Can you please elaborate a little bit more. I know JATOS but I'm not so familiar with OSWeb. E.g. can you describe what you have tried and where it fails? And what is the OSWeb feedback screen you mentioned?

    Have you had a look at https://www.jatos.org/Use-Prolific.html?

    Best,

    Kristian

  • Hi Kristian,

    I am trying to generate a random participant ID number within Qualtrics, and send the ID number to OSWeb via JATOS.

    In Qualtrics, I set embedded data to generate the Random ID number.

    I created a question with a default choice being piped text from the Random ID embedded data.


    (I also tried setting the default choice for the question to be a random number generated within the answer choice field itself, but that didn't seem to make a difference.)

    I then set the survey to redirect to JATOS when it ends, with the random ID added to the URL as follows:

    https://cortex.jatos.org/publix/ycjoQgCYsi4?&randomID=${q://QID7/ChoiceGroup/SelectedChoices}

    In OpenSesame, I have an inline Javascript that contains the following:

    I then have a Feedback screen:


    When the Qualtrics survey ends, it correctly redirects to the OSWeb experiment in JATOS. However, the feedback screen reads "Your participant ID is unknown."


    Thank you for any ideas you have!

  • Hi,

    I have no experience with Qualtrics but this looks strange: https://cortex.jatos.org/publix/ycjoQgCYsi4?&randomID=${q://QID7/ChoiceGroup/SelectedChoices} . You have an ? and an escaped & (the &) right after another and that doesn't make sense to me. What is the purpose of the &? Can you try without, just https://cortex.jatos.org/publix/ycjoQgCYsi4?randomID=${q://QID7/ChoiceGroup/SelectedChoices}?

    Best,

    Kristian

  • Hmm, that didn't work either. The feedback screen still says "Your participant ID is unknown."

  • Update for anyone with the same issue: I got it to work by using randomID=${e://Field/ResponseID} instead of generating a new random number. Thank you for your help, Kristian!

Sign In or Register to comment.