Integrations and Re-directs in Affect Lab

 

Learn how to set up Integrations and Re-directs between third-party survey platforms and AffectLab. 

Integrations and Re-directs are used when a respondent is to navigate to a different platform from the AffectLab test. 

The URL for the third-party platform is added while creating a campaign to navigate the respondent. 

Below are steps to be followed to set up an integration: 

Step 1: Create a campaign on the Affect lab platform 

Step 2: Create a Test 

Step 3: Double-click on integration in blue, as shown below 

Step 4: Then add the URL and the Variables 

Step 5: You can add 4 URLs and 6 Variables.

Click on the 'Add URL' option to add redirection URLs. You can add up to 4 redirection URLs at a given time. 

(https://downloads.intercomcdn.com/i/o/415958696/a545abafc7e6e717396f4 061/image.png) 

1. Complete URL: This is the URL where respondents will be re-directed after successfully completing a test in Affect Lab. In case users have a requirement to send respondents in Affect Lab to another system post successful completion of eye-tracking and/or facial coding test, this is the URL that should be configured. 

2. Screen Out URL: This is the URL where respondents will be re-directed to in case they don't clear the screening questionnaire configured in Affect Lab. This URL can also be used to re-direct respondents who don't enable their camera and audio device permissions. 

page2image64711232page2image64716016

 

3. Error URL: This is the URL that respondents are re-directed to in case their test gets aborted in Affect Lab. Tests can get aborted for reasons such as: 

  • a. Respondent reloads a page or navigates away from a test screen 
  • b. Respondent's camera or audio fail
  • c. Respondent faces network issue 

4. Quality Check URL: This URL can be configured for redirecting duplicate participants as they try to open a test for the second time. 

How to add static variables? 

In addition to redirecting respondents to another platform, Affect Lab users can also configure static variables that can be sent back to the URLs of respondents who complete the eye-tracking and/or facial coding tests. 

What is a Static Variable? 

Static variables are URL variables used to share required information in the URL. The primary reason for using URL variables is to pass on information like status. Variables are used when users want the respondent to be redirected to some specific page of a website or a survey form post completing the test in AffectLab. 

page3image64533296page3image64525184

Where to Get the Value Format:

The format of the variable value depends on two things:

  1. Your Platform: Each platform handles survey data and variables differently. There should be documentation or settings that explain:
    • Available Variables: What data points can be captured from your surveys (e.g., ID, answer choices).
    • Variable Format: How the data is stored and represented (e.g., numbers, text strings).
    • Supported Syntax: How to include variables in the redirect URL (e.g., $(VARNAME) or {VARNAME}).