eyeScrollR: A software method for reproducible mapping of eye-tracking data from scrollable web pages
- PMID: 38347256
- PMCID: PMC11133154
- DOI: 10.3758/s13428-024-02343-1
eyeScrollR: A software method for reproducible mapping of eye-tracking data from scrollable web pages
Abstract
The Internet has become an important part of our lives and an increasing number of researchers use eye-tracking technology to examine attention and behavior in online environments. Researchers, however, face a significant challenge in mapping eye-tracking data from scrollable web pages. We describe the R package eyeScrollR for mapping eye-tracking data from scrollable content such as web pages. The package re-maps eye-tracking gaze coordinates to full-page coordinates with a deterministic algorithm based on mouse scroll data. The package includes options for handling common situations, such as sticky menus or ads that remain visible when the user scrolls. We test the package's validity in different hardware and software settings and on different web pages and show that it is highly accurate when tested against manual coding. Compared to current methods, eyeScrollR provides a more reproducible and reliable approach for mapping eye-tracking data from scrollable web pages. With its open code and free availability, we recommend eyeScrollR as an essential tool for eye-tracking researchers, particularly those who adhere to open-science principles. The eyeScrollR package offers a valuable contribution to the field of eye-tracking research, facilitating accurate and standardized analysis of eye-tracking data in web scrolling contexts.
Keywords: Eye tracking; Gaze mapping; Open source; Scrollable web pages; Software.
© 2024. The Author(s).
Figures
References
-
- Alemdag, E., & Cagiltay, K. (2018). A systematic review of eye tracking research on multimedia learning. Computers & Education,125, 413–428.
-
- Anderson M, Jiang J, et al. Teens, social media & technology 2018. Pew Research Center. 2018;31(2018):1673–1689.
-
- Chang, W., Cheng, J., Allaire, J., Sievert, C., Schloerke, B., Xie, Y., et al. (2022). shiny: Web application framework for r. [R package version 1.7.2]. Available from: https://CRAN.R-project.org/package=shiny.
-
- Gidlöf, K., Wallin, A., Dewhurst, R., & Holmqvist, K. (2013). Using eye tracking to trace a cognitive process: Gaze behaviour during decision making in a natural environment. Journal of Eye Movement Research, 6.
-
- Holmqvist, K., Nyström, M., Andersson, R., Dewhurst, R., Jarodzka, H., & Van de Weijer, J. (2011). Eye tracking: A comprehensive guide to methods and measures. OUP Oxford.
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
