> 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/study-builder-behavioral-research-online.md).

# Study Builder

Add images, videos, websites, surveys, instructions and calibrations to a Behavioral Research Online study, and set their order, flows and display settings.

The Study Builder in iMotions Online is where you decide what respondents see and in which order. This article covers adding stimuli and flows, ordering them and the settings of each stimulus type.

This video shows how to create a new study and use the Study Builder and Survey Builder:

{% embed url="<https://files.imotions.com/hc_articles/videos/bro-adding-a-new-study-and-adding-stimuli-and-surveys-sep-26.mp4>" %}

## Page layout

After you create or open a study, you land on the Overview page. Open the Study Builder from the panel on the left.

![The study Overview page with the navigation panel on the left and cards for Study Builder, Data Collection, Analysis and Exports](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-bca9d3454c4a1bb4c1c72a21f249fff3ffb71344%2F330cfb17f5_image-9ELW2CRW.webp?alt=media)

| Area       | What it contains                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Top**    | The study title (click the pencil icon to rename it) and whether data collection is live. Click your name in the top right to see account information or send feedback.                                                                                                                                                                                                                                                                                                                           |
| **Left**   | Navigation to the other study pages: [Data collection](https://help.imotions.com/online/behavioral-research/data-collection-behavioral-research-online.md), [Analysis](https://help.imotions.com/online/behavioral-research/analysis-behavioral-research-online.md), [Survey results](https://help.imotions.com/online/behavioral-research/survey-results-behavioral-research-online.md) and [Export](https://help.imotions.com/online/behavioral-research/export-behavioral-research-online.md). |
| **Center** | The stimuli in the study, in order. Pre-study and post-study calibrations for webcam eye tracking are added automatically and cannot be removed.                                                                                                                                                                                                                                                                                                                                                  |
| **Right**  | The settings of the selected stimulus. See [Stimulus settings](#stimulus-settings).                                                                                                                                                                                                                                                                                                                                                                                                               |

## Adding stimuli and flows

Click **+ Add stimuli** to add stimuli to the study. Click **+ Add flow** to create additional stimulus flows, for example for a between-subjects design.

A flow cannot be deleted while it is a criterion of a [dynamic segment](https://help.imotions.com/online/tracking-respondent-targets-with-dynamic-segments.md). Change or delete the segment on the **Quota** page first.

{% embed url="<https://files.imotions.com/hc_articles/videos/bro-add-stimuli.mp4>" %}

| Stimulus type        | What it does                                                                                                                                                    |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Image**            | Upload an image from your computer.                                                                                                                             |
| **Video**            | Upload a video. Most common formats are supported, but always preview the video before launch.                                                                  |
| **Survey**           | A survey made with the built-in [Survey Builder](https://help.imotions.com/online/behavioral-research/survey-builder-behavioral-research-online.md).            |
| **Website**          | A website, entered by its address.                                                                                                                              |
| **Block**            | A container for one or more stimuli, including other blocks. Use blocks to randomize a set of stimuli within an otherwise fixed order, or the other way around. |
| **Calibration**      | An extra eye tracking calibration. See the hint on extra calibrations below.                                                                                    |
| **Instruction**      | A slide with text, for example a prompt or a task description.                                                                                                  |
| **Qualtrics**        | A Qualtrics survey, added by its link. Requires your own Qualtrics account and a shareable survey.                                                              |
| **From other flows** | A stimulus already added to another flow in the study.                                                                                                          |

You can give each stimulus a name when you add it.

Images and videos that are already in a folder on the **Studies** page can be added from the **Browse** tab without uploading them again. See [Media library](https://help.imotions.com/online/organizing-studies-and-media-in-folders.md#media-library).

{% hint style="warning" %}
**Video resolution:** Keep uploaded videos at 1920x1080 or lower. Higher resolutions can make the video buffer for respondents with slower internet connections, which affects their data quality. Interlaced H.264 videos cannot be added, because they show as a black screen in Safari on iPhones and iPads. To convert such a video, or one that does not play in every browser, see [Re-encoding a video stimulus](https://help.imotions.com/online/re-encoding-a-video-stimulus.md).
{% endhint %}

{% hint style="info" %}
**Extra calibrations** improve data quality but make the study more tiring for respondents. Add them only to studies longer than 5–10 minutes.
{% endhint %}

### Ordering stimuli

Drag the dots to the left of a stimulus name to move it. The icon on the right of each stimulus shows whether its position is **fixed** (pin icon) or **random** (intertwined arrows). Change this with the stimulus's **Display order** setting.

![The stimulus list in the Study Builder with drag handles on the left, pin icons for fixed calibrations and shuffle icons for random stimuli](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-56c980f45b3282801708dc986a33a2e0e2b45758%2F4122a42e83_Stimuli-list.webp?alt=media)

## Stimulus settings

Click a stimulus to show its settings on the right. Most stimulus types share the same settings:

| Setting                              | What it does                                                                                                                                              |
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**                             | The name of the stimulus in the study.                                                                                                                    |
| **Display order**                    | **Fixed** keeps the stimulus in its position. **Random** shuffles it with the other random stimuli.                                                       |
| **Advance**                          | **Manual** lets respondents move on by clicking **Continue** on a banner at the top of the stimulus. **Automatic** moves on when the duration has passed. |
| **Duration**                         | How long the stimulus is shown, in minutes and seconds. With manual advance, respondents can move on before the duration has passed.                      |
| **Record mouse clicks and movement** | Shows the mouse cursor on screen and records clicks and movement. Clicks are reported in the AOI metrics.                                                 |
| **Apply settings to all**            | Copies these settings to every stimulus of the same type. Content, such as instruction text, is not copied.                                               |
| **Delete**                           | Removes the stimulus from the study.                                                                                                                      |

This is what the banner for manual advance looks like:

![The manual advance banner with a Continue button at the top of a stimulus](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-68931a5ea04e2b477f0a999130e19cc31fd39536%2F4b42cabec6_manual-advance.webp?alt=media)

The sections below cover what is specific to each stimulus type.

### Block

![The Block details panel with the block name, the number of stimuli in the block, the Display order setting and the Delete block button](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-c47fe0e2b1302a32553adeaa4c872c9330c13efd%2F9a9d1e913a_Block-details.webp?alt=media)

* **Stimuli in block:** the number of stimuli in the block. Blocks inside the block are counted separately, under **Blocks in block**.
* **Display order:** whether the stimuli inside the block are shown in a fixed or random order.

### Calibration

![The Calibration details panel with the Name, Color, Points and Point order settings, and Display order and Advance locked for the pre-study calibration](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-d2721839802ecee213f5bd875fba16e5a4f644d7%2F9a6bdc8262_pre-post-calibration-slides.webp?alt=media)

* **Name:** the mandatory pre- and post-study calibrations cannot be renamed; extra calibrations can.
* **Color:** black dots on a white screen, or white dots on a black screen. Match the brightness of the stimulus that follows: use black dots on white before a bright stimulus such as most images. See "Changes in light conditions" on page 8 of the [webcam eye tracking white paper](https://go.imotions.com/WebET3Whitepaper).
* **Points:** 9 or 13 calibration points. 13 gives the best data quality; 9 is quicker for respondents.
* **Point order:** show the points in a random or fixed order.
* **Display order:** only adjustable for extra calibrations.
* **Advance:** always automatic, when the calibration is complete.
* **Delete:** only extra calibrations can be deleted.

### Image

The settings panel shows a preview of the image, so you can check that it displays correctly.

![The Image details panel with an image preview, Define AOIs button and image settings such as Duration and Record mouse clicks](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-b4aae818c4b9501c592097394cb4f7dab71da9b2%2Fae0e436af5_image-FU5XPRTP.webp?alt=media)

* **Define AOIs:** draw areas of interest before you collect data.
* **Duration:** up to 5 minutes.
* **Record mouse clicks and movement** is available.

### Instruction

![The Instruction details panel with the Color setting, a rich text box and instruction settings](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-d1910ab9c18e75016cedcf4633457aad3812f1d0%2F8a1b962f6b_image-PI4WSTNP.webp?alt=media)

* **Color:** text and background color. Choose black on gray, black on white, or white on black.
* **Text box:** the text shown to respondents, with basic rich text formatting. Use it for prompts such as "Look for the logo in the next image" or anything else respondents need to know.
* **Duration:** up to 5 minutes.
* **Record mouse clicks and movement** is available.

### Qualtrics

These settings only control how the survey appears in iMotions Online. Change the survey itself in your Qualtrics account.

![The Qualtrics details panel with the URL field, Define AOIs button and a duration of 5 minutes](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-c465012b76267106f3aff5ff1fec6f4218de8ad4%2F5b15c266bb_image-P3T5Y8VM.webp?alt=media)

* **URL:** the link to the Qualtrics survey.
* **Define AOIs:** track elements of the survey as AOIs. See [AOIs on websites and Qualtrics surveys](#aois-on-websites-and-qualtrics-surveys).
* **Duration:** 5 minutes by default, up to 30 minutes.

### Survey

![The Survey details panel with the Edit survey button and the Track survey questions as AOIs checkbox](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-c2f66f5d5115c2ead82c62d74ce1bf77684e884d%2Ff7985b1cb6_image-SZCCDVUJ.webp?alt=media)

* **Edit survey:** opens the [Survey Builder](https://help.imotions.com/online/behavioral-research/survey-builder-behavioral-research-online.md).
* **Track survey questions as AOIs:** generates an AOI for each question, named after the question label, so you can see how the questions were viewed.
* **Advance:** not adjustable. The survey advances when the respondent completes it.

### Video

The settings panel shows a preview of the video. Play it to check that the upload worked.

![The Video details panel with a video preview, Annotate video button and video settings](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-c2cbfc3389ae4ccc08a9d4b53e9ac2a3b3e9ab30%2F21910fdbc7_image-1Y5FO4FB.webp?alt=media)

* **Annotate video:** mark relevant time intervals manually, or detect video segments and generate annotations automatically with AI.
* **Advance:** with automatic advance, the next stimulus appears when the video ends.
* **Record mouse clicks and movement** is available.

![The Create annotations window with a video preview, an Add annotation button and the Detect video segments option](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-b0e9c28702b9f03070363584e2f054c6dee7d2e1%2Fbb844981b3_image-N7RKBEKG.webp?alt=media)

### Website

![The Website details panel with the URL field, Preview website and Define AOIs buttons, and the Display type setting set to Banner](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-d35b3cee68daa407cc483a2569d0e13411f3102a%2Fc3cc4c1abd_image-VY7Z9A0K.webp?alt=media)

* **URL:** the address of the website.
* **Preview website:** check that the website looks and works as intended. Preview again after choosing the display type.
* **Define AOIs:** track elements of the website as AOIs, if you can edit the website's source code. See [AOIs on websites and Qualtrics surveys](#aois-on-websites-and-qualtrics-surveys).
* **Display type:** how the website is shown. See the table below.
* **Duration:** 5 minutes by default, up to 30 minutes. Only available with the **Banner** display type.

| Display type | How it works                                                                                                                                                                    | Advance and duration |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| **Banner**   | The website is shown in a frame (iframe) inside the study, in the same browser tab. It looks the same to the respondent as the website on its own. This is the simplest option. | Available            |
| **Tab**      | The website opens in a new browser tab, outside full screen. iMotions Online keeps recording eye tracking and the screen. The respondent returns to the study tab when done.    | Not available        |

With the **Tab** display type, respondents see this sequence:

1. They are asked to allow a new tab to open.
2. The website opens in a new tab, and the study leaves full screen.
3. When they leave the website tab, the study tab asks whether they want to reopen the website (in case they closed it by accident) or continue to the next task.

<figure><img src="https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-dee8971b45ed8612987c013c83aefacceaff6d65%2F020fb4574b_image-J8H9T6RA.webp?alt=media" alt="The study instructions asking to open a new tab, the website opened in a new browser tab, and the study tab offering to reopen the website or continue"><figcaption><p>Example website stimulus sequence with ‘New tab’ display type</p></figcaption></figure>

## AOIs on websites and Qualtrics surveys

AOIs on website and Qualtrics stimuli are not drawn by hand. You choose HTML elements on the page, such as a button or a banner, and iMotions Online records where each element is on the respondent's screen during the session. This needs a snippet of HTML on the page, so it only works for websites you can edit. Set it up before you collect data, because the positions are recorded during the session.

1. Select the stimulus and click **Define AOIs**. The **Website AOIs** page opens.
2. Copy the **Snippet** and add it to the HTML of every page that has elements you want to track. In Qualtrics, go to **Look and Feel > General**, edit the **Header**, click **Source** and paste the snippet. Pasted without **Source**, it shows as text at the top of the survey.
3. Reload the **Website AOIs** page. With the **Tab** display type, also click **Open website in new tab**. If the snippet is not found, **Elements To Track** shows "Snippet not found on website".
4. For each element, enter a **Name** and a **CSS selector** and click **Add**. The name becomes the name of the AOI.
5. Check the **Website Preview**, which outlines every element that was found. The icon next to each element in the list also shows whether it was found.

![The Website Preview with outlines around a banner and a category card, and the Elements To Track list with the name and CSS selector of both elements](https://1859600039-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxsppsOcDpBd2WmT8tcVc%2Fuploads%2Fgit-blob-236600a3eded175ccfae11fd16550aa145180069%2Fwebsite-aois-preview-and-elements.png?alt=media)

To get the CSS selector of an element in Chrome, right-click the element, select **Inspect**, right-click the highlighted element and select **Copy > Copy selector**. If you can edit the page, give the element an `id` to get a short selector such as `#hero-banner`.

* The AOI is the rectangle around the element. It follows the element when the respondent scrolls, and is turned off while the element is outside the visible part of the page or not on the page.
* If a selector matches several elements, only the first one is tracked.
* Elements cannot be added or removed once data collection has started.

To see the AOIs after data collection, see [AOIs on websites and Qualtrics surveys](https://help.imotions.com/online/behavioral-research/analysis-behavioral-research-online.md#aois-on-websites-and-qualtrics-surveys) on the Analysis page.

## Before you continue

* Preview every stimulus.
* Check the settings of each stimulus, such as display type and duration.
* Check the order of the stimuli.

Then continue to [Data collection](https://help.imotions.com/online/behavioral-research/data-collection-behavioral-research-online.md).

## Videos

### Study settings and launching a study

{% embed url="<https://files.imotions.com/hc_articles/videos/bro-study-settings-and-launching-study-video-sep26.mp4>" %}

### Creating a study with a survey

{% embed url="<https://files.imotions.com/hc_articles/videos/im-onl-createstudywithsurvey.mp4>" %}


---

# 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/study-builder-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.
