Besample
Product guides

Not by surveys alone.
5 ways to capture behavioral data online

For many researchers, collecting behavioral data online means one thing: surveys. You recruit participants, present them with questions, and record their responses. Surveys do remain extraordinarily useful, but they capture only one slice of human behavior: what people explicitly report (by reading, clicking, tapping, or typing).

But what if you want to know how quickly someone makes a decision, or where their attention goes? Or whether they hesitate before choosing? Or how accurately they remember something, or how their behavior changes from one trial to the next?

A growing ecosystem of online research tools makes it possible to collect these kinds of data remotely. Contrary to common belief, it doesn’t have to happen in a lab - it can happen right in a participant's browser.

Here are five types of behavioral and cognitive data that scientists can capture online, and some of the tools that make it possible.


1. Reaction time and task performance

Sometimes what a participant chooses tells only half the story; how long it takes them to choose can be data too. This is central to reaction-time paradigms which have served cognitive psychology for more than a century. Researchers use them to study attention, memory, implicit associations, inhibition, decision-making, and many other processes.

Today, many of these experiments can run in a web browser. Platforms such as Labvanced, Gorilla, and PsychoPy/Pavlovia allow researchers to build experiments involving precisely timed stimuli, repeated trials, keyboard responses, and reaction-time measurements without bringing every participant into a physical laboratory.

This is powerful for international research. An experiment that once required access to a local university participant pool can potentially be run with participants thousands of miles away, as long as they have an internet connection and a device.

Reaction time in a browser can be volatile, so it's worth understanding how a platform is built to ensure precise timing before running this kind of research. A 2023 study by Lukács and Gartus found that how a platform measures on-screen timing can meaningfully affect precision, and Labvanced's timing system is built around the practices that study identifies as effective. With such groundwork in place, researchers can trust their reaction-time data whether a participant is down the hall or on the other side of the world.

2. Eye-tracking and visual attention

While a survey can tell you what somebody remembers seeing, eye-tracking can help tell you what they actually looked at..

With eye tracking, researchers can study questions such as 1) which elements of an image attract attention first, 2) how long people look at different regions, or 3) how visual attention changes while someone makes a decision.


Traditionally, eye tracking has been an in-lab tool, relying on dedicated hardware such as EyeLink or Tobii. Webcam-based eye tracking is changing that. Open-source libraries like WebGazer (usable in jsPsych and other frameworks) and built-in solutions from platforms such as Labvanced and Gorilla let researchers record gaze through a participant’s own webcam.

Accuracy has improved considerably. A 2024 validation study by Kaduk et al. compared Labvanced’s webcam eye tracking with the EyeLink 1000, a research-grade lab tracker, and found a mean gaze error of 1.4° versus 0.91°. That’s well beyond the roughly 4° originally reported for earlier webcam approaches. Webcam tracking still isn’t a substitute for lab hardware when you need high sampling rates or fine-grained measures like microsaccades. But for questions about where attention goes and for how long, it’s increasingly a serious option for online research.

3. Mouse movements and interaction trajectories

Imagine two participants ultimately click the same answer. One moves directly toward it. The other begins moving toward another option, hesitates, reverses direction, and finally makes the same choice.

A conventional survey records identical responses. Their mouse trajectories tell two different stories. Mouse-tracking can reveal hesitation, conflict, uncertainty, and the unfolding process behind a decision. Researchers can also capture clicks, scrolling, movement patterns, and other interactions with an experimental interface.

Tools including Labvanced, MouseTracker, and custom jsPsych experiments can capture these richer interaction data.

It is a useful reminder that sometimes the most interesting behavioral data are hiding between stimulus and response.

4. Audio, video, and expressive behavior

Not every response has to fit inside a text box. Online studies can ask participants to speak, record video, describe an experience aloud, or respond to stimuli while their camera is active. This creates another layer of behavioral information: how something is expressed, not simply what answer is selected. 

Depending on the research question and participants' consent, researchers can examine speech duration, response latency, vocal characteristics, facial movement, or other aspects of expressive behavior.

Platforms and libraries including Labvanced, iMotions, OpenFace, and MediaPipe offer different approaches to collecting or analyzing these kinds of data.

These methods also introduce additional privacy and ethical considerations. Audio and video can be much more identifiable than a multiple-choice response, making informed consent, secure storage, and thoughtful data handling especially important.

5. Naturalistic and digital behavior

Finally, behavioral research increasingly extends beyond the experiment itself. Smartphones, browsers, and other digital devices can generate data about how people interact with technology and move through their environments. Depending on the study, researchers might examine typing patterns, browsing behavior, smartphone interactions, mobility, or other digital traces.

This moves research closer to behavior as it occurs in everyday life — but also raises some of the strongest questions about privacy, consent, and what researchers genuinely need to collect.

Example of embedding a website in Labvanced to study and quantify how users interact with it, as well as capture gaze patterns through webcam-based eye tracking.


As with the other methods above, richer data aren't automatically better data. The measurement method should follow the research question.

The next challenge: who participates?

These technologies solve one side of the problem: what researchers can measure online. There is another equally important question: from whom can they measure it?

Moving a cognitive task from a physical laboratory into a browser is useful. But if the resulting study still consists almost entirely of university students or participants from a handful of wealthy Western countries, the methodological possibilities have expanded much faster than the population being studied.

This is where experimental platforms and participant-recruitment platforms can complement one another.

Besample provides access to research participants across countries and populations, while integrating with experimental tools including Labvanced, Gorilla, SoSci Survey, QuestionPro and Qualtrics. Researchers can build the study in the environment that best fits their methodology and use Besample as the recruitment and participant-management layer.

That means moving beyond surveys doesn't have to mean moving back into the lab. A researcher can build a rigorous reaction-time experiment, interactive task, or other complex behavioral study online — and then run it with participants living on the other side of the world.

The web hasn't just made surveys easier to distribute and data faster to collect. It's gradually turning into a behavioral research lab of its own.

References
Kaduk, T., Goeke, C., Finger, H., & König, P. (2024). Webcam eye tracking close to laboratory standards: Comparing a new webcam-based system and the EyeLink 1000. Behavior Research Methods, 56(5), 5002–5022. https://doi.org/10.3758/s13428-023-02237-8

Lukács, G., & Gartus, A. (2023). Precise display time measurement in JavaScript for web-based experiments. Behavior Research Methods, 55, 1079–1093. https://doi.org/10.3758/s13428-022-01835-2


All resources