CAWI link example for external Panel integration

Compatibility:IdSurvey 5IdSurvey 5.5IdSurvey 6

Many CAWI surveys needs to have some sort of external panel integration, both when the user starts the interview from an external panel, and when the user completes a survey and needs to be redirected to the original site. In this case, the variable linked to contact id is sent back to the panel with the link that also includes the identification.

The supplier provides links like these:

Redirect completes: http://example.com/d/?status=1&study=144W345&rnid=XXX

Redirect screenout: http://example.com/d/?status=3&study=144W345&rnid=XXX

Reditect quotafull: http://example.com/d/?status=2&study=144W345&rnid=XXX

VERSION 6 ONLY:

From version 6 onwards, the redirect links for external panel integration can be simply inserted in the appropriate section in CAWI settings, inside the survey’s administration. Instead of “XXX”, you will need to write in the chosen field (you cannot chose an empty field) of the contact database that acts as identifier inside curly brackets (ex: {Identification}).

Ex (quota full): http://example.com/d/?status=2&study=144W345&rnid={Identification}

Same as in version 5/5.5, the list of identification values needs to be given by the provider, as it needs to match an ID in their database (please note that this list does not need to be the real identification of your provider’s contacts in their database, just a matching value that your provider’s database can join to the correct contact).

VERSION 5 / 5.5 ONLY:

In the Admin inteface you have to upload a contacts list in Contacts Management with column “Identification” that includes the list of identification values your provider gave to you.

Then:

 1) Complete

Go on Survey Settings, CAWI tab, and choose End text. Click on Source Code (icons <>) and paste this script replacing the link in the example with your provider’s link:

<script type="text/javascript">// <![CDATA[
var id='{identification}';
var url = 'http://example.com/d/?status=1&study=144W345&rnid=' + id;
self.location.href = url;
// ]]></script>

then save page

 

 2) quota full:

Go on Survey Settings, CAWI tab, and choose Out of quota text. Click on Source Code (icons <>) and paste this script replacing the link in the example with your provider’s link:

<script type="text/javascript">// <![CDATA[
var id='{identification}';
var url = 'http://example.com/d/?status=2&study=144W345&rnid=' + id;
self.location.href = url;
// ]]></script>

then save page

3) screen out (out of target)

In the questionnaire you’ll insert one page with a question with no answers (just text) that has to be displayed just to respondents who are screened out to stop interview. To do that apply a display condition to the page to be displayed only by out of target respondents.

In the client script of these pages you’ll insert this script replacing the link in the example with your provider’s link::

<script>
var id='{identification}';
var url ='http://endlinks.researchnow.com/d/?status=3&study=144W345&rnid=' + id;
self.location.href = url;
</script>

then save page

Leave A Comment?