> 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/lab/sensor-setup/screen-based-eye-trackers/eye-tracking-with-screen-recordings-and-website-stimuli.md).

# Eye Tracking with Screen Recordings and Website Stimuli

Record eye tracking on websites with a Screen Recording stimulus, then gaze map onto full-page screenshots to build aggregated heatmaps.

In the following article we will go through the process of recording a website with Screen recording stimuli using eye tracking, and how to get the resulting heatmaps.

Why would you want to do this?

* When using a Screen recording instead of ordinary website stimuli, you **will not** be limited to having data recorded in a single window on a single tab.
* You **will not** be limited to using one browser.
* No website will be off limits meaning that if it is accessed during the experiment you will record data accordingly.

## Initial steps

* Create a new study, and choose your desired settings.
  * Select Screen-based

    ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-9ca1d5008458820a0a329de1c92fc1acfac3c59a%2Ff43a452fef_image-1703181972277.webp?alt=media)
  * Select the dimension of the screen you are displaying the stimuli on (use custom if it is not shown on the screen)

    ![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-426ee77dfa5fd35e9f732b8456a7d7bc12e959c9%2Fb96422a76b_image-1703182069317.webp?alt=media)
* Select all the sensors you desire to record with

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-bff87f2b9b01f128fcd5aea584d167d0defea53a%2F7e2e630a80_image-1703182120732.webp?alt=media)

* Create a Screen recording (by selecting Edit Stimuli)
  * In the study builder select Screen Recording and bring it into the designer area

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-d594803b853d087c921f1331fcdfb06af6d7ed8b%2Fd826435448_image-1703182237641.webp?alt=media)

1. In the Properties menu, you have the option to launch an application directly. The alternative is to launch the application after the recording has begun.
2. If you wish to launch an application directly, select the application in the Launch Application box
3. Command Parameters. Different applications will have different command lines. You can find numerous examples of such command lines on the Internet.
4. Close the window when finished. Changes are saved as you go

## Running a study

1. Now turn on all the sensors you need to record with. You will find all the enable options in Global Settings.
2. When you have your respondent ready with the sensors enabled, you will be ready to record your first respondent.
3. Press Record.
4. Depending on your study and settings, the respondents will reach the application accordingly. In this example, the respondent is going to CNN and looking around at the main page.
5. When the respondent is done, he closes the browser (alternatively manual advance is used).
6. There is now 1 recorded respondent on our Screen stimuli.
7. Continue adding respondents and recording data until you complete your data collection.

## How to create a reference image

1. To add a reference image we will need to open our browser, in this case Chrome, and install a Screen capture Extension.
2. For this example, we will use Full page screen capture: [downloadable here](https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl). There are lots of alternatives if you search the web.
3. Now that you have this extension installed you should go to the web pages that your respondents viewed (in this case CNN).
4. Proceed to take screen captures of the webpages, remember to also take screenshots of each subpage, and for each dynamic change that you wish to collect data for.

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-184e8de2af4b0c0bfffc38f0e728df9b96f04c47%2Fcdbdd94eff_m5u9azwtzkwgbbqtxkjsfg.webp?alt=media)

![](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-77e2bb69a2dd192c50dd6ac8ad75f3ba0db5d0f7%2Fbd2cdaf6d5_jkpogpdfnu6e0bldzzdjza.webp?alt=media)

## Back into iMotions

1. Create an analysis - Right-click the study and select add analysis.
2. In the Analysis view, select the Screen stimuli and the first respondent you wish to map the gaze of.
3. To gain a proper aggregated image, you need to use Gazemapping, therefore you need to follow [this guide](https://help.imotions.com/lab/analysis/eye-tracking/gaze-mapping/gaze-mapping.md).

## Heatmap

1. When you are done, go to the next respondent this time choose from "Existing Frame" and locate the reference image you wish to map onto.
2. When you have processed all your respondents for a reference image you can check out the heatmap. (you can also do this at any time in the process)
3. Select the reference image in the stimulus bar and click **Aggregate**. The preview shows the heatmap for a quick impression.
4. To change the heatmap settings, plot it for an annotation or export it, click **Open analysis** to open the Aggregate replay editor; see [Heatmaps](https://help.imotions.com/lab/analysis/eye-tracking/heatmaps.md#heatmaps-in-aggregate-replay).
5. You can export all images by right-clicking the analysis and then export - All result images


---

# 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/lab/sensor-setup/screen-based-eye-trackers/eye-tracking-with-screen-recordings-and-website-stimuli.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.
