labvanced logoLabVanced
Contact
    • Remote Physiological Measurements
    • Eye Tracking
    • Head & Face-Tracking
    • Emotion Detection
    • Heart Rate Detection (rPPG)
    • Generative AI
    • Audio Transcription
    • EEG & Hardware Integrations
    • Decision Making
    • Reaction Times
    • Keyboard Inputs
    • Mouse Tracking
    • Mobile / Touch
    • Questionnaires
    • Gamepad / Joystick Integration
    • Audio Recordings
    • Audio Transcription
    • Video Recordings
    • Screen Recordings
    • Photos / Snapshots
    • Video Conferencing
    • Canvas Drawings
    • Build with AI
    • Build with Spreadsheets
    • Using the Experiment Editor
    • Coding
    • Creating Questionnaires
    • Balancing & Randomization
    • UX & Website Testing
    • Single Session Studies
    • Factorial Designs
    • Longitudinal & Multi-session Studies
    • Individual & Case Studies
    • Real-time Multi-user Studies
    • Interviews & Video Calls
    • Surveys & Questionnaires
    • Experience Sampling & Diaries
    • Classroom & Group Testing
    • Interventions & Clinical Trials
    • In the Browser
    • Mobile App
    • Desktop App
    • WebBridge Chrome Extension
    • Stroop Test
    • Flanker Task
    • N-back Task
    • Implicit Association Test
    • Trail Making Test
    • Digit Span
    • Corsi Block Tapping
    • Tower of London
    • Balloon Analog Risk Task
    • Preferential Looking
    • Browse more →
    • DASS-21
    • GAD-7
    • Rosenberg Self-Esteem Scale
    • PHQ-9
    • Ten-Item Personality Inventory
    • Big Five Personality Test
    • Adult ADHD Self-Report Scale
    • Browse more →
    • Building a Multi-user Study
    • Webcam Eye Tracking with AOIs
    • Website Frame Eye Tracking
    • Conditional Eye Tracking Opt-in
    • ChatGPT Study
    • Desktop App Study with EEG
    • Between-subjects Group Balancing
    • Building a Reading Study
    • Stroop Task
    • Lexical Decision Task
    • Browse more →
    Public Experiment Library
    • Arts Research
    • Clinical Psychology & Neuropsychology Medicine
    • Cognitive Psychology
    • Developmental Psychology
    • Behavioral Economics & Decision Science
    • Educational Research & Psychology
    • HCI & Human Factors
    • Linguistics & Language Sciences
    • Consumer & Marketing Research
    • Social & Personality Psychology
    • Sport & Movement Science
    • UX & Website Testing
    • Executive Functions
    • Language & Reading
    • Decision-Making & Reasoning
    • Attention
    • Overview
    • HCI & Human Factors
    • UX & Website Testing
    • Consumer & Marketing Research
    • White-Label App
    • PageGazer
    • Webcam vs. Lab Eye Tracking in InfantsAnna Banki & Gabriela Markova
    • Eye Tracking for Influencer MarketingDr. Alexander Edeling
    • Eye Tracking Infant Word ComprehensionDr. Giulia Calignano
    • Sentence Reading and Grammar JudgmentsDr. Jonathan Mirault
    • Regulating Emotions with MusicDr. Katrin Starcke
    • Game-Based Grammar Learning in ChildrenDr. Mireia Marimon
    • Gaze Cueing and AutismMax Soares Miehstein
    • Personality and Hearing in NoiseDr. Malte Wöstmann
    • All interviews →
    • Lab Notes
    • How to Cite Labvanced
    • Labvanced Platform Paper (2017)
    • Webcam Eye Tracking Validation (2024)
    • Webcam Eye Tracking Studies
    • Cognitive Psychology Studies
    • Developmental Psychology Studies
    • Linguistics Studies
    • See all publications →
    • Getting Started
    • Guide
    • Video Tutorials
    • Walkthroughs
    • Live Chat
    • Webinars & Onboarding Calls
    • AI Assistant
    • FAQ
    • Importing Templates Guide
    • Test Templates
    • Live Eye Tracking Metrics
    • Mouse Tracking Demo
    • ChatGPT Demo
    • Audio Recording Object Demo
    • Adding Image Stimuli Demo
    • Score & Feedback Demo
    • Browse all technical demos →
    • Timing Precision
    • Stimuli Presentation
    • Headphone Checks
    • Bot Checks
    • Participant Management
    • Comparisons
    • Research Blog
    • Prolific Integration
    • CloudResearch Integration
    • Sona Systems Integration
    • BeSample Integration
    • Panelabs Integration
    • Clickworker Integration
    • Labvanced Webhook API
    • Labvanced REST API
    • About Us
    • Newsletter Archive
    • Terms & Conditions
    • Data Security & Data Privacy
    • Technical & Organisational Measures
    • Accessibility
    • W-8BEN-E Form
    • Data Processing Agreement Template
    LinkedInYouTubeDiscord
    • Individual
    • Lab
    • Department / Consortium
    • Teaching
    • Campus
    • Commercial
    Top-Ups
    • Overview
    • Study Building
    • Subject Recruitment
    • Dedicated Support
    Checkout
  • Contact
    • ZH
      • 中國人
      • Deutsch
      • Français
      • Español
      • English
      • 日本語
    • Appgo to app icon
    • Loginlogin icon
    Platform
    Labvanced makes it easy to implement the most advanced study design and reliably collect your data.
    Biosignals & AI
    Remote Physiological MeasurementsEye TrackingHead & Face-TrackingEmotion DetectionHeart Rate Detection (rPPG)Generative AIAudio TranscriptionEEG & Hardware Integrations
    Behavioral Recordings
    Decision MakingReaction TimesKeyboard InputsMouse TrackingMobile / TouchQuestionnairesGamepad / Joystick Integration
    Media Recordings
    Audio RecordingsAudio TranscriptionVideo RecordingsScreen RecordingsPhotos / SnapshotsVideo ConferencingCanvas Drawings
    Implementation Techniques
    Build with AIBuild with SpreadsheetsUsing the Experiment EditorCodingCreating QuestionnairesBalancing & RandomizationUX & Website Testing
    Study Formats

    Your study can take whatever format your research needs. Here are a few popular examples.

    Single Session StudiesFactorial DesignsLongitudinal & Multi-session StudiesIndividual & Case StudiesReal-time Multi-user StudiesInterviews & Video CallsSurveys & QuestionnairesExperience Sampling & DiariesClassroom & Group TestingInterventions & Clinical Trials
    Where Studies Run

    Run your study online in the browser, on mobile or tablet with the mobile app, or in-lab with the desktop app.

    In the BrowserMobile AppDesktop AppWebBridge Chrome Extension
    Tests
    Explore cognitive tests, questionnaires, walkthroughs, and our public experiment library: a starting point for your next study.
    Popular Cognitive Tests
    Stroop TestFlanker TaskN-back TaskImplicit Association TestTrail Making TestDigit SpanCorsi Block TappingTower of LondonBalloon Analog Risk TaskPreferential Looking
    Browse more →
    Questionnaires & Scales
    DASS-21GAD-7Rosenberg Self-Esteem ScalePHQ-9Ten-Item Personality InventoryBig Five Personality TestAdult ADHD Self-Report Scale
    Browse more →
    Public Experiment Library

    Take a look at what other researchers in the community are doing through our extensive, open catalog of shared studies.

    Open the public library →
    Walkthroughs

    Step-by-step builds of complete studies, from a blank project to a running experiment, that you can follow along or adapt.

    Building a Multi-user StudyWebcam Eye Tracking with AOIsWebsite Frame Eye TrackingConditional Eye Tracking Opt-inChatGPT StudyDesktop App Study with EEGBetween-subjects Group BalancingBuilding a Reading StudyStroop TaskLexical Decision Task
    Browse more →
    Research
    One platform for students, academics, and industry researchers studying human behavior.
    Harvard UniversityStanford UniversityCambridge UniversityUCLNYUMax Planck InstituteUCLATU Munich

    Trusted by researchers at 1,500+ universities worldwide

    Academic Research
    Arts ResearchClinical Psychology & Neuropsychology MedicineCognitive PsychologyDevelopmental PsychologyBehavioral Economics & Decision ScienceEducational Research & PsychologyHCI & Human FactorsLinguistics & Language SciencesConsumer & Marketing ResearchSocial & Personality PsychologySport & Movement ScienceUX & Website Testing
    Research Areas
    Executive FunctionsLanguage & ReadingDecision-Making & ReasoningAttention
    Industry / Commercial
    OverviewHCI & Human FactorsUX & Website TestingConsumer & Marketing ResearchWhite-Label AppPageGazer
    Researcher Interviews

    Conversations with researchers about the studies they ran with Labvanced, what worked, and what they learned.

    Webcam vs. Lab Eye Tracking in InfantsAnna Banki & Gabriela MarkovaEye Tracking for Influencer MarketingDr. Alexander EdelingEye Tracking Infant Word ComprehensionDr. Giulia CalignanoSentence Reading and Grammar JudgmentsDr. Jonathan MiraultRegulating Emotions with MusicDr. Katrin StarckeGame-Based Grammar Learning in ChildrenDr. Mireia MarimonGaze Cueing and AutismMax Soares MiehsteinPersonality and Hearing in NoiseDr. Malte Wöstmann
    All interviews →
    Our Research
    Lab NotesHow to Cite Labvanced
    Peer Reviewed Studies

    A selection of peer-reviewed work built on Labvanced: our own platform and validation papers, and studies by the research community grouped by area. Hundreds more are listed on the full publications page.

    Labvanced Platform Paper (2017)Webcam Eye Tracking Validation (2024)Webcam Eye Tracking StudiesCognitive Psychology StudiesDevelopmental Psychology StudiesLinguistics Studies
    See all publications →
    Resources
    Valuable resources to help you learn the platform, stay updated, and more.
    Documentation
    Getting StartedGuideVideo TutorialsWalkthroughs
    Support
    Live ChatWebinars & Onboarding CallsAI AssistantFAQ
    Templates & Demos

    These are a few popular examples. Browse our guide and a selection of technical demos to get started with implementation.

    Importing Templates GuideTest TemplatesLive Eye Tracking MetricsMouse Tracking DemoChatGPT DemoAudio Recording Object DemoAdding Image Stimuli DemoScore & Feedback Demo
    Browse all technical demos →
    Methodology
    Timing PrecisionStimuli PresentationHeadphone ChecksBot ChecksParticipant ManagementComparisonsResearch Blog
    Integrations & APIs
    Prolific IntegrationCloudResearch IntegrationSona Systems IntegrationBeSample IntegrationPanelabs IntegrationClickworker IntegrationLabvanced Webhook APILabvanced REST API
    Company & Legal
    About UsNewsletter ArchiveTerms & ConditionsData Security & Data PrivacyTechnical & Organisational MeasuresAccessibilityW-8BEN-E FormData Processing Agreement Template
    LinkedInYouTubeDiscord
    Pricing
    Our licenses and additional services at a glance.
    Licenses
    IndividualLabDepartment / ConsortiumTeachingCampusCommercial
    Top-Ups

    Need more recordings for your lab or your own research? Simply use one of these recording top-up packages.

    Browse top-up packages →
    Additional Services

    Hire Labvanced’s expert team to quickly bring your project to the level of rigor it needs.

    OverviewStudy BuildingSubject RecruitmentDedicated Support
    Checkout

    Ready to purchase a license or top-up? Head straight to checkout.

    Go to checkout →
    • 中國人
    • Deutsch
    • Français
    • Español
    • English
    • 日本語
    • 入门
    • 指南
      • 入门

        • 任务编辑器
        • 框架
          • 画布框架
          • 页面框架
          • 网站框架
        • 试验时间线
        • 刺激呈现
        • 反应的正确性
        • 对象
        • 事件
        • 变量
        • 任务向导
        • AI助手
        • 试验系统
        • 实验设计
          • 创建研究
          • 在 Labvanced 中导入模板
          • 数据框模式
          • 多用户实验设计
          • 纵向实验设计
      • 特色主题

        • 随机化与平衡
        • 眼动追踪
          • 在眼动追踪任务中呈现刺激
          • 如何选择眼动追踪校准设置
          • 在任务中设置眼动追踪
          • 记录和导出注视数据
          • 使用形状作为兴趣区域 (AOI) 进行眼动跟踪
          • 参与者校准体验
        • 网络桥接
          • 选择网站 AOI | 锚点、调整和验证 AOI 跟踪
          • 在网站区域(AOI)上跟踪鼠标行为 | Web Bridge指南
        • 问卷
        • 桌面应用
        • 示例研究
        • 参与者招募
        • API访问
          • REST API
          • Webhook API
          • WebSocket API
        • 其他主题

          • 精确刺激时序
          • 多用户研究
          • 头部追踪在 Labvanced 中 | 指南
      • 主应用标签

        • 概述:主标签
        • 仪表板
        • 我的研究
        • 共享研究
        • 我的文件
        • 实验库
        • 我的账户
        • 许可与服务
      • 研究标签

        • 概述:研究特定标签
        • 研究设计
          • 任务
          • 区块
          • 会话
          • 组
        • 任务编辑器
          • 任务控制
          • 试验系统
          • 框架类型
          • 对象
          • 对象属性表
          • 变量
          • 系统变量表
          • 事件系统
          • 文本编辑器功能
          • 任务编辑器中的眼动追踪选项
          • 任务中的头部追踪
          • 多用户研究
        • 设置
        • 变量
        • 媒体
        • 文本与翻译
        • 启动与参与
        • 受试者管理
        • 数据视图与导出
    • 视频教程
      • 视频概述
      • 在Labvanced中入门
      • 创建任务
      • 元素视频
      • 事件与变量
      • 高级主题
    • 演练
      • 介绍
      • 斯特鲁普任务
      • 词汇决策任务
      • 波斯纳注视提示任务
      • 变化盲点闪烁范例
      • 眼动追踪示例研究
      • 婴儿眼动追踪研究
      • 基于鼠标跟踪的注意力捕获研究
      • 快速串行视觉呈现
      • ChatGPT研究
      • 眼动追踪演示:SVG作为AOI
      • 多用户演示:显示受试者光标
      • 游戏手柄/摇杆控制器-基础设置
      • 集成EEG的桌面应用程序研究
      • 被试间组平衡和变量设置
      • 构建多用户研究
      • 网站框架眼动追踪演练
      • 条件性网络摄像头眼动追踪
      • 文本分割研究构建
      • 构建AI研究
    • 常见问题
      • 功能
      • 支持政策和指南
      • 安全与数据隐私
      • 许可
      • Labvanced的精确度
      • 编程使用与API
      • 离线使用Labvanced
      • 故障排除
      • 研究创建问题

    URL_Search_Params

    URL_Search_Params 是一个 system variable,它保存参与者会话开始时 URL 上的每个参数,自动捕获为 JSON。它在每个研究中都存在。大多数研究人员不需要直接接触它,因为 Labvanced 已经将它识别的参数(众包 ID、group、session 等)读取到它们各自的专用变量中。

    Purpose

    众包平台和面板各自发送自己的一长串 URL 参数。一些是集成工作所必需的,比如参与者 ID,Labvanced 已经直接处理这些。其他参数更像是辅助信息,虽然在某些情况下有用,但没有自己的专用变量,比如目标标准或尝试 ID。URL_Search_Params 是第二组的各类捕获点:会话开始时,所有参数会自动捕获,不需要配置,因此新的集成可以直接工作。

    它背后的想法是简化:不需要为平台可能发送的每个参数创建一个专用变量,而是一个变量将所有参数放在一起。这使得新集成可以在没有额外设置的情况下运行,并为你提供一个检查的单一位置,以防研究需要没有其他变量跟踪的值。

    这些值来自众包提供商,而不是 Labvanced。例如,Besample 的 tc 是由 Besample 创建并发送的;Labvanced 只是作为 URL_Search_Params 从链接中读取它。

    How it's recorded

    完整的查询字符串在会话开始时读取一次,并从那时起存储在 URL_Search_Params 全局变量中。从那里,它在实验的其余时间内保持可用,和任何其他变量一样,随时准备在研究设计需要时读取。

    在内部,值存储为以下形式的 JSON 字符串:

    {"is_truncated": false, "params": {"type": "besample", "battempt": "3", "tc": "276", "tg": "f"}}
    

    重复的参数名称保存一个值的数组。is_truncated 只有在查询字符串异常长时(超过 4096 个字符)才会发生。在这种情况下,将会省略使其超出限制的参数,而短于此的所有参数仍会被记录。

    排除的记录包括 Labvanced 自己的实验 ID 和每个众包平台的参与者标识参数,这些参数另行保存在 Crowdsourcing_SubjId 中(例如 PROLIFIC_PID 用于 Prolific,bpid 用于 Besample)。为了同样的隐私原因,还有一些其他参数被排除,而没有存储在其他地方,比如 Besample 的 bnum,这是一个与单个受访者的完成支付相关的一次性代码。

    How it's used

    Run JavaScript Action 是如何从 URL_Search_Params 中提取一个值并对其进行操作的方式。与较简单的替代方案并不严格为二者之一:如果你只需要一个特定的、已经命名的值,Get URL Parameter Action 可以不使用 JSON 或代码直接获取它。选择 URL_Search_Params 当你想要完整的链接记录,而不仅仅是你设置提取的一个参数,无论每个参数的名称是否已经知道。

    tc 是 Besample 自己的官方参与者目标国家参数。首先选择一个触发器,例如 On Frame Start 或按钮点击,无论什么应启动读取。然后使用 Run JavaScript 从 URL_Search_Params 中读取 tc 并将其保存到一个你创建并完全控制的变量中,例如 Target_Country(首先在变量选项卡中创建它):

    var urlParams = JSON.parse(getValue("URL_Search_Params"));
    setValue("Target_Country", urlParams.params.tc || ""); // ISO 3166-1 numeric country code, empty string if tc isn't on the link
    

    || "" 很重要:与 Get URL Parameter 不同,后者在缺少参数时默认自动变为空字符串,而这里缺少的值如果被直接传入 setValue 而没有后备方案,则会抛出错误。读取可能不存在的参数时,总是后备一个默认值。

    从那里,像任何其他变量一样使用 Target_Country。例如:

    Trigger: On Frame Start
    Action: Requirement (If... Then) → 左侧 Variable → Target_Country,比较 equal,右侧 Constant Value → 276 → 然后: Jump to Next Frame → 你的国家特定任务

    在一个工作示例中查看此方法旁边的 Get URL Parameter: 从全局变量获取自定义 URL,一个库研究将相同的 URL 参数双向读取,以便你可以直接比较结果。复制此 URL 直接尝试:

    https://www.labvanced.com/player.html?id=88576&tc=276

    如果你有任何问题,请 contact us.

    FAQ

    我需要设置什么来使用 URL_Search_Params 吗?
    不需要。它在每个研究中自动记录,且不需要事件或变量设置。
    我可以直接在变量选择器中选择 URL_Search_Params 吗?
    它在默认列表中被隐藏,就像一些其他内部变量一样,但并不是不可选择的:在相同对话框中检查 `Show all variables`,它就会出现,或者从变量选项卡中永久添加到默认列表中。无论哪种方式,它的值是完整的 JSON 字符串,而不是一个参数,因此大多数用法仍然需要 `Run JavaScript` 操作来解析并提取你想要的字段。
    这会包括参与者的众包 ID 吗?
    不会。无论众包平台使用哪个参数来识别其参与者(例如 PROLIFIC_PID 或 bpid),都排除在该记录之外,而是另行保存在 `Crowdsourcing_SubjId` 中。

    Further Reading

    System Variables

    系统变量

    系统变量作为一个类别是什么,其中包括 URL_Search_Params,以及完整参考表的位置。

    Launch & Participate

    URL 参数

    Labvanced 从参与链接读取的参数的完整参考,包括如何构建自定义链接。

    Run JavaScript Action

    运行 JavaScript 操作

    如何使用自定义 JavaScript 读取和设置 Labvanced 变量,这是上面示例背后的机制。

    Get URL Parameter Action

    获取 URL 参数操作

    当你已经知道需要的确切参数名称时的更简单替代,无需 JSON 或代码。