A robust and flexible way to add double-opt-in (DOI) to any form in Mautic

Overview

Mautic double-opt-in (DOI) plugin

Adds a robust and flexible way to add a double-opt-in process (DOI) to any form in Mautic.

mautic-doi-plugin-form-action

What is the plugin for?

In short: It helps you to implement a simple and reliable method to collect opt-ins.

  • Manages the opt-in status for your contacts in Mautic
  • Automatically sends a confirmation email when the contact has not opted in yet
  • Tracks the click on confirmation link safely
  • Adds / removes tags and segments in case of successfull confirmation

Features

  • Multi Campaign Support: Tracks opt-ins across multiple topics / subscribtions for every contact
  • Cryptografically protected confirmation links
  • Audit log for proof of opt-in collection

How to Install

The current version was tested with Mautic 3.3. Support for Mautic 4 is on the way.

  1. Donwload the ZIP file
  2. Extract it to a local directory
  3. Upload the contents to your Mautic into /plugins
  4. Navigate to the Plugins page
  5. Click "Refresh / Install plugin"

Done! The plugin should now appear in the list of plugins.

How to Create an Opt-In Form

Start by creating a new email first. You need to add a special token, that will be replaced with the URL, that the contact must click to confirm her will to opt-in.

Add this token:

{doi_url}

Otherwise, your email doesn't need to be special in any way.

Next create a new form. In the actions section, add a new action "Manage DOUBLE OPTIN (DOI) confirmation via email". This is the action provided by the plugin.

In the settings of the action you can now select the email and what tags and segments should be used.

That's it!

Known Issues

  • The audit log is only accessible via the database at the moment.

FAQ

F: How do I manage multiple campaigns?
A: You can simply use a specific combination of tags for every campaign that you want to have its own DOI.

F: When will the email be sent?
A: At the moment, the email will be sent every time the form is submitted.

We think about ways to improve this. Maybe we should only send the email, when the contact does not have the tags, that we would add in the success case?

F: How do you define a "successful" opt-in?
A: When the user clicks the confirmation link, we assume that this is a success.

F: What must the email look like?
A: There are no special requirements, just add the merge tag {doi_url} to a link.

Credits

This plugin is made available by Content Optimizer GmbH. It was developed by Sebastian Fahrenkrog.

You might also like...
Read and show values from form valid

read-and-show-values-from-form-valid Escribe un programa PHP que permita al usuario rellenar un formulario de registro con los datos de nombre, contra

Very flexible git hook manager for php developers
Very flexible git hook manager for php developers

CaptainHook CaptainHook is an easy to use and very flexible git hook library for php developers. It enables you to configure your git hook actions in

Drupal Composer Scaffold - A flexible Composer project scaffold builder

This project provides a composer plugin for placing scaffold files (like index.php, update.php, …) from the drupal/core project into their desired location inside the web root. Only individual files may be scaffolded with this plugin.

[virion] It Implements Simple Using Form Library System

SimpleForm [virion] It Implements Simple Using Form Library System How To Use First, declare the use statement. use AidenKR\SimpleForm\SimpleForm; use

Bundle providing Honeypot field for the Form Builder in Ibexa DXP Experience/Commerce (3.X)

IbexaHoneypot Bundle providing Honeypot field for the Form Builder in Ibexa DXP Experience/Commerce (3.X) What is Honey pot? A honey pot trap involves

Simple Form By Using β‡’ PHP - MSQL - AJAX

php-form Simple Form By Using PHP - MYSQL - AJAX Demo: http://php-form.ga/ How To Use Download XAMPP from https://www.apachefriends.org/download.html

Simple Form By Using β‡’ PHP - MSQL - AJAX

php-form-2 Simple Form By Using PHP - MYSQL - AJAX Demo: http://php-form.ga/ How To Use Download XAMPP from https://www.apachefriends.org/download.htm

Basic User login & signup in php with JavaScript form validations

User login & signup in php User login & signup in PHP-MySQL with JavaScript form validations Project Details : Project Name : User Registration & Logi

Zem contact reborn - An extensible HTML form mailer plugin for Textpattern CMS.

com_connect Contents Introduction Installing and upgrading Migrating from zem_contact_reborn Usage Tags com_connect tag com_connect_text tag com_conne

Owner
Content Optimizer GmbH
We do Marketing Automation with Mautic
Content Optimizer GmbH
Parsica - PHP Parser Combinators - The easiest way to build robust parsers.

Parsica The easiest way to build robust parsers in PHP. composer require parsica-php/parsica Documentation & API: parsica-php.github.io <?php $parser

null 350 Dec 27, 2022
A non-intrusive support form that can be displayed on any page

A non-intrusive support bubble that can be displayed on any page Using this package you can quickly add a chat bubble that opens a support form on any

Spatie 288 Dec 28, 2022
MOP is a php query handling and manipulation library providing easy and reliable way to manipulate query and get result in a fastest way

Mysql Optimizer mysql optimizer also known as MOP is a php query handling and manipulation library providing easy and reliable way to manipulate query

null 2 Nov 20, 2021
Track any ip address with IP-Tracer. IP-Tracer is developed for Linux and Termux. you can retrieve any ip address information using IP-Tracer.

IP-Tracer is used to track an ip address. IP-Tracer is developed for Termux and Linux based systems. you can easily retrieve ip address information using IP-Tracer. IP-Tracer use ip-api to track ip address.

Rajkumar Dusad 1.2k Jan 4, 2023
Laravel Blog Package. Easiest way to add a blog to your Laravel website. A package which adds wordpress functionality to your website and is compatible with laravel 8.

Laravel Blog Have you worked with Wordpress? Developers call this package wordpress-like laravel blog. Give our package a Star to support us ⭐ ?? Inst

Binshops 279 Dec 28, 2022
A small package to add computed properties to any PHP class. 🐘

Computed Properties This package provides a trait and attribute that can provide computed property support. Installation This package can be installed

Ryan Chandler 22 Mar 28, 2022
salah eddine bendyab 18 Aug 17, 2021
Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.

TARS - A Linux Foundation Project TARS Foundation Official Website TARS Project Official Website WeChat Group: TARS01 WeChat Offical Account: TarsClou

THE TARS FOUNDATION PROJECTS 9.6k Jan 1, 2023
Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.

Admidio Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it

Admidio 212 Dec 30, 2022
Powerful and flexible component for building site breadcrumbs.

Phalcon Breadcrumbs Phalcon Breadcrumbs is a powerful and flexible component for building site breadcrumbs. You can adapt it to your own needs or impr

Serghei Iakovlev 40 Nov 5, 2022