====== Amazon MTurk ====== You may want to recruit respondents using [[https://www.mturk.com/|Amazon Mechanical Turk]] (MTurk). **Warning:** We must assume that worker IDs are personal data. That means that restrictions from the GDPR (see [[:en:general:dsgvo]]) may apply. Therefore, if using individual codes or retrieving the worker ID, please make to check the procedure with your local data protection officier (DPO). ===== Display a Code ===== According to the official documentation of Amazon, you should provide an ID at the end of your questionnaire that the workers must enter in the MTurk form. Of course, you could display some fixed code, if respondents comply with your quality check criteria. if (caseTime('begin') > 600) { html('

The survey code is 12345678

'); } else { html('

Sorry, you did not complete this survey sufficiently carfully.

'); }
Yet, you probably want to provide individual codes in order to prevent workers to share codes. Please follow the manual [[:en:create:vouchers]] to provide individual codes. Using the official code solution, however, will give you some additional work to assign which workers have earned the HIT, and which not. ===== Copy the Worker ID ===== When you create a new MTurk task, using the "Survey Link" template, you can modify the code in order to send the worker ID directly to your data set. ==== MTurk Task ==== In the Amazon MTurk Requester management, please select //Create// -> //New Project// and then start with the template //Survey// -> //Survey Link//. Click //Create Project// to get started with the details. In the first tab of the Amazon MTurk form, please enter all the data (Title, Description, ...) In the second tab "Design Layout" then click the "Source" button in order to see the HTML source code of the design. {{:de:create:scr.mturk.source.png|Amazon MTurk form}} In the source code, you need to make two modifications. First, at the very beginning, under the '''' tag, add one line to embed some JavaScript (additional line is set in bold). |''%%%%''\\ ''**%%%%**''\\ ''%%