labvanced logoLabVanced
  • Research
    • Publications
    • Researcher Interviews
    • Use Cases
      • Developmental Psychology
      • Linguistics
      • Clinical & Digital Health
      • Educational Psychology
      • Cognitive & Neuro
      • Social & Personality
      • Arts Research
      • Sports & Movement
      • Marketing & Consumer Behavior
      • Economics
      • HCI / UX
      • Commercial / Industry Use
    • Labvanced Blog
    • Services
  • Technology
    • Feature Overview
    • Code-Free Study Building
    • Eye Tracking
    • Mouse Tracking
    • Generative AI Integration
    • Multi User Studies
    • More ...
      • Reaction Time/Precise Timing
      • Text Transcription
      • Heart Rate Detection (rPPG)
      • Emotion Detection
      • Questionnaires/Surveys
      • Experimental Control
      • Data Privacy & Security
      • Desktop App
      • Mobile App
  • Learn
    • Guide
    • Videos
    • Walkthroughs
    • FAQ
    • Release Notes
    • Documents
    • Classroom
  • Experiments
    • Cognitive Tests
    • Sample Studies
    • Public Experiment Library
  • Pricing
    • Licenses
    • Top-Up Recordings
    • Subject Recruitment
    • Study Building
    • Dedicated Support
    • Checkout
  • About
    • About Us
    • Contact
    • Downloads
    • Careers
    • Impressum
    • Disclaimer
    • Privacy & Security
    • Terms & Conditions
    • Third-Party Licenses
  • Appgo to app icon
  • Logingo to app icon
Learn
Guide
Videos
Walkthroughs
FAQ
Newsletter Archive
Documents
Classroom
  • 中國人
  • Deutsch
  • Français
  • Español
  • English
  • 日本語
Guide
Videos
Walkthroughs
FAQ
Newsletter Archive
Documents
Classroom
  • 中國人
  • Deutsch
  • Français
  • Español
  • English
  • 日本語
  • Guide
    • GETTING STARTED

      • Task Editor
      • Stimulus Presentation
      • Correctness of Response
      • Objects
      • Events
      • Variables
      • Task Wizard
      • Trial System
      • Study Design
        • Tasks
        • Blocks
        • Sessions
        • Groups
    • FEATURED TOPICS

      • Experiment Design
        • Creating a Study
        • Data Frame Patterns
      • Randomization & Balance
      • Eye Tracking
        • Presenting Stimuli in an Eye Tracking Task
        • How to Choose Eye Tracking Calibration Settings
        • Setting Up Eye Tracking in a Task
        • Recording and Exporting Gaze Data
        • Using Shapes as Areas of Interest (AOI) for Eye Tracking
        • The Participant Calibration Experience
      • Questionnaires
      • Desktop App
      • Sample Studies
      • Participant Recruitment
      • API Access
        • REST API
        • Webhook API
        • WebSocket API
      • Other Topics

        • Precise Stimulus Timings
        • Multi User Studies
        • Head Tracking in Labvanced | Guide
    • MAIN APP TABS

      • Overview: Main Tabs
      • Dashboard
      • My Studies
      • Shared Studies
      • My Files
      • Experiment Library
      • My Account
      • License & Services
    • STUDY TABS

      • Overview: Study-Specific Tabs
      • Study Design
        • Tasks
        • Blocks
        • Sessions
        • Groups
      • Task Editor
        • Task Controls
        • The Trial System
        • Canvas and Page Frames
        • Objects
        • Object Property Tables
        • Variables
        • System Variables Tables
        • The Event System
        • Text Editor Functions
        • Eye Tracking Options in the Task Editor
        • Head Tracking in a Task
        • Multi-User Studies
      • Settings
      • Variables
      • Media
      • Texts & Translate
      • Launch & Participate
      • Subject Management
      • Dataview and Export
        • Dataview and Variable & Task Selection (OLD Version)
        • Accessing Recordings (OLD Version)
  • Videos
    • Video Overview
    • Getting Started in Labvanced
    • Creating Tasks
    • Element Videos
    • Events & Variables
    • Advanced Topics
  • Walkthroughs
    • Introduction
    • Stroop Task
    • Lexical Decision Task
    • Posner Gaze Cueing Task
    • Change Blindness Flicker Paradigm
    • Eye-tracking Sample Study
    • Infant Eye-tracking Study
    • Attentional Capture Study with Mouse Tracking
    • Rapid Serial Visual Presentation
    • ChatGPT Study
    • Eye Tracking Demo: SVGs as AOIs
    • Multi-User Demo: Show Subjects' Cursors
    • Gamepad / Joystick Controller- Basic Set Up
    • Desktop App Study with EEG Integration
    • Between-subjects Group Balancing and Variable Setup
  • FAQ
    • Features
    • Support Policy & Guidelines
    • Security & Data Privacy
    • Licensing
    • Precision of Labvanced
    • Programmatic Use & API
    • Using Labvanced Offline
    • Troubleshooting
    • Study Creation Questions
  • Newsletter Archive
  • Documents
  • Classroom

Eye Tracking on an Embedded Website: A Web Bridge Walkthrough

This walkthrough covers the full path for tracking webcam-based gaze, clicks, and scroll behavior on a real external website inside a Labvanced study, from installing the required extension through to reading your exported data. It uses the same peer-reviewed webcam eye tracking pipeline validated in Kaduk et al., 2024, applied to a live website instead of stimuli built directly in Labvanced.

1. Is This the Right Approach?

