Howdy, Stranger!

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

Supported by

Using Prolific IDs in OSWeb experiment

edited March 4 in OSWeb


Edited to add:: oops I'm sorry I didn't know that Elisa moved over my previous question to the correct part of the Forum! As I cannot delete this post myself, feel free to do so!


Hi!

I'm almost ready to run the experiment I've created in OSWeb on Prolific. I've uploaded it to our university's JATOS server, and it works fine from there (I've send people links and they work as well).

As I want to run it on Prolific, and they make use of huge ID numbers, I wanted to integrate these numbers right away, as is also indicated on the JATOS website and is explained (but for a different hosting site) on the Prolific site. However I have to admit that I'm a bit lost. In Prolific I can indeed find the URL Parameters, and I'd need the PROLIFIC_PID to register Prolific ID's I'd say.

However where I get stuck is what I now need to do to make sure that these parameters are accounted for. The JATOS site just says that "Then you can access those URL parameters in your study’s JavaScript via jatos.urlQueryParameters". I'm not quite sure how to do something like that? I assume that I would have to change it in my OSWeb file in some way? But I'm just not sure how to do this.


I also have another question related to Prolific IDs. Will they be treated as the subject number? I'm currently giving people a certain condition based on their participant number, but this is based on a number, not a combination of letters and numbers.

Kind regards,

Sanne

Comments

  • Just add the following code to a java codeblock in your experiment:

    var prolific_id = jatos.urlQueryParameters.prolific_pid;

    vars.prolific_id = prolific_id;

    and make sure to save the variable 'prolific_id' in your logger.


    Then, when you input the experiment link in Prolific, add this to the end of the link:

    &prolific_pid={{%PROLIFIC_PID%}}&STUDY_ID={{%STUDY_ID%}}&SESSION_ID={{%SESSION_ID%}}

  • Hi Sanne,

    Can you report back whether Jasper's response solves your problem? In the mean time, I will close the other discussion Elisa moved here. So, let's gather the information on that question in this discussion here.

    Thanks,

    Eduard

    Buy Me A Coffee

  • Hi Eduard,

    Yeah of course! The current plan is to run the experiment at the end of this week/beginning of next week, so I'll let you know by then if it works!

    Kind regards,

    Sanne

  • Hi!

    It does indeed work! I didn't notice at first that the link that was given here differed from the one that they give in Prolific, so for others please indeed copy the link that Jasper provided!

    Kind regards,

    Sanne

  • All credits go to @Yavor for figuring this out btw!

  • This solution works when the participants come directly from Prolific to Osweb (hosted on JATOS) but in my experiment I need participants to come from Prolifc to a Qualtrics Survey and then to Osweb. When doing that, I can't register participants' Prolific ID on Osweb/JATOS even if I place the code

    &PROLIFIC_PID={{%PROLIFIC_PID%}}&STUDY_ID={{%STUDY_ID%}}&SESSION_ID={{%SESSION_ID%}}
    

    at the end of the link on Qualtrics (as mentioned in this link [https://osdoc.cogsci.nl/3.3/manual/osweb/prolific/] which is aimed at directing participants directly from Prolific to Osweb).

    Is there a solution to register the Prolific ID on Osweb/JATOS when providing the link on Qualtrics?

    Best,

    Sullivan

  • Hi Sullivan,

    I have no clue, but maybe @Yavor has some experience with stuff like that?

    Sorry for not being able to help,

    Eduard

    Buy Me A Coffee

  • Hi @SullivanFontesse ,


    I had a similar issue, but I have worked around it by implementing whatever was in Qualtrics in my OSWeb study (I only had to implement the consent form, demographic data can be imported through the prolific IDs). Depending on how big your Qualtrics component is, this may or may not also work for you. The main issue is that, even though Qualtrics can recognise the prolific ID and can register it automatically, the forwarding function at the end of a Qualtrics survey to the OSWeb study link does not have this functionality unfortunately. You may want to address that question specifically to the Qualtrics community forum to see if there is a custom script that allows for this functionality.


    Best

    Jelle

  • Hi @SullivanFontesse & @JelleStudentRug,

    I'm planning to do something similar to what Jelle is describing Prolific to Qualtrics to Jatos to Prolific, but I haven't implemented it yet.

    This said, I did in the past use Qualtrics to link to online tasks, passing information as URL parameters. Qualtrics can receive the PROLIFIC_PID, STUDY_ID and SESSION_ID variables from the URL automatically (as long as you passed them on correctly from Prolific). To pass them on to JATOS when the Qualtrics survey is completed, you need (1) to have setup variables in Qualtrics to read the parameters from Prolific, and then pass the piped text corresponding to these in the JATOS URL you are redirecting to.

    For the first step, you need to use the "Set Embedded Data" tool in the flow:

    For the second step, work out what the piped text is for the variable of interest you want to pass on to JATOS. If you're not sure, go to any text component of your survey and use the "Insert piped text / Embedded Data FIeld" tool:

    Once you insert it, you'll know what to insert in the URL you send participants to upon completion of the Qualtrics survey. In this case:  ${e://Field/PROLIFIC_PID}

    Set up the customize end of survey event to indicate where to redirect your participant. Here's a dummy example (adapt it your need, passing on more parameters if you need).

    Again, I haven't tried it myself yet, but I think it should work along those lines.

    You can also find useful descriptions and even some sample task to do JATOS to Qualtrics or Qualtrics to JATOS here:

    Hope it helps.

    Fab.

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games