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
      • Frames
        • Canvas Frame
        • Page Frame
        • Website Frame
      • Trial Timeline
      • Stimulus Presentation
      • Correctness of Response
      • Objects
      • Events
      • Variables
      • Task Wizard
      • Trial System
      • Experiment Design
        • Creating a Study
        • Data Frame Patterns
        • Multi-user Experiment Design
        • Longitudinal Experiment Design
    • FEATURED TOPICS

      • 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
      • Web Bridge
        • Selecting Website AOIs | Anchor, Adjust, and Verify AOI Tracking
        • Tracking Mouse Behavior on a Website AOI | Web Bridge Guide
      • 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
        • Frame Types
        • Objects
        • Object Property Tables
        • Variables
        • System Variables Table
        • 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
    • Building a Multi-user Study
    • Website Frame Eye Tracking Walkthrough
    • Conditional Webcam Eye Tracking
  • 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

Longitudinal Experiment Design

Longitudinal experiment design is about following the same participant across multiple sessions over time, rather than the single-session default every Labvanced study starts as. Understanding the underlying mechanics, not just the individual settings, helps you determine how best to schedule and manage a multi-session study before you start building. Related reading is linked throughout this page, so once the concepts make sense, moving into the more technical setup is straightforward.

By default, a Labvanced study runs as a single session: a participant starts, finishes, and is done. Longitudinal mode changes that by allowing a Group to contain more than one Session, each with its own tasks and its own schedule, so the same participant returns to continue the study later rather than a new participant starting fresh each time.

When you need a longitudinal design

If your study only needs one sitting per participant, for example a between-subjects comparison or a single experimental block, longitudinal mode adds complexity you don't need. You need it specifically when the same participant must return for a later measurement: a pre/post intervention design, a training-then-retention test, or a test-retest reliability check.

Prerequisite Knowledge

Fundamental knowledge of Labvanced is advised, such as how the study structure is organized and how variables are used, in order to follow the terminology used below.

Groups

How Groups and Sessions organize a study's structure, the foundation every longitudinal study is built on.

Conceptual illustration of variables in Labvanced as labeled containers holding different data types

Variables

What a variable is and how it stores values, including the built-in subject-level variables referenced below.

Setting up a longitudinal study

Multi-session studies are off by default. To enable them, open Settings, then under Subjects click through to Repeated Participation and turn on Longitudinal Design. This requires at least one Group to contain more than one Session; a Group with only one Session stays single-session regardless of this setting.

Example: For a two-session training study, create one Group with two Sessions, named Baseline and Follow-Up, each holding its own tasks. Define session timing, as described in the next section.

Structuring and scheduling sessions

Each Session inside a Group has its own name and its own list of tasks. Its schedule is set independently of the others, under four options: Anytime, Only at one specific date, At specific times (periodically), or Depending on former session, which unlocks a Session only after a minimum delay following the prior one and closes it after a maximum, set as Earliest Starting Time After Last Session and Latest Starting Time After Last Session. See Participation Time Settings for the full reference.

Example: A test-retest design needs Session 2 to open no earlier than 7 days after Session 1, and to expire if not taken within 14 days. Set Session 2's schedule to Depending on former session, with an earliest starting time of 7 days and a latest starting time of 14 days.

This setting is reached from the clock icon next to a Group on the Study Design tab, shown below alongside the resulting dialog.

session iconsession settings example
The clock icon that opens session timing settings from the Study Design tab, and the resulting dialog with "Depending on former session" selected.

Bringing participants back

Reactivating a participant for their next session is handled by a built-in, four-stage email sequence rather than something you build yourself: 1. Invitation (sent manually to start a participant off), 2. Session Complete (sent automatically once a session finishes), 3. Session Ready (sent automatically once the next session becomes available), and 4. Final Reminder (sent before that session's window expires). Turning on Send Reminder Emails under Repeated Participation activates this sequence and makes email a required participant field. Each template can be edited from the Subject Management Tab.

A participant does not need to track their own way back in: finishing a session shows a link straight to their own next session, and setting Session Selection is Done to Automatic (Server Based) assigns each returning participant to whichever of their sessions isn't completed yet, without you needing to distribute per-session links manually.

The Subject Management Tab is also where the whole study is monitored, not just where templates live. Its subject grid shows each participant's current status (including whether they've dropped out), their last completed session, and when their next session becomes due or expires, so following up on a stalled longitudinal study doesn't mean cross-referencing a spreadsheet by hand. For anything the four automated templates don't cover, selecting one or more participants and sending a Custom Email reaches them directly from the same view.

