> 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/remote-data-collection/getting-started-with-online-data-collection/rdc-testing-with-websites.md).

# RDC testing with websites

Add website stimuli to an RDC study, check whether each website can be embedded, and return respondents to the study afterwards.

This article explains how to add website stimuli to a remote data collection (RDC) study in iMotions Lab. It also covers how to check whether a website can be shown inside the study, and how to send respondents back to the study when they have finished on a website.

## Adding website stimuli to your study

Create the study as described in [Creating RDC studies](https://help.imotions.com/lab/remote-data-collection/creating-rdc-studies.md). Then add the websites:

1. Click **Edit stimuli** to start adding stimuli to the study.

   ![Edit stimuli button in iMotions Lab](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-f26f3405cee49dab493c1ea5a5fa9357878b8004%2F195497facd_image-1704139734470.webp?alt=media)
2. Click **Website** and enter the URL of the website.

   ![Website stimulus type in the Study Builder](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-3a6c18abec08387655e650347b64c1ce35c471ce%2F4fde0030ea_image-1704139860912.webp?alt=media)

You can test and edit website stimuli in the Study Builder, or in [iMotions Online](https://my.imotions.com) after the study has been uploaded.

![Website stimulus settings in the Study Builder](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-fecff621d17c571da52bf82ab604f718692eaa5d%2F225c955ca1_image-1704139892456.webp?alt=media)

## Checking website compatibility

A website stimulus is shown either in a new tab or embedded in an iFrame in the tab where the study runs. In iMotions Online, the two options are called **New tab** and **Banner**. **Banner** means that the website is embedded in an iFrame.

With **New tab**, the website opens in a new browser tab, and respondents have to return to the tab with the study to continue. With the **Embed in iFrame** option, the website is shown in the study tab. Not all websites can be embedded in an iFrame, so test each website before you upload the study. You can also change the setting after the study has been uploaded, as described below.

{% hint style="warning" %}
**The Test button does not show whether a website can be embedded in an iFrame.** It only checks that the URL is valid.
{% endhint %}

To test a website in an iFrame, use the study preview option in the top right corner of iMotions Lab after you have built the study.

![Study preview option in iMotions Lab](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-d291c239b9ea78f0cfdf9bc4a8b3085357bea0ed%2Fb2ab88d3ca_preview-2-.webp?alt=media)

## Changing the display option in iMotions Online

1. Open the study in iMotions Online.

   ![Study details in iMotions Online](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-3081e88f27e6307451862c66b7ff7e916a83c829%2F44645b3587_odc_studydetails.webp?alt=media)
2. Click **View stimuli details**. If you have already started data collection, click **Stop data collection** first to see the **View stimuli details** button.
3. Click **Check website compatibility**.

   ![Check website compatibility in iMotions Online](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-86ef693c05cb1904ecb33b064c405ead9eee51b1%2F930d58f09c_odc_checkwebsitecomp.webp?alt=media)

If a website cannot be shown as **Banner**, you see the message below. Select **New tab** to use the website in the study.

![Message that the website cannot be shown as Banner](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-2327c87d272629a8a1ed887dd74e444f08f5bc78%2F9bfccbfdbb_odc_websiteincompbanner.webp?alt=media)

If a website can be shown as **Banner**, it loads normally, as below. In that case you only need **New tab** if you want respondents to open the website in a new tab.

![Website loading normally as Banner](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-e3033da7e26be815d46193a77659a804c2a86024%2F0d1dd54a32_odc_websitecomp.webp?alt=media)

### Setting Banner or New tab without checking compatibility

If you already know which option you want, you can set it directly:

1. Open the study in iMotions Online and click **View stimuli details**.
2. Click the three dots next to the website stimulus.

   ![Three dots menu next to a website stimulus](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-bc4bcd2104c81e7aee7aaa2ef61e42b5a5afca07%2F4532f18064_odc_editstimuli3.webp?alt=media)
3. In the pop-up that appears, select **Banner** or **New tab**.

   ![Pop-up with the Banner and New tab options](https://286068319-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNLNBWkNpljDaAj5rQtNa%2Fuploads%2Fgit-blob-6d132fab8371ce95d4209fd763163b93c33e8a99%2F62509430a4_odc_editstimuli6.webp?alt=media)

## Returning respondents to the study

If a website stimulus is shown as **Banner**, respondents need a way to return to the RDC study when they have finished their task on the website. The same applies to Qualtrics surveys. See [RDC testing with Qualtrics surveys](https://help.imotions.com/lab/remote-data-collection/getting-started-with-online-data-collection/rdc-testing-with-qualtrics-survey.md).

* If the website can redirect respondents to a specific link when they are done, redirect them to [`https://endstimulus.imotions.com`](https://endstimulus.imotions.com). This takes them back to the rest of the study.
* If the website cannot redirect respondents, set the website stimulus to **New tab**, set its advancement to **manual advance**, or both. Either way, respondents can continue with the rest of the study instead of dropping out.

## Related articles

* When a study contains websites, respondents are asked to share their browser screen so that their interaction with the websites is recorded for playback. To see what these permissions are, see [Participating in RDC Studies](https://help.imotions.com/lab/remote-data-collection/participating-in-rdc-studies.md).
* For manual and automatic advance of website stimuli, see [RDC Settings and Stimuli Behavior](https://help.imotions.com/lab/remote-data-collection/getting-started-with-online-data-collection/rdc-settings-and-stimuli-behavior.md).
* For using the HTTP GET method to exchange information between iMotions and external websites (advanced), see [RDC Cross Communication with Other Websites](https://help.imotions.com/lab/remote-data-collection/getting-started-with-online-data-collection/rdc-cross-communication-with-other-websites.md).


---

# 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/remote-data-collection/getting-started-with-online-data-collection/rdc-testing-with-websites.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.
