Double opt-in functionality, also referred to as confirmed opt-in or closed-loop opt-in, adds an additional security layer to the newsletter subscription.
When double opt-in is disabled for a newsletter, anyone may simply submit an email address for subscription, without any steps to ensure that the address actually belongs to that contact. With double opt‑in, new recipients are not immediately activated and do not receive emails. Instead, the system sends an automatic email containing an activation link. After clicking the link, contacts are redirected to a special page and their subscription is confirmed.
The main advantages of double opt-in are:
- Confirming that the email addresses of recipients actually exist
- Preventing contacts from being unknowingly subscribed to a newsletter by someone else (either intentionally or by mistake)
Enabling double opt-in
To configure a newsletter to use double opt-in:
Open the Email marketing application on the Email feeds tab.
Edit () a newsletter.
Switch to the Configuration tab.
Select the Enable double opt-in option in the Double opt-in category.
Set the following properties:
Double opt-in email template
Selects the template used for the subscription activation emails that are sent to contacts. You can only select templates of the Double opt-in type.
See also: Preparing email templates
Approval page URL
Sets the URL of the page where contacts can confirm their subscription to the newsletter.
The Subscription approval web part must be placed on the specified page to ensure the required functionality. This URL is used by the Activation link field, which is typically inserted into the Double opt-in template. If left empty, the value of the Settings -> On‑line marketing -> Email marketing -> Double opt-in approval page URL setting is used. If the setting value is also empty, approval link sends contacts to a default system page.
Send double opt-in confirmation
If checked, the system sends a confirmation email to recipients after they successfully activate their subscription to the newsletter.
Click Save to confirm the changes.
Now any contacts who subscribe to the newsletter will receive an email.
When a contact clicks the Confirm the subscription link, they are redirected to the default ~/CMSModules/Newsletters/CMSPages/SubscriptionApproval.aspx page, where the system displays a confirmation message and activates the subscription. The identifier of the exact subscription is passed to the page as a parameter in the query string of the URL in the activation link.
Contacts can only approve their subscription during a limited time interval (12 hours by default). If a contact does not activate their subscription within the specified number of hours, the link in the confirmation email expires, and the contact needs to subscribe again.
You can set the length of this time interval for all email campaigns through the Settings -> On‑line marketing -> Email marketing** -> Double opt-in interval** setting.
Creating custom subscription approval pages
If you wish to use a custom subscription activation page:
- In the Pages application, create a new page on your website with the required design.
- Place the Subscription approval web part onto the page.
- Assign the custom approval page to newsletters by entering its URL into:
- The Approval page URLproperty of the individual newsletters
- Globally in the Double opt-in approval page URLwebsite setting in Settings -> On-line marketing -> Email marketing(assigns the page to all newsletters that do not have an approval page specified)
The double opt-in confirmation links now send contacts to your custom page.