Survey start links

This topic describes the available survey start links that you can send to respondents in your survey invitations. By clicking the links, respondents can begin the survey.

Note: from WebProd version 5.3.5, you can use new-format, more elegant survey start links, and you can also encrypt your start links. This topic explains how to use both the old and new format links and how to set up encrypted links. In order to use the new-format and encrypted links, you first need to make a minor change to the web server that is hosting your surveys. Once you have set up your server to handle new-format links, you can use new-format, old-format and encrypted links freely as you wish.

There are several types of start link available (follow the links below for details of a specific start link type):

Note: You can obtain a start link for your survey directly in Supervisor by right-clicking the survey in the tasks view, selecting web, then choosing the appropriate type of link (for example, copy "StartSurvey" link). You can then paste this link into a document such as an email message.
Note: For more information on working with external panel providers, see the Knowledge Base article Working with External Panel Providers.

StartSurvey link type

This type of link always begins the survey without any resume capability. This means that each time the survey start link is clicked by a potential respondent, a brand new interview will be started. This is most useful when inviting unknown respondents. For example, for surveys starting from a pop-up or an advertisement on a website.

Note: There are two link formats available: existing "old format" links and new format "pretty" links that are more user-friendly and more tamper-proof. To use the latter links, you need to configure your web server to handle them. See configuring your server for new format links for details.

New-format StartSurvey links

After replacing the parameters as appropriate, paste the appropriate link into the website or invitation email. If you are using the new format ("pretty") links (note that your server has to be set up to support them):

http://servername/WebProd/Start/MySurvey

 

Servername should be replaced with the URL of the server on which the survey is running (e.g. askia.com).

MySurvey should be replaced with the external name of the survey as defined in WebProd.

In addition, see StartSurvey parameters below, which are optional for new-format links.

Old-format StartSurvey links

If you are using old-format links, use the following format:

http://servername/webprod/cgi-bin/AskiaExt.dll?Action=StartSurvey&SurveyName=xxxxxx

StartSurvey Parameters

Notes

Generated interview file name (if interviews are saved to disk)

Intvw<seed>[.dat]

Example: Intvw123.dat

DoPanel link type

When the invitation mailing is done via CCA, a DoPanel link will automatically be generated and sent to the respondents.This will start a survey with resume capability. To use it, simply paste a StartSurvey link or the [ccaDoPanelLink] keyword into the invitation email.

Note: There are two link formats available: existing "old format" links and new format "pretty" links that are more user-friendly and more tamper-proof. To use the latter links, you need to configure your web server to handle them. See configuring your server for new format links for details.

This link will be automatically updated by the CCA to transform it into a unique DoPanel link for each respondent within the sample list. Each potential respondent will receive a customised link containing encrypted sample list information. For example:

http://servername/webprod/cgi-bin/AskiaExt.dll?Action=DoPanel&Survey=RYLZDLVLLBHLNJBL&PanelId=RYLZDLVLLBHLNJBL@FFFHPMPFHIGPKFBK

Warning: Do not attempt to create a DoPanel link manually. Instead, use a StartSurvey link, as described above; the CCA will automatically convert this link into a DoPanel link with the appropriate parameters.

New-format DoPanel links

DoPanel links are simply StartSurvey links used in an invitation email. If you are using new format ("pretty") links (note that your server has to be set up to support them), they will appear as follows:

http://servername/WebProd/Start/MySurvey

 

Servername is the URL of the server on which the survey is running (e.g. askia.com).

MySurvey is the external name of the survey as defined in WebProd.

In addition, see DoPanel parameters below, which are optional for new-format links.

Note: From version 5.4.6, instead of copying and pasting the survey start link generated by the CCA into your email template, you can use the keyword [ccaDoPanelPrettyLink] in your mail template. Note that you must include the square brackets.

Old-format DoPanel links

http://servername/webprod/cgi-bin/AskiaExt.dll?Action=StartSurvey&SurveyName=xxxxxx

DoPanel Parameters

Note

Instead of copying and pasting the survey start link generated by the CCA into your email template, you can also use the keyword [ccaDoPanelLink] in your mail template, inside square brackets.

Generated interview file name (if interviews are saved to disk)

PIntvw-<surveyid>-<panelid>-<listid>[.dat]

Example: PIntvw-11-22-33.dat

DoExternalPanel link type

This will start a survey with resume capability. This should be used when the invitation mailing is done outside of CCA (for example, with a sample provider). The respondent is identified by a unique combination of Broker and BrokerPanelId.

Note: There are two link formats available: existing "old format" links and new format "pretty" links that are more user-friendly and more tamper-proof. To use the latter links, you need to configure your web server to handle them. See configuring your server for new format links for details.

New-format DoExternalPanel links

After replacing the parameters, paste the following link into the website or invitation email:

http://askia.com/WebProd/Start/MySurvey/Broker/BrokerPanelId

