'Obtaining Worker ID from MTurk Using React
I have built a web app using React and want to be able to capture the worker ID. Is there a way to do this with React?
Solution 1:[1]
Your React code will run in an iframe. The iframe URL will look like this:
You can retrieve the worker id from the query string. It's A3IWRVNFT1T83W
in this example.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Trenton |