Webcam Eye-Tracking Compendium

Integration guides for embedding webcam-based eye tracking in online research.

AI agents now complete online surveys autonomously, bypassing CAPTCHAs and attention checks. We propose proof by presence: webcam eye tracking adds a physiological signal that's hard for software to fake. The guides below show how to integrate it into common research platforms.

Integration Guides

Step-by-step guides for embedding webcam eye tracking in jsPsych, oTree, PsychoPy, plain HTML, and Qualtrics.

jsPsych Integration

Integrate webcam eye tracking into jsPsych experiments.

oTree Integration

Implement eye tracking in oTree for experimental economics tasks.

PsychoPy Integration

Integrate webcam eye tracking into PsychoPy experiments.

Plain HTML Demo

A minimal example showing how to add eye tracking to any HTML page.

Companion Paper

Defending Against AI Agents with Webcam Eye Tracking

Kianté A. Fernandez, Xiaozhi Yang, Stephanie M. Smith, Ian Krajbich

A proof-of-concept study examining whether online participants will accept a webcam eye-tracking requirement, and whether that requirement deters AI-assisted responding across survey platforms.

Read Preprint (PsyArXiv)

Who We Are

This compendium is maintained by researchers committed to preserving the integrity of online research in the age of AI.

Kianté Fernandez

University of California, Los Angeles

Website →

Xiaozhi (Taro) Yang

University of Pennsylvania

Website →

Stephanie Smith

University of Chicago

Website →

Ian Krajbich

University of California, Los Angeles

Website →