Use this walkthrough if your study embeds a real, live external website (a product page, a news article, a client's own interface) and you need to measure how participants look at, click, and scroll through it. If you're tracking gaze on stimuli built directly in Labvanced instead (images, text, shapes), see the Webcam Eye Tracking Guide instead. For the full picture of both paths, see Eye Tracking in Labvanced.

2. Install the Extension First: Every Participant Needs It

Labvanced Web Bridge is a live, generally available Chrome extension, and it must be installed by you and every participant, not just by whoever builds the study. Skip this and your first sign that something is wrong will be a failed pilot session, not a build-time warning. Always test with the extension installed before circulating a study link.

Install it from the Chrome Web Store, following Installation in the full Web Bridge guide. A participant who hasn't installed it yet sees a prompt like this instead of the study:

Participant-facing prompt asking to install the Labvanced Web Bridge browser extension before the study can continue

3. Create the Study and Add the Website Frame

Website Frame is a real, third frame type in Labvanced, alongside Canvas Frame and Page Frame, added the same way.

  1. Open your experiment in the editor.
  2. Under Trial Timeline, click + Website.
  3. Name the frame and enter the target website's URL, then confirm the extension shows its green confirmation message. If it doesn't appear, revisit step 2 before continuing.
  4. The embedded website now displays live inside the frame in the editor.
Trial Timeline showing the + Website frame-type option alongside Canvas and Page

4. Select Your AOIs: This Is a Manual Step

There is no auto-detection. Labvanced never reads a website's own markup to guess which containers matter to your study, every Area of Interest (AOI) is a container you click and anchor by hand.

  1. With the Website Frame open and the embedded site interactive, click the AOI icon, the top icon in the toolbar that appears when a Website Frame is selected (tooltip: Add Website AOI).
  2. The AOI appears in red. Click your target element on the embedded website (a product image, a headline, a button). The selection turns green once anchored.
Task editor toolbar with the Add Website AOI icon highlighted above a live embedded website
  1. Use Parent, Child, Prev, and Next in the Object Properties panel to move the selection up, down, or sideways through the page's element tree if the anchored area is too broad, too narrow, or off by one element.
    • Resolution (desktop vs. mobile) lives on the Website Frame's own properties, not the AOI's, use it to preview whether your anchored AOIs still land correctly at a different screen size.
  2. Repeat for each element you want to track.
Anchored Website AOI with its Object Properties panel showing the CSS Selector, Parent/Child/Prev/Next adjustment controls, and the AOI list in the side panel

If the AOI Is on a Different Page Than the One You Loaded

A Website Frame only has one starting URL. If the element you need is on a different page of the site, for example an "Add to Cart" button that only exists on a product page, navigate the embedded site to that page first (or point the frame's own URL setting at it directly), then anchor the AOI there the same way. All AOIs you've added to the frame are listed in the side panel.

5. Record the Gaze Data: Add Events

An AOI by itself records nothing. Gaze on it only becomes data once you build an event that captures it into a variable:

  1. Add a new event from the events editor.
  2. For the trigger, select Physiological Signal Triggers → Eyetracking Gaze.
  3. Select the option to only trigger on specific elements, then add your AOI as a target.
  4. Name the event. An Eyetracking Gaze Event Setup dialog appears automatically at this point, offering to build the recording action for you, accept Record gaze timeseries [X,Y,T,C] (checked by default) and Labvanced creates the Set / Record Variable action below for you, targeted at your AOI.
  5. If you skip or close that dialog, build it manually instead: action Variable Actions → Set / Record Variable, with a variable set to Format Array and Record Type All changes / time series, then in the value select menu choose Coord. + Time + Confidence [X,Y,T,C] Array from the Trigger (Eyetracking Gaze) options.

This is the same trigger-and-action pattern used for eye tracking on Labvanced-built stimuli, applied to a Website AOI target instead. See Recording and Exporting Gaze Data and the Eyetracking Gaze Trigger reference for the full detail on this event, the automated setup dialog, and calibration-error recording.

Web Bridge also reports non-gaze behavioral data for the same AOI: element position, clicks, hover, mouse movement, and scroll position. See What Gets Tracked in the full guide for how to record each.

Events editor showing an Eyetracking Gaze trigger targeting two Website AOI targets, connected to Set/Record Variable actions

6. Optional: Add a Gaze Indicator for Piloting

The toolbar that appears when a Website Frame is selected has a second icon right next to Add Website AOI, called Add Gaze Indicator. Click it and Labvanced adds a small red circular marker to the frame, along with an automatically created update gaze position event that keeps the marker's position updated to the current gaze coordinates during playback.

This is a piloting aid: it lets you watch where your own gaze lands while you test the study. It doesn't get recorded as data and isn't something participants need.

7. If You Also Need a Webcam Opt-In/Opt-Out Path

If your study needs to let participants decide whether to enable webcam eye tracking at all, before any camera-access prompt appears, that's a separate, general branching-study pattern, not specific to Website Frame. A dedicated walkthrough for that is planned. If you need it before it's published, contact [email protected].

8. Test and Read Your Export

Preview your task with the extension installed and confirm the website loads and your AOIs anchor as expected. Publish once you're satisfied, following Publishing and Sharing in the full guide.

Your gaze data exports the same way as any other webcam eye tracking data: as timeseries rows in the Dataview & Export tab. See Exporting Gaze Data for how to read the X, Y, T, and C columns.

For everything else, installation details for both researchers and participants, full use cases, data and privacy specifics, and troubleshooting, see the complete Labvanced Web Bridge guide linked below.

Further Reading

Labvanced Web Bridge | Support & Guide

The full reference: installation, use cases, data and privacy, troubleshooting, and FAQ.

Recording and Exporting Gaze Data

The full reference for the Eyetracking Gaze trigger, calibration error recording, and data export format.

Eyetracking Gaze Trigger

Full reference for this trigger, including the automated Eyetracking Gaze Event Setup dialog and trigger-specific values.

Eye Tracking in Labvanced

Deciding between webcam eye tracking, in-lab hardware, and tracking an embedded website.