If a respondent requests not to be contacted anymore, whatever the data collection mode, his/her personal data, such as phone number or email address must be added into a Do Not Contact list. Before any contact list usage, you need to ensure that you are not using any contact matched with your Do Not Contact list. The Do Not Contact lists are available for each data collection mode or a mix of them.
List for unsubscribed contacts
This is a standard Do Not Contact list that must contains an email field. You need to attach it to your sample list, into properties > numbers > selection and tick "Do Not Mail":
Unsubscription HTML page
The unsubscribe template contains the web page which will be shown when the user clicks the unsubscribe link. This template will have to make sure to do the actual unsubscription using a HTTP POST request:
Example unsubscribe template form with unsubscribe post action button and a redirect on successful or failed:
<form action="[ccaUnsubscribeLink]&Redirect=https://myserver.com/Webprod/resources/thanks.html&ErrorRedirect=https://ns136.askia.com/Webprod/resources/error.html" method="post">
<label for="submit">Click 'unsubscribe' to unsubscribe [ccaEmail] from this mailing list.</label>
<input type="submit" style="width:20%" class="btn" name="submit" value="Unsubscribe">
These keywords are supported in the unsubscribe template:
- All the regular list fields, between square brackets (identical to the mail templates)
- The [ccaUnsubscribeLink], [ccaUnsubscribeEncryptedLink] and [ccaEmail] keywords
- ??ResPath?? will return the main resource URL (not the one from a survey)
Keep in mind that the Cca will only update the DNC list, not the external database that has been used to create the sample list. So, if you make an update from external database, you may lose the information previoulsy recorded in the sample list (but not yet recorded into the external database). That's why you need to add an event "unsubscribe" on your sample list:
The SQL query to use will be an INSERT INTO your external database used to create the DNC list.