Controlling re-entry

Two independent settings under Repeated Participation control what happens if a participant tries to start again: Prevent When Completed blocks a participant who already finished the study from starting over, and Prevent When Not Completed limits a participant to a single attempt at their current session, closing the door on retries. Turn on whichever matches your design, both, one, or neither. Either option requires a unique subject identifier in the URL to work, such as subject_code, token, or a crowdsourcing platform's own participant ID.

Carrying variables across sessions

A plain Set / Record Variable only lives within the session that set it; it does not carry forward on its own. To carry a value from one session into a later one for the same participant, use the Read from / Write to Shared Variable action instead: it selects a Sync. Variable to persist server-side, under an optional Storage Key (defaults to the variable's name) found under Show Advanced Options, with a Read or Write Method of Read, modify, then write shared variable, Only read shared value from server, or Only write variable to server.

By default, this persists the value across that same participant's own sessions only. Checking Share values between different participants (not only between sessions) extends it further, so every participant reads and writes the same stored value rather than each participant getting their own.

Example: Record a score to a shared variable at the end of Baseline with Only write variable to server. In Follow-Up, read the same variable back with Only read shared value from server to compare the participant's new performance against their own baseline.

Subject_Code, Subject_Nr, Group_Name, and Exp_Subject_Id are the only variables that persist at the subject level automatically without using this action.

Best Practices

  • Decide your session scheduling option, Anytime, Only at one specific date, At specific times (periodically), or Depending on former session with its day-gap settings, before you start building tasks, since it shapes when each Session becomes reachable.
  • Turn on Send Reminder Emails and read through all four templates before publishing; a longitudinal study with reminders left off relies entirely on participants remembering to come back on their own.
  • Use the Subject Management Tab's dashboard to track each participant's last completed session and next session due date, rather than guessing at drop-off between sessions.
  • Turn on Prevent When Completed for any study where a repeat completion would corrupt your data, particularly on paid participant panels.

A concrete pattern: Baseline and Follow-Up

This is a classic two-session pre/post design: participants complete a baseline session, then return after a set delay to repeat a comparable measurement.

  1. Create one Group with two Sessions, named Baseline and Follow-Up.
  2. Enable Longitudinal Design under Settings → Subjects → Repeated Participation, and turn on Send Reminder Emails.
  3. Set Follow-Up's schedule to Depending on former session, with the earliest and latest starting times set to your study's required gap, for example 7 and 14 days.
  4. Build the baseline measurement in Baseline and the repeated measurement in Follow-Up. If a value from Baseline needs to inform Follow-Up, carry it across using a Read from / Write to Shared Variable action, see "Carrying variables across sessions" above.
  5. Set Session Selection is Done to Automatic (Server Based) so each returning participant is placed into Follow-Up without needing a separate link.

This structure holds for any two-timepoint design, training-then-retention, intervention pre/post, or a simple test-retest reliability check, only the tasks inside each Session and the day-gap window change.

Further Reading

Experiment Design

The hub for experimental design patterns in Labvanced, including this page's sibling multi-user guide.

Groups

The technical reference for Groups and Sessions, the structure every longitudinal study is built on.

Illustration of the Labvanced event system, showing triggers and actions

Read from / Write to Shared Variable

The action that carries a variable across a participant's own sessions, and optionally between different participants.

A person looking at a webcam eye tracking task created with Labvanced the experiment builder.

Feature Overview

The capability overview, including Longitudinal Designs and Participant Management, independent of implementation detail.

Subject Management Tab

The full reference for the Subject Management Tab: the subjects grid, email templates, and SMTP setup.

Illustration of multi-user experiment design in Labvanced, showing two synchronized participant screens

Multi-user Experiment Design

The sibling design pattern for connecting different participants in real time, rather than the same participant across sessions.

Prev
Multi-user Experiment Design