Servername is the URL of the server on which the survey is running (e.g. askia.com).

MySurvey is the external name of the survey as defined in WebProd.

In addition, see DoExternalPanel parameters below, which are optional for new-format links.

Old-format DoExternalPanel links

After replacing the parameters, paste the following link into the website or invitation email:

http://servername/webprod/cgi-bin/AskiaExt.dll?Action=DoExternalPanel&SurveyName=xxxxxx&Broker=xxxxxx&BrokerPanelId=xxxxxx

DoExternalPanel Parameters

Generated interview file name (if interviews are saved to disk)

XIntvw-<surveyid>-<broker>-<brokerpanelid>[.dat]

Example: XIntvw-11-AskiaBroker-BrokerPanelId.dat

SyncData link type (administrators only)

This will synchronise the SQL interviews with the interviews on disk. An ADO connection string must be entered in the options page (but the WebProd option store dat files on SQL does not have to be enabled).

Note: this link type can be used only by users with administrator privileges.

Link format

http://servername/webprod/cgi-bin/AskiaExt.dll?Action=SyncData&SurveyName=AskiaSurvey&Direction=ToSQL

Parameters

Note: Most of the following parameters are valid only for CCA versions 5.1.11 and above.

Notes

Configuring your server to allow new-format ("pretty") and encrypted links

If you want to use new-format ("pretty") survey start links or encrypted links, you first need to install an embedded ISAPI filter in Internet Information Services on the web server that is hosting the surveys. This filter allows your server to intercept and change URL requests.

To enable new-format and encrypted links on your web server:

  1. On your web server, open IIS Manager (please refer to the official Microsoft IIS documentation for assistance).

  2. In the tree on the left, open your website's configuration (not the server configuration).

  3. Open the ISAPI Filters item (by double-clicking it).

  4. In the right-hand pane, under actions, click add....

  5. In filter name, enter WebProd.

  6. In executable, specify the full path to AskiaExt.dll:

  7. Click OK. The change takes effect immediately; there is no need to restart IIS or the application pool.

When post/redirect/get is disabled and an interview begins via a new-format link, the browser will show a non-pretty link once the interview has started.

Using encrypted links

To prevent users from editing survey start links, you can distribute encrypted links instead of clear text links. These encrypted links are also shorter than the original links because known parts (like Action=StartSurvey) are replaced with placeholders.

Note: Even if an interview is started with an encrypted link, once an interview is started you’ll always see either a pretty link or an old-style link.
Note: From version 5.4.6, instead of copying and pasting the survey start link generated by the CCA into your email template, you can use the keyword [ccaDoPanelEncryptedLink] in your mail template. Note that you must include the square brackets.

For example, this link...

http://askia.com/WebProd/cgi-bin/askiaext.dll?Action=StartSurvey&SurveyName=MySurvey

 

...would be encrypted to something like this:

http://askia.com/WebProd/~O1p1PnpkpSI

 

A DoExternalPanel link (which is normally quite long), will also be quite a bit shorter in its encrypted format. For example:

http://BERTR-PC/WebProd/cgi-bin/askiaext.dll?Action=DoExternalPanel&Survey=PAVCAHBAMRSGUAGB&Broker=123&BrokerPanelId=abcdef

 

...would become something like this:

http://BERTR-PC/WebProd/~9Q6fW1qhe2QV3edpNKJi_Q

 

Extra parameters are also possible, but the encrypted link unavoidably gets a bit longer.

This:

http://askia.com/WebProd/cgi-bin/askiaext.dll?Action=StartSurvey&SurveyName=MySurvey&Test1=abc&Test2=123

 

Will become something like this:

http://askia.com/WebProd/~Q8eKHqMooeHBGuKJ3a5V4Ljz-ztnYw0ac0LdEH!H97k

 

Which is quite a bit longer than the link above.

Encrypting a URL

To obtain an encrypted URL, you can use AskiaExt as well, using the parameter Action=EncryptLink, and the parameters (the part after the question mark) as the Link parameter.

For example, for this request...

http://askia.com/WebProd/cgi-bin/askiaext.dll?Action=EncryptLink&Link=Action%3DStartSurvey%26SurveyName%3DMySurvey

...you will get a plain text encrypted value back like this:

O1p1PnpkpSI

To use this in a link you have to include the prefix yourself (including a ~ to indicate this is an encrypted link). So in our case we have to start each link with http://askia.com/WebProd/~

Note that you have to URL-encode the link parameter. So instead of using

Link=Action=StartSurvey&SurveyName=MySurvey

You have to use

Link=Action%3DStartSurvey%26SurveyName%3DMySurvey

It is also possible to use a ‘pretty’ version of this command which doesn’t require URL encoding:

http://askia.com/WebProd/EncryptLink/Action=StartSurvey&SurveyName=MySurvey

This will also return the encrypted value.

Create your own Knowledge Base