> For the complete documentation index, see [llms.txt](https://help.imotions.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.imotions.com/online/behavioral-research/analysis-behavioral-research-online.md).

# Analysis page

Analyze iMotions Online data per stimulus with gaze paths, heatmaps, signal overlays, segments, AOI metrics and annotations on the Analysis page.

The Analysis page in iMotions Online becomes available once at least one respondent's data has been processed. It shows the recorded data on top of the stimulus, and lets you set up segments, AOIs and annotations for your analysis.

## Page layout

* **Center:** the stimulus with eye tracking data on top, followed by signal summary metrics, AOI metrics, annotations and signal graphs.
* **Right:** the analysis settings, which control what is shown in the center.

| Setting                           | Use it to                                                                                     |
| --------------------------------- | --------------------------------------------------------------------------------------------- |
| [**Stimuli**](#stimuli)           | Choose the stimulus to analyze.                                                               |
| [**Data**](#data)                 | Choose a segment of respondents (aggregate analysis) or one respondent (individual analysis). |
| [**Visuals**](#visuals)           | Choose the visualizations shown on the stimulus.                                              |
| [**Signals**](#signals)           | Choose the signals shown as graphs.                                                           |
| [**AOI**](#aoi-areas-of-interest) | Draw areas of interest and see their metrics.                                                 |
| [**Annotate**](#annotate)         | Mark time periods to analyze.                                                                 |

## Stimuli

Choose the stimulus to analyze from the list. Use the search box and the stimulus type filter to find it.

![The Stimuli tab with a search box, the Stimuli types filter and a list of stimuli with thumbnails](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-5da68d203ba45f7be219ae57e3338ec13c3a1ccf%2Fc41893c83a_image-Z5XDJJW5.webp?alt=media)

## Data

Choose whose data to show:

* **Aggregate:** a segment of respondents. Aggregate analysis and visualizations require a segment. The segments are listed under **Dynamic segments** and **Static segments**, with the number of respondents in each. **All Respondents** is listed with the dynamic segments.
* **Individual:** one respondent.

![The Data tab with Aggregate selected and a list of segments (left), and with Individual selected and a list of respondent IDs (right)](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-6ede010a5fe68f2591973d1efec13fde9d89bd3b%2F61a58b9bd8_image-16RM89J2.webp?alt=media)

### Creating a segment

A segment is one of two types, which cannot be changed once the segment is created:

* **Static:** includes only the respondents you select.
* **Dynamic:** includes all current and new respondents who meet the criteria you set. See [Tracking respondent targets with dynamic segments](https://help.imotions.com/online/tracking-respondent-targets-with-dynamic-segments.md), which also covers the **Quota** page, where you can give a dynamic segment a target number of respondents.

To create a static segment:

1. Click **+ Add segment**.
2. Enter a name for the segment in the box at the top.
3. Under **Segment type**, keep **Static** selected.
4. Apply [respondent filters](#respondent-filters). Respondents who don't match are grayed out in the list.
5. Click **Select all** to select the matching respondents, or select respondents individually.
6. Click **Create segment**.

To create a dynamic segment, select **Dynamic** under **Segment type** in step 3, then set the [inclusion criteria](https://help.imotions.com/online/tracking-respondent-targets-with-dynamic-segments.md#inclusion-criteria) and click **Create segment**. The dialog shows how many respondents meet the criteria so far.

The new segment appears in the list on the right. Click the pencil icon to edit it, or the trash can icon to delete it.

![The Create new segment dialog with the segment name box, data quality filters, survey response filters and the list of respondents](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-c77e40faf890199cdfe5894df97805fb78d8512b%2Fbb85e5432c_iMotions-Online---segmentation.webp?alt=media)

### Respondent filters

Filters let you create static segments from your respondents. A dynamic segment uses the data quality and survey response filters as criteria; its other criteria are described in [Inclusion criteria](https://help.imotions.com/online/tracking-respondent-targets-with-dynamic-segments.md#inclusion-criteria). You can filter by:

* **Data quality:** eye tracking accuracy, eye tracking data quality and facial expression data quality, in any combination. The recommended thresholds are in the table after this list.
* **Survey responses:** rules based on the answers to one or more questions. Only available for surveys made with the iMotions Online Survey Builder.
* **Variables**
* **External filters**
* **Specific respondents:** select respondents by their ID.

The data quality filters measure the following:

| Filter                                      | What it measures                                                                                                                             | Better is | Recommended  |
| ------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------ |
| **Eye tracking accuracy**                   | Mean distance between actual and expected gaze positions during calibration, in [visual degrees](https://en.wikipedia.org/wiki/Visual_angle) | Lower     | 3.0 or less  |
| **Eye tracking data quality**               | Share of samples in which the eyes were detected looking at the screen                                                                       | Higher    | At least 90% |
| **Facial expression analysis data quality** | Share of samples in which the face was detected                                                                                              | Higher    | At least 80% |

{% hint style="info" %}
*Visual degrees* is the angle formed by straight lines from the outer edges of the stimulus to the respondent's eye (see an [example image of the angle of view](https://en.wikipedia.org/wiki/Visual_angle#/media/File:Angle_of_view_4.png)).

Data quality example: if 1000 samples are collected and 800 of them are valid, the data quality is 80%.
{% endhint %}

## Visuals

Visuals are drawn on top of the stimulus. The available options depend on whether you are looking at individual or aggregate data:

| Individual data                                                                             | Aggregate data                                                                              |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| [Gaze path](#gaze-path), [Mouse](#mouse)                                                    | [Heatmap](#heatmap), click map                                                              |
| [Signal overlay](#signal-overlay), [visualization report](#creating-a-visualization-report) | [Signal overlay](#signal-overlay), [visualization report](#creating-a-visualization-report) |

<figure><img src="https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-edccf0782d2689aa809bc72d55e894ca1ad9afd3%2F50cdbc49fa_image-OLXVW67C.webp?alt=media" alt="The Visuals tab for individual data with Gaze path turned on (left), and for aggregate data with Heatmap turned on and the Color and Heatmap time range drop-downs (right)"><figcaption><p>Visuals settings for individual data (left) and aggregate data (right)</p></figcaption></figure>

### Gaze path

Available for individual data. Shows the respondent's eye tracking data. Turn it on and off with the toggle.

**Dynamic** replays the gaze over time, as if live. Use the play button.

![A dynamic gaze path on an image of two people talking, with the gaze point on the man's eyes and a short trail](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-ad3bbd0d282b0fc2b4756f76652279fcaf0bfe67%2Fac866a8cd6_dynamic-gaze-path.webp?alt=media)

**Static** shows all fixations during the stimulus at once.

![A static gaze path with six numbered fixation circles connected by lines, starting at the man's eyes](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-c76514fafde1e270e511bf91d794aef89e367f1f%2Fbf6a77c506_static-gaze-path.webp?alt=media)

In the static gaze path, the numbers show the order of the fixations, and darker colors mean longer fixations. In the example above, the respondent looked at the man's eyes first, then at his hands, and so on.

### Mouse

Available for individual data. Shows the cursor position, when mouse data is available.

### Heatmap

Available for aggregate data. Shows where the respondents in the segment looked.

**Dynamic** replays the gaze over time. Use the play button. Heatmaps on videos are always dynamic.

![A dynamic heatmap on an image, showing two small hot spots at one point in time](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-73f2945811e856e3b877b261102feea87d8a01bf%2F3a4ccffea3_dynamic-heatmap.webp?alt=media)

**Static** shows all gaze data during the stimulus at once.

![A static heatmap on an image, with the strongest concentration of gaze on the man's eyes](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-5223cebe95edff8de91fda96d1c65eaa2f3db52d%2Feefbcec198_static-heatmap.webp?alt=media)

Change the color scheme in the drop-down. The default is **Jet**; the images above use **iMotions**.

To download the heatmap as an image, click **Create heatmap export**.

### Signal overlay

Draws one or two signals as line graphs on top of the stimulus.

1. Click **+ Add signal**.
2. Click the pencil icon.
3. Click **Select** next to **Signal** and pick a signal.
4. Optionally change the color and thickness of the line.

The signals are grouped by source. See [Sensors](https://help.imotions.com/online/behavioral-research/sensors-behavioral-research-online.md) for more on each.

| Source                     | Signals                                                                                                                                                                                                                                                                                     |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Affectiva AFFDEX**       | Facial expressions: 20 action units (such as brow furrow or jaw drop), emotional expressions (such as joy or sadness), head movements (such as pitch and yaw), blinks and valence (positive to negative).                                                                                   |
| **I-HMM filter**           | Eye tracking signals calculated with a Hidden Markov Model for fixation classification. See [Fixation classification with Hidden Markov Models](https://help.imotions.com/lab/analysis/eye-tracking/fixation-classifiers/fixation-and-saccade-classification-with-hidden-markov-models.md). |
| **Web Camera Eyetracker**  | Unfiltered webcam eye tracking data.                                                                                                                                                                                                                                                        |
| **Web Camera Respiration** | Respiration rate, quality, raw signal and calibrated signal.                                                                                                                                                                                                                                |

In the example below, valence is shown in turquoise and gaze velocity in red, on top of a static gaze path. Each y axis belongs to the signal of the same color; the x axis is time.

Valence hardly changes, as expected for a fairly neutral image. Gaze velocity follows the fixations: it is higher when the respondent makes short fixations while scanning different parts of the image.

![A static gaze path with valence (turquoise) and gaze velocity (red) drawn as line graphs over the image, each with its own y axis](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-71debfb5af58c093d7b8863b06668026ab3fe013%2F94abb4317d_results-with-overlaid-signals.webp?alt=media)

### Creating a visualization report

Export what you see in the center of the screen as a file. This is available for image and video stimuli with a gaze path (individual data), heatmap (aggregate data) or signal overlay turned on.

1. Click **Create visualization report**.
2. Name the file and create the export.

![The Create visualization export dialog with a file name, the stimulus, respondent and visualization type, and the Create export button](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-b7fdf37ae355a7ac74fb7cde273fd106a9014186%2Fce164e9df8_image-1698222458895.webp?alt=media)

The file is not downloaded right away. It is created on the [Export](https://help.imotions.com/online/behavioral-research/export-behavioral-research-online.md#visualizations) page, where you can download it once it is ready.

## Signals

Choose which signals are shown as graphs in the **Signals** section. Each signal type has a drop-down with its signals; check a signal to show it. Hover over a graph to see the values.

![The Signals tab with a drop-down per signal source (left), and the Analysis page with Valence and BlinkRate selected and shown as graphs (right)](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-30f71aa9b1b8ead7a8e30a79824593ad1360482b%2F23f58cc2b4_image-BSHCB7DL.webp?alt=media)

## AOI (areas of interest)

Areas of interest (AOIs) are parts of a visual stimulus that you want to measure, such as a logo or a button. The AOI settings have two parts: **AOIs**, to draw and manage them, and **AOI metrics**, to calculate and download their metrics.

### Drawing AOIs

1. Click **Draw AOI**.
2. Enter a name for the AOI.
3. Choose the **Rectangle** tool or the **Point selection** tool.
4. Click to place points around the area. Each click fixes a line and starts the next one.
5. Close the shape by clicking the starting point again. The starting point glows when you are on it.

The AOI can take a moment to appear.

<figure><img src="https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-a01b69d1203374aabb55e34aed31747760b4030e%2Fda5b5c8608_image-U1AC3B6I.webp?alt=media" alt="Three stages of drawing an AOI around a man&#x27;s head: placing the first points, nearly closing the shape, and the finished AOI 1"><figcaption><p>Steps for drawing an AOI</p></figcaption></figure>

{% hint style="info" %}
Leave some space around the object to allow for the inaccuracy of webcam eye tracking. Rectangles and simple polygons work better than detailed shapes that follow the object closely.
{% endhint %}

You can draw several AOIs on one stimulus. For each AOI:

* click the pencil icon to change its name and color,
* click the eye icon to hide or show it,
* click the trash can icon to delete it.

Use **Show all** and **Hide all** to show or hide all AOIs at once.

### AOIs on videos

1. Go to the point in the video where the object appears, and draw the AOI as usual.
2. Open the timeline below the video to see the AOI's track.
3. When the object moves or changes size, adjust the AOI and click **Key** to add a keyframe. Keyframes are shown as blue squares on the track.
4. When the object leaves the screen, add a keyframe without adjusting the AOI. This turns the AOI off.

![An AOI on a video stimulus, with the timeline below showing the AOI's track, its keyframes and the highlighted key button](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-db618381d2324782f5dfd7f806f0a6f9cfe51704%2F6b1b67cdf6_image-1730383012975.webp?alt=media)

### AOIs on websites and Qualtrics surveys

AOIs cannot be drawn on website and Qualtrics stimuli. They come from elements of the page that you choose in the Study Builder before data collection. See [AOIs on websites and Qualtrics surveys](https://help.imotions.com/online/behavioral-research/study-builder-behavioral-research-online.md#aois-on-websites-and-qualtrics-surveys).

Each respondent has their own AOI positions, so these AOIs are only shown on the stimulus for **Individual** data. They cannot be deleted.

### AOI metrics

AOI metrics are calculated automatically when you add an AOI, and appear in the **AOI Metrics** section below the stimulus. This can take a few minutes, depending on the amount of data, server load and your internet speed.

The metrics are grouped in three drop-downs, where you choose which ones to show. Each selected metric appears as a graph in the center of the screen. Hover over a metric and click **?** to see how it is calculated. In the metric names, TTFF is time to first fixation and TTFC is time to first click.

| Group                      | Metrics                                                                                                                                                                                                                                           |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Information**            | Stimulus duration, AOI duration (ms), AOI duration (%), Size (px²), Size (%), Valid data, Respondent base                                                                                                                                         |
| **Fixation-based metrics** | Respondent count, Respondent ratio (%), Dwells with fixations, Revisit count, Fixation count, TTFF AOI (ms), TTFF parent (ms), Dwell time (ms), Dwell time (%), Fixation duration (ms), First fixation duration (ms), Last fixation duration (ms) |
| **Mouse-based metrics**    | Respondent count, Respondent ratio (%), Mouse click count, TTFC AOI (ms), TTFC parent (ms)                                                                                                                                                        |

Some metrics don't apply to webcam eye tracking and are left out. For descriptions of all metrics, see [AOI metrics](https://help.imotions.com/lab/analysis/eye-tracking/areas-of-interest/aoi-metrics.md) in the iMotions Lab documentation.

To download the AOI statistics of each respondent, use the [Respondent AOIs export](https://help.imotions.com/online/behavioral-research/export-behavioral-research-online.md#respondent-aois-export) on the Export page.

## Annotate

Annotations mark time periods in a stimulus or session, so you can calculate metrics for those periods only. Use the **Annotate** settings to create, edit and show annotations.

An annotation uses the same start and end time for every respondent, so annotations suit images and videos, which play the same way for every respondent.

![The Annotate tab with one annotation, and the Analysis page showing facial expression metrics for the annotation interval and the annotation on the timeline](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-30de697089a369fa119a2be16123006b4b3af2a7%2F235eec9b23_image-MK97KKY9.webp?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.imotions.com/online/behavioral-research/analysis-behavioral-research-online.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
