Skip to content
  • There are no suggestions because the search field is empty.

How to end the eye-tracking test by the tested website (screen sharing)?

 


You can add a simple JavaScript code to the website you're testing with the Screen Sharing study so the eye-tracking test ends automatically whenever needed, before the study max time is reached.

This way, the eye-tracking data might get stored in the background, while the participant is still viewing the tested website or filling out a survey in a third-party tool.

The required JavaScript code:

window.opener.postMessage('re-test-end-without-interaction', '*')

NOTE: Add that code in the proper event listener, to finish the test whenever needed.

Examples: