> 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/tobii/additional-tobii-screen-based-eye-trackers/setting-up-your-eye-tracker-for-mobile-device-testing.md).

# Legacy 9.3.3 Setting up your eye tracker for mobile device testing

Important: The ideal eye-tracking setup for phones or tablets varies depending on the device used and material to be tested. To ensure the optimal setup for your use case, we strongly encourage reaching out to your Customer Success Manager for consultation. This article covers the scene calibration steps when using iMotions 9.3.3 and earlier versions, for 9.3.4 and later see the article for [Smart Eye eye trackers](https://help.imotions.com/lab/sensor-setup/screen-based-eye-trackers/smart-eye/eye-tracking-with-mobile-devices-phone-setup.md) or [Tobii eye trackers](https://help.imotions.com/lab/sensor-setup/screen-based-eye-trackers/tobii/additional-tobii-screen-based-eye-trackers/using-the-tobii-mobile-stand-for-nano.md).

## Set-up

### What you need:

* A screen-based eye-tracker, e.g. the Tobii Pro Nano, with dedicated magnet strip.
* A phone or tablet (“mobile device”) that you want to use for the test. We recommend testing with Apple devices because they offer better screen sharing functions.
* A way to record the screen of your mobile device, e.g. a framegrabber, a scene camera, or the Duet Display App. You will find a section at the end of this article with descriptions of the different options available.
* A mobile device stand which keeps the mobile device and eye-tracker in the same relative position. For wireless setups, we have used the [King Jim Base](https://www.kingjim.co.jp/sp/base/) stands for smartphones and tablets, or the [Satechi R1](https://www.amazon.com/Satechi-Aluminum-Multi-Angle-Foldable-Tablet/dp/B004X2TJ1W/) stand if using a wired framegrabber setup.
* A ruler and protractor (e.g. from the level on your phone).

#### How to set up the mobile device and configure the eye-tracker:

* Make sure your mobile device screen does not turn off automatically during the test. *For iPads and iPhones, you can go into Settings > Display & Brightness > Auto-Lock > Never*
* Apply the magnet strip to the mobile device stand. Make sure to center it perfectly.

  ![IMG\_7357.JPG](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-a0c232481a192a6cd8e9ef66433ef0ae69499b5d%2F35e1bbb7dd_img_7357.webp?alt=media)

  ![IMG\_20210906\_103633.jpg](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-51a388f7e5caa5bf2ec19f26ae9ccd2bef797b79%2F888fc36389_img_20210906_103633.webp?alt=media)
* The magnet strip will hold the eye-tracker in place.

  ![IMG\_0072.JPG](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-e60a43ef3b1edea6a323102991c9083b728b8ec8%2Fb4c7f98410_img_0072.webp?alt=media)
* Since this setup deviates from the standard eye-tracking setup, where the eye-tracker is attached directly to a computer screen, you need to update some parameters in the eye-tracker’s software. Please note that so far, Tobii is the only manufacturer that provides a tool for this, with the [Tobii Pro Eye Tracker Manager](https://www.tobii.com/products/software/applications-and-developer-kits/tobii-pro-eye-tracker-manager#downloads).
* Please open the Tobii Pro Eye Tracker Manager and connect your eye-tracker to the computer. If it is the first time you are using the eye-tracker or the software, you will have to install the drivers (which the software will automatically ask you to).
* The available eye-tracker will then show up in the Eye Tracker Manager.

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

* After clicking on the available eye-tracker, a menu will show up on the right allowing you to create a new “Display Setup”. In the drop-down menu where you can select setups, you have the option to create a new setup.

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

* When the software asks you which setup you are using, select the second option "Advanced setup. Eye tracker away from screen. (The third option “Mobile Stand” only works if you are using Tobii’s proprietary Mobile Device Stand.)

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

* The software will then guide you through a couple of steps and ask you to enter measurement values. You need to measure the display size (you will find an overview in the next paragraph), the angle of your screen, the distance between eye-tracker and screen, their height difference as well as the tilt of the eye-tracker. It is important that you measure them as exactly as possible. If you are using a cable to connect your phone to the computer, please make sure that you take all measurements with the necessary cables attached so that the phone is in the same place as it will be during the data collection. You will be able to store your parameters so that you can reuse them for future studies.

![IMG\_0073.JPG](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-92928a6d7647fbc36419a6f8b09f077b865cb5f4%2Fead145b086_img_0073.webp?alt=media)

* **Tip**: You can put a piece of velcro tape onto the mobile device stand and the back of your phone to ensure that you can attach your phone to the same location every time you run a new experiment.

Please find the display dimensions of Apple's devices below:

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

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

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

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

### How to interact with the mobile device:

* Every eye-tracker has a range within you can move while the eye-tracker can still record the gaze, the so-called “headbox”. You find information about your tracker’s headbox in the documents you received from iMotions when you purchased the eye-tracker or on the manufacturer’s website. In the iMotions software, you also receive feedback about the size of the headbox in the EyeFinder widget in the sensor bar on the bottom of the screen as well as on the left side of the live viewer.

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

* Before starting the test, instruct your respondent to sit within the range of the headbox (usually, this is a little farther from the mobile device than will feel natural) and let them try out which position feels comfortable but is still within the headbox range.

![IMG-0941.JPG](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-7bc8bc2c619de9be84e5ce752817bd8daaa36346%2F84293bbfa6_img-0941.webp?alt=media)

* It is important that the respondent does not let their hands cover the eye-tracker, as this will cause missing eye-tracking data. Before you start the experiment, it is a good idea to let the respondent try out tapping and scrolling on the screen without blocking the eye-tracker.

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

### Screen sharing options

In order to be able to preview and replay what the respondent is doing and reacting to, you will need to record the screen of the mobile device. To do this, there are several options, as described below. Again, the ideal screen-sharing choice for you depends heavily on the material you are testing (videos, websites, apps, etc), so we strongly recommend consulting with your Customer Success Manager.

### Framegrabber

*Compatibility*

We usually recommend to test on Apple devices. Android devices often block screen sharing options due to the anti-piracy encryption used with HDMI, DisplayPort, and DVI connections. If you want to test on an Android device, we recommend you to try out if your phone and HDMI splitter allow to grab the display.

*Description*

With a wired setup, the phone is connected to an additional piece of hardware called a framegrabber. This device takes the display from the phone and brings it into iMotions as a virtual camera feed. There are several benefits to this solution:

* Benefit 1: You get a high-resolution recording of the display screen that is not obstructed by the respondent’s hands and not distorted by reflections on the screen surface.
* Benefit 2: Respondents can use the apps and phone settings with only few restrictions.
* Disadvantage 1: The wired connection to the framegrabber hardware can make setups cumbersome.
* Disadvantage 2: Framegrabbers can cause problems for streaming video apps like Youtube or Vimeo, as they can trigger AirPlay on the iPhone. This can be circumvented by the use of headphones - bluetooth or wireless headphones are recommended as the connection of a headphone jack can get in the way of the wired stand setup.

*Hardware*

We have used the ElGato HD60S framegrabber (now sold as [HD60 X](https://www.elgato.com/us/en/p/game-capture-hd60-x)) and typically recommend the [Epiphan](https://www.epiphan.com/products/dvi2usb-3-0/) framegrabber.

*Setting up the hardware*

For this setup, you will need the framegrabber, a lightning-to-HDMI adapter, a HDMI cable, and a USB cable that fits with your framegrabber. In the pictures below, you can see how to set up the connection from your mobile device to your PC:

* Plug the lightning-to-HDMI adapter into your mobile device
* Plug the HDMI cable into the other side of the lightning-to-HDMI adapter. Optionally, also connect the iPhone’s charger with the lightning-to-HDMI adapter.
* Plug the other end of the HDMI cable into the framegrabber.
* Connect the framegrabber to your PC using the respective USB cable.

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

  ![IMG\_7407.jpg](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-5faffe7ef213d39e4bcd84e202dd2ae339b35d71%2F16ec50e701_img_7407.webp?alt=media)

*Drivers*

* The drivers for the ElGato should download automatically and no secondary software is necessary. However, the ElGato [Game Capture](https://www.elgato.com/en/gaming/downloads) software can be useful for troubleshooting purposes.
* The drivers for the Epiphan are located [here](https://www.epiphan.com/support/dvi2usb-3-0-software-documentation/?utm_source=Support\&utm_medium=Web\&utm_campaign=DVI2USB3.0) (select Windows 64-bit).

*Settings in iMotions*

* In iMotions, add the video from the framegrabber as a scene camera by going into *Global Settings > Video > Scene camera*. If using the ElGato, the camera will be listed as ElGato HD60S. If using the Epiphan, the camera will be listed as DVI2USB 3.0.

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

* When creating the study, use the "Scene recording" stimulus

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

*How to calibrate*

* With a scene recording stimulus, a custom calibration bitmap is necessary to calibrate the eye tracker before recording. You can download them from this article, please find them at the bottom of this page. Save the calibration bitmap as a picture on your mobile device. If your phone is not included in this article, you will need to make a custom calibration image for the phone you are using, such that it aligns with the calibration points displayed in iMotions.
* Open the calibration bitmap on your phone. Make sure it is shown in fullscreen and has the correct alignment (portrait vs. landscape format).
* Make sure that you chose a five point calibration in Global Settings. The only option you need to have selected under Eye-tracker calibration is 'Calibration points transition'.
* Start the recording in iMotions
* Drag the green corners of the calibration over the screen of your phone appearing on your PC

  ![mceclip3.png](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-559e15c0e4c66c55f7018b48e61637cd08ee3b5d%2F60adced9a2_rbdeliy4z0cxfnwuzw9k1g.webp?alt=media)
* You can save this as a template and reuse it on subsequent respondents.
* To run the calibration:
  * Verbally instruct respondents to look at calibration dot 1 (upper left corner).
  * Click next in the lower right corner as illustrated above.
  * Now calibration dot 1 will be highlighted.
  * When the respondent has looked at the highlighted calibration dot 1, click next again.
  * Right before calibration dot 2 gets highlighted, verbally instruct respondents to look at the highlighted calibration dot 2.
  * Repeat this process until all calibrations dots has been looked at while highlighted.
  * When done, press next and you will get an assessment of your calibration.
  * Press continue when you are satisfied with your calibration.

### Scene Camera

*Compatibility*

This is available for all mobile devices (Apple and Android).

*Description*

In this setup, a webcam is positioned in front of the phone or tablet for use with a Scene Recording stimulus. Similar to the framegrabber setup, a custom calibration must be done over the scene camera feed. Since the scene camera is external to the phone, calibration can be accomplished using a physical plate held over the phone, or by using a calibration image as the phone’s background similar to the Framegrabber setup.

* Benefit: You can test any kind of content on the mobile device
* Disadvantage: The respondent's hands will cover the display and ceiling lights can cause reflections. Often, the webcam's auto-focus and shutter adjustments make it difficult to properly see the content on the mobile device in the recording

*Hardware*

A normal USB webcam

*How to calibrate and run the study*

Please follow the steps described in the section above about calibrating with a Framegrabber. Align the dots of the calibration grid over the display as it is shown in the scene camera. Make sure to not move the webcam away from the phone screen after having confirmed the calibration.

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

### Duet Display

*Compatibility*

This is only available for Apple devices (iOS).

*Description*

Duet is an application made for iPads and iPhones that turns your mobile device into a secondary screen for your iMotions PC.

* Benefit 1: Duet is an inexpensive solution that doesn’t require any subsequent hardware (no webcams or framegrabbers).
* Benefit 2: As the mobile device is turned into a secondary PC screen, implementation within iMotions is more flexible, allowing for the use of image/video, website, screen recording and survey stimuli.
* Disadvantage 1: By turning your mobile device into a secondary PC screen, any Apple functionality and apps intended for iOS will no longer be available. **Duet is not recommended for the testing of any apps** that are unique to iOS or mobile formats. Website stimuli, for example, will have to be loaded on the PC in its mobile form and ported to the secondary screen, as opposed to using the phone’s internal browser.

*Software and hardware*

* App for iOS and PC from [https://www.duetdisplay.com/.](https://www.duetdisplay.com/) Please install the PC app on your iMotions computer, and purchase the app for your mobile device from the App store.
* Lightning cable (normal charger cable for iPhone and iPad)

*Set-up*

* Connect your mobile device to your PC via the lightning cable
* Start the duet app on the mobile device and on your PC
* Now, the iPad will show up as a secondary monitor in the Windows Display settings

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

* Open iMotions' *Global Settings > Slide Show* to configure the iPad as a secondary screen. Enter the display size of your mobile device.

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

* Now, you can set up a screen-based study in iMotions by importing images, videos, website links, or survey slides. They will be presented on the mobile device as long as the duet app is opened on the mobile device.
* Please note that as soon as you open another app on your mobile device, the duet app gets pushed to the background and you will no longer see the stimuli on the iPad. Therefore, please use another setup if you want to test the content of an app.


---

# 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/tobii/additional-tobii-screen-based-eye-trackers/setting-up-your-eye-tracker-for-mobile-device-testing.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.
