Chapter 6 Recruitment: recruiting participants and collecting data online

6.1 Recruiting from SONA: Undergraduate Research Participant Pool URPP

We have set up all our websites separtely, now we will link all of them together using query strings. Query strings allow us to transfer Participant ID from one website to another.

6.1.1 URPP –> Qualtrics –> Pavlovia –> URPP: Automatic Process

Below are the steps required at each website to link everything together.

URPP:

  1. Create a new study in URPP
  2. Under ’Study URL: paste Qualtrics survey link ending in ?id=%SURVEY_CODE%. This will pass the URPP code to Qualtrics through the variable id.
    URL ending, URPP

    Figure 6.1: URL ending, URPP

Qualtrics:

  1. Go onto URPP code, right click to open options and select default choices
  2. Add a new embedded data element, type in id as a variable and click insert. This will allow Qualtrics to recongize the Participant’s ID as the variable id.
    embedded data field, Qualtrics

    Figure 6.2: embedded data field, Qualtrics

  3. Go to end of the survey, and add ?participant=${e://Field/id} at end of the URL of your experiment. This will rename the SONA and Qualtrics participant ID from ‘id’ to ‘participant’ so Pavlovia can recognize it.
    URL ending, Qualtrics

    Figure 6.3: URL ending, Qualtrics

URPP:

  1. Go to study page and copy the link under ‘Qualtrics Redirect to a URL’.
  2. Return to PsychoPy, and click on Experimenter Settings –> Online tab
  3. In ‘Completed URL’ enter the URPP link and change ${e://Field/id} with “+expInfo[‘participant’]” This changes the participant ID variable from ‘participant’ back to ‘id’ so URPP can recognize it and give credit to the participant.
  4. Don’t forget to push the changes from PsychoPy to Pavlovia!
URL ending, PsychoPy

Figure 6.4: URL ending, PsychoPy

6.1.2 URPP –> Pavlovia –> URPP: Automatic Process

URPP:

  1. Create a new study in URPP
  2. Under ‘Study URL: paste Pavlovia study URL ending in ?participant=%SURVEY_CODE%. This will pass the URPP code to Pavlovia through the variable ’participant’.
  3. Go to study page and copy the URPP completeion URL
URL ending, PsychoPy

Figure 6.5: URL ending, PsychoPy

PsychoPy:

  1. Click on Experimenter Settings on PsychoPy –> Online tab
  2. Paste the URPP completion URL and add “+expInfo[‘participant’]” to end of it. This allows URPP and PsychoPy to communicate the participant ID through the variable ‘participant’
  3. Don’t forget to push the changes from PsychoPy to Pavlovia!
URL ending, PsychoPy

Figure 6.6: URL ending, PsychoPy

6.2 Recruiting from Prolific

6.2.1 Prolific –> Qualtrics –> Pavlovia –> Prolific: Automatic Process

Prolific:

  1. Create a new study in Prolific
  2. Under ‘What is the URL of your study?’: paste Qualtrics survey link and click on ‘I’ll use URL parameters’. which will add the parameters to the end of the Qualtrics URL automatically.
  3. Click on ‘Configure parameters’ and change PROLIFIC PID –> participant, STUDY ID –> study_id, and SESSION ID –> session, respectively. This will translate the default prolific variable names to those used in Qualtrics and PsychoPy.
    URL ending, Prolific

    Figure 6.7: URL ending, Prolific

Qualtrics:

  1. Go onto Prolific code section, right click to open options and select default choices
  2. Add a new embedded data element, type in ‘participant’ as a variable and click insert. This will allow Qualtrics to recongize the Participant’s ID as the variable ‘participant’.
    embedded data field, Qualtrics

    Figure 6.8: embedded data field, Qualtrics

  3. Go to end of the survey, select ‘Redirect to URL’ and add ?participant=${e://Field/participant} at end of the Pavlovia URL of your experiment.
    URL ending, Qualtrics

    Figure 6.9: URL ending, Qualtrics

Prolific:

  1. Go back to your study on Prolific, under ‘Study completion’ click on the option ‘I’ll redirect them using a URL’ and copy the link below.
  2. Return to PsychoPy, and click on Experimenter Settings –> Online tab
  3. In ‘Completed URL’ enter the Prolific completion link and push your changes to Pavlovia!
Study Completion, PsychoPy

Figure 6.10: Study Completion, PsychoPy