Aarhus University, Aarhus C, Denmark.
Reykjavik University, Reykjavik, Iceland.
Behav Res Methods. 2024 Apr;56(4):3380-3395. doi: 10.3758/s13428-024-02343-1. Epub 2024 Feb 12.
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.
互联网已经成为我们生活的重要组成部分,越来越多的研究人员使用眼动追踪技术来研究在线环境中的注意力和行为。然而,研究人员在将眼动追踪数据映射到可滚动的网页上面临着重大挑战。我们描述了 R 包 eyeScrollR,用于映射来自可滚动内容(如网页)的眼动追踪数据。该包使用基于鼠标滚动数据的确定性算法将眼动追踪注视坐标重新映射到整页坐标。该包包括处理常见情况的选项,例如当用户滚动时仍然可见的粘性菜单或广告。我们在不同的硬件和软件设置以及不同的网页上测试了该包的有效性,并表明它在与手动编码的对比测试中具有很高的准确性。与当前的方法相比,eyeScrollR 为从可滚动网页映射眼动追踪数据提供了一种更具可重复性和可靠性的方法。由于其开放的代码和免费的可用性,我们推荐 eyeScrollR 作为眼动追踪研究人员的必备工具,特别是那些坚持开放科学原则的人员。eyeScrollR 包为眼动追踪研究领域做出了有价值的贡献,促进了在网页滚动环境中对眼动追踪数据进行准确和标准化的分析。