1/ The first step is to create an HX Embed activity. To do this, simply create a new activity and select HX Embed in the 'Type' dropdown field.

2/ Complete the other fields in the New Activity form and click the 'Add' button.

3/ Next, your newly created HX Embed activity will appear at the beginning (far left) of your activity list on your home dashboard and within your project. Click on the 'Open' button.

4/ Then click on the 'Webcam' button to upload your video stim (mp4 format).

5/ Select a video and click the 'Save' button to return to the activity screen.

6/ Then click on the 'Embed' button to reach the Embed form.

7/ Click on "Copy" to copy the Embed script that has been generated to your clipboard.

8/ Go to your survey software and create a JavaScript Action. Paste the script into the JavaScript Action.

9/ Replace the value assigned to newVisitor attribute with the relevant variable from your system containing the respondent unique ID.

10/ You can now create the rest of your survey around the embedded stim.

Note: you should test your integration first but you don’t want your test recordings to clutter the data. To avoid that, add the following line to your integration code (just after the newVisitor attribute), only remember to remove (or comment) it before actually launching the study with real participants:

Did this answer your question?