TutorialsJoint

How to create Double Opt in Email Campaign in Mautic

May 13, 2021

In this tutorial we are going to demonstrate how you can create Double Opt in Email campaign. This will be a step by step tutorial with Screenshots. Double opt in is used to ensure someone who subscribed to your email notifications or updates have done so intentionally and have confirmed the email. This helps to ensure somebody’s email was not randomly submitted by a bot.

What is Double Opt In ?

Double opt in is a process in which anyone filling in a form on a platform, to be contacted via email by the platform, has to confirm their email address, by clicking on the link sent by platform on the submitted email. This ensures that, the form was indeed filled by the owner of the email and not by someone else or a bot who has no access to the email.

This ensures the agreement of submitter to receive future communication by the platform where the form was submitted.

Why Double Opt In is required ?

Double opt in may be required under some privacy laws in some countries. However it is considered best practice in order to ensure the form submission was not done by a spam bot. Further it ensures user’s agreement to receive the communication via email from the platform.

What is the process of Double Opt In ?

The process is really simple, it consists of following steps:

  1. User visiting the web page is asked to submit a form.
  2. User submits the form which includes a link to privacy policy and description how the submitted information will be used.
  3. When form submission is done, the record is kept in a pending opt in list, which can’t be used for further communication unless email is confirmed.
  4. A Confirmation email is sent with link to a landing page.
  5. When user clicks the link in email and lands on Landing page(A Thank you page usually), the contact is moved to confirmed list, which can be used for further communication.
  6. All the Emails sent under this kind of subscription should have a preference and out out or unsubscribe link in the email which should allow user to not receive communication anymore.

Which kind of form submissions should have Double Opt in workflow ?

In Most cases double opt in is implemented on Subscription kind of forms. In which user is providing email and contact data in order to receive further communication at regular intervals. While implementing this kind of workflow a preferences page is also required which lets the user to manage frequency of emails as well.

Creating Double Opt in Campaign in Mautic

In this section let’s jump in and create a real double opt in campaign, this is the campaign I will use for Mautic solutions newsletter subscription campaign.

Create subscription form using Mautic Form

Create new form mautic

Under Components > Forms create New form, Select “New Campaign Form”.

Create Campaign Form

Fill in the form Details Fields

form details field

Fields Tab:

This tab allows to create the fields in the form, for newsletter form we are going to create basic fields, which are going to be first name, last name and email.

  1. Add a new field from dropdown, choose text type.
  2. In the popup add label, from the Contact Field choose First name.
  3. Validation tab, enable validation, then give a validation message.
  4. Save to add the field.
  5. Repeat the same for Lastname field.
  6. Repeat the same for Email field, except the field type should be Email type.
  7. Once done, your form is ready.
  8. Save and Close.

We have created a Campaign type form so the Action to be taken must be handled by the Campaign.

Create Segments

We need two segments, One for Pending Opt in and one for Confirmed contacts.

To Create Segment, go to Segments > New.

create segment

Add name “Pending Opt In” or whatever you would like to call this, set

We don’t need to do anything else, Just save and close.

New Segment Mautic

Repeat the same process for another segment, I’ll call it, “MS Newsletter Subscriber”, this time I’ll keep this

Next step is to create the Landing page which can be used as confirmation landing page.

Create Landing Page

Create Email

The process is similar to landing page, Email comes under Channel menu as this is a communication channel. So follow the steps to create an email.

Create Campaign

In order to create Campaign follow the steps below:

This should be enough for the basic double opt in campaign, the creation of campaign is shown in the video below.

When the campaign is activated and someone submits the form it will go to pending opt in segment, and send a confirmation email to the signed up contact.

When the contact clicks the link in email and lands on the thank you page, Mautic campaign will track the page visit and move the contact from pending opt in to confirmed newsletter segment.

Let’s place the form on a dedicated newsletter page and test by submission. I am using WP Mautic plugin by mautic community.

wp mautic plugin

Which allows to place the form using a short code. Once the form is placed, further action can be seen in the video below.

This tutorial is only basic of the campaign, there is a lot more you can do with the campaign, for example sending a follow up email if the email is not opened following would be the steps for the same:

Follow up email config

Final campaign looks like below:

Final campaign

Of course further actions should be configured for this to work, as followup email and actions are usually different than original email. This was just for demonstration purpose.

For any queries please feel free to ask the questions in comment below.