Skip to content

Configuration GuideΒΆ

Customize Everything

RemoteGazeUX is designed to adapt to YOUR research needs. This guide shows you how to make it yours.

πŸŽ›οΈ Configuration MethodsΒΆ

You have two ways to configure RemoteGazeUX:

Visual, friendly, no-code solution

You can open it when asked to modify the configuration with

python run.py

Or with:

python src/config.py

Perfect for:

  • Quick changes
  • Non-technical team members
  • Visual learners
  • Initial setup

Direct file editing for power users

Edit: src/config/config.json and src/config/tasks.json

Perfect for:

  • Version control
  • Scripted deployments
  • Batch changes
  • Advanced users

Choose whatever works best for you! Both methods achieve the same result.

πŸ”§ Core ConfigurationΒΆ

Study SettingsΒΆ

Configure the basics of your study:

{
    "url_path": "https://google.com",
    "img_path": "null",
    "port": "5001"
}

Available Options:

SettingDescriptionExample
url_pathURL to a prototipe"https://google.com"
img_pathPath to a static image"/home/admin/example_image.png"
portIn which port it should run8000

Multiple Prototype Types

Figma Prototype:

{
  "url_path": "https://www.figma.com/proto/abc123/MyDesign",
  "img_path": "null"
}

Static Image:

{
  "url_path": "null",
  "img_path": "/home/admin/example_image.png"
}

Live Website:

{
  "url_path": "https://your-staging-site.com",
  "img_path": "null"
}

πŸ“‹ Task ConfigurationΒΆ

Define tasks for your participants:

Simple TasksΒΆ

Edit src/config/tasks.json:

[
  {
    "id": 1,
    "description": "Find the login button",
    "duration": 30,
    "required": true
  },
  {
    "id": 2,
    "description": "Locate the pricing information",
    "duration": 45,
    "required": true
  },
  {
    "id": 3,
    "description": "Explore the features section",
    "duration": 60,
    "required": false
  }
]

Task Properties:

PropertyTypeDescription
idNumberUnique identifier
descriptionStringWhat participants should do
durationNumberTime limit in seconds
requiredBooleanMust complete to proceed

Advanced Task FeaturesΒΆ

Add complexity for sophisticated studies:

{
  "id": 1,
  "description": "Find and click the 'Contact Us' button",
  "duration": 45,
  "required": true,
  "target_element": "button#contact",
  "success_criteria": {
    "type": "click",
    "element": "button#contact",
    "auto_advance": true
  },
  "hints": {
    "30": "The button is usually in the header or footer",
    "40": "Look at the top-right corner"
  }
}

Task Ideas

E-commerce:

  • "Add the blue shirt to your cart"
  • "Find products under $50"
  • "Navigate to customer reviews"

SaaS Platform:

  • "Create a new project"
  • "Find the pricing page"
  • "Locate the help documentation"

Information Site:

  • "Find the contact information"
  • "Locate the hours of operation"
  • "Navigate to the about page"

πŸ”„ Applying Configuration ChangesΒΆ

Using the GUIΒΆ

  1. Open config GUI: python src/config.py
  2. Make your changes
  3. Click Save
  4. Restart the application: python run.py

Editing JSON DirectlyΒΆ

  1. Edit src/config/config.json and/or src/config/tasks.json
  2. Save the files
  3. Restart: python run.py

Validation

Invalid JSON will prevent the application from starting. Use a JSON validator!s

πŸ†˜ TroubleshootingΒΆ

Configuration not loading?

  • Check JSON syntax (no trailing commas!)
  • Ensure required fields are present
  • Check file permissions

Tasks not appearing?

  • Verify tasks.json is valid JSON
  • Ensure task IDs are unique
  • Check task required field

Prototype not loading?

  • Verify URL is accessible
  • Check prototype type matches URL
  • Ensure CORS settings allow embedding

Ready to run your configured study? β†’ Quick Start Guide