Skip to main content

Subscription/Unsubscription system

Contactsend also allows a form to be created automatically for subscribing to or unsubscribing from an email group. The forms interact directly with the platform database, so users no longer need to be added or removed manually, or through an Excel file.
Each subscription/unsubscription/update system is identified by a numeric code (wfc) and is associated with a specific group. Therefore, unsubscription or update links only work when inserted into emails sent from the correct group.
The operation behind Send's subscription and unsubscription forms is based on a numeric field added to the database, called the subscription field. This field can have three possible values:

  • 1 means that the user is subscribed.
  • -1 means that the user has unsubscribed.
  • 0 means that the user is pending, has received the email to confirm the double opt-in subscription but has not confirmed it, and/or that this is the default value assigned by the system when no other value has been specified.

The form is called Subscription. A Subscription allows both subscription and unsubscription management.

info

If only an unsubscription link is required, for example when subscriptions are managed manually by uploading new users to the database, the form must still be created following the procedure below. The generated unsubscription link can then be inserted into the message text.

How to create a new subscription/unsubscription/update system​

To create a new subscription/unsubscription/update system, select the required group from the list on the main page of Configure > Email groups, then select the corresponding Subscriptions icon.

Subscriptions

Select Create new form.

New subscription

The screen that opens contains all the settings for the subscription form.

Subscription form

1) Subscriber name: Enter a name for the form, such as Test Subscription.

2) Identification field for the subscription: Select whether the subscription is managed by the system or whether Contactsend uses a field already present in the database. In the first case, the system automatically creates a new database field called __cls (__cls1, __cls2, and so on). This field is used by the form as the subscription field.

The subscription field contains one of the following numerical values:

  • 1 if the user is subscribed;
  • -1 if the user is unsubscribed;
  • 0 if the user is pending subscription confirmation, has received the email to confirm the double opt-in subscription but has not confirmed it, and/or if this is the default value assigned by the system when no other value is specified.

3) Additional fields form: Select the database fields to add to the subscription form. These fields must be visible in Configure > User DB > Field Management. The email field is mandatory.

4) Set settings/filters:

  • Create a filter for members: Automatically creates a filter in the recipient database, in Configure > User DB, containing the users who subscribed through the form.
  • Add subscription state=1 as basic setting on all database: Applies a condition to the entire database so that the subscription field equals 1, meaning that the user is subscribed. Users with a value of 0 or -1 are not displayed in the database and are automatically excluded from deliveries, without the need to set a specific filter.

5) Configure subscription status:

  • Do you want to subscribe ALL the users present in the database: Sets the __cls field to 1 for all records.
  • Leave the value of the subscription column unchanged: If the field is managed by the system (__cls), the system assigns a value of 0 by default. If the field already exists, the current value remains unchanged.

6) Blacklist: If the box is selected, an unsubscribed user is forcibly added to the blacklist. This is a security measure to prevent messages from being sent again to an unsubscribed user.

7) Safety suffix: If the box is selected, the security suffix .removed is added to the user's email address when the user unsubscribes. This is a security measure to prevent messages from being sent again to an unsubscribed user.

info

The created subscription uses double opt-in. After the form is completed, a confirmation email is sent, and the subscription is confirmed by selecting the link in the email. This option ensures that the email address used for the subscription is real and active.

8) Add privacy check: Adds a privacy notice to the form that must be accepted to complete the subscription.

9) CAPTCHA control: Invisible CAPTCHA is automatically added to subscriptions created from May 2022. For subscriptions that were already active at that time:

  • Using standard forms that already use a CAPTCHA?
    The invisible CAPTCHA is automatically activated on both active forms and new forms.
  • Using standard forms that do not use a CAPTCHA but want to add it?
    Open the subscription form and add the CAPTCHA. The invisible CAPTCHA becomes available immediately.
  • Customized the form and use CAPTCHA?
    Update the form with a new snippet available in Send to add the invisible CAPTCHA.
  • Customized the form but do not use CAPTCHA and want to add it?
    Contact support for assistance with the invisible CAPTCHA configuration.

10) Pages for subscription/confirmation/update/unsubscription:

A subscription form requires a series of redirect pages, such as a confirmation page indicating that the subscription was successful or an error page. Contactsend-generated pages or pages from the website can be used as redirects. One or more email addresses can also be notified of individual subscriptions, unsubscriptions, or updates.

Select the Add button to create the form.

How to manage the subscription/unsubscription system​

The new subscription/unsubscription/update system is listed on a page accessible from Configure > Email groups by selecting the Subscriptions icon. Select the Manage button.

Manage subscription

Selecting Manage opens the system management page. The page is divided into five tabs:

  • Details: Summarizes the system settings.

  • Subscription specifications: Contains everything needed to put the form online. The Subscription Link can be copied to link to a page on Contactlab.it. The page layout is standard but can be customized on request by Contactlab experts. Alternatively, the HTML code can be copied from the Subscription HTML box and added to the website. The subscription link is generated in Italian. To generate the link in another language, select the required language from the drop-down menu.

    Subscription details

  • Unsubscription specifications: Contains the link to insert into the message to allow unsubscription from the group. The unsubscription link is dynamic. When selected, it opens a form that allows the user to unsubscribe from the group. The unsubscription link is generated in Italian. To generate the link in another language, select the required language from the drop-down menu.

    warning

    Each link works only for the deliveries of the group with which it is associated.

    Unsubscription details

  • Modify details: Contains the update link. When the link is inserted into an email sent from the group associated with the subscription/unsubscription system, it opens a form containing all the visible fields in the user's database record. The fields are pre-filled with the current values. The values can be modified and empty fields can be completed. After confirmation, the new values immediately update the Contactsend database. The profile update link is generated in Italian. To generate the link in another language, select the required language from the drop-down menu.

    Update details

  • Most recent events recorded: Lists the most recent subscriptions, confirmations, and unsubscriptions.

warning

Once an automatic subscription/unsubscription/update system is active, avoid overwriting the database when uploading new users. Add the new users to the existing records instead, using Configure > User DB > Operations from file. This prevents the loss of information about possible unsubscriptions (-1) stored in the subscription field.

The languages currently available are:

  • it = Italian
  • en = English
  • fr = French
  • es = Spanish
  • de = German
  • ar = Arabic
  • bg = Bulgarian
  • zhs = Simplified Chinese
  • zht = Traditional Chinese
  • kr = Korean
  • dk = Danish
  • et = Estonian
  • fi = Finnish
  • jp = Japanese
  • gr = Greek
  • lv = Latvian
  • lt = Lithuanian
  • no = Norwegian
  • nl = Dutch
  • pl = Polish
  • pt = Portuguese
  • ro = Romanian
  • ru = Russian
  • sk = Slovak
  • sl = Slovenian
  • se = Swedish
  • th = Thai
  • tr = Turkish
  • hr = Hungarian

Database management consequences​

Each Subscription is associated with a group but operates on the database associated with that group. The following differences apply when managing a database with an active Subscription:

  • The database associated with the group cannot be changed while the Subscription is active. Delete the Subscription first, change the connected database, and then create a new Subscription. In general, avoid changing the database connected to a group with an active Subscription.
  • When users must be manually added to the database through an Excel or CSV file, do not overwrite the existing users. Overwriting would remove all information in the subscription field, including information about users who have unsubscribed. Select Add to existing records to add new addresses without removing the existing database information.
  • When new users are inserted through File operations, add the subscription field, such as __cls1, with a value of 1 for all users to be imported.
warning

If the subscription field is not set for each user during file operations, the system assigns a value of 0 by default. If a base filter is applied to the database, the added users are therefore not visible.