Double Opt-in for E-mail Marketing in Odoo

by
Odoo

319.30

v 11.0 Third Party 1
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Email Marketing (mass_mailing)
Website Builder (website)
Lines of code 438
Technical Name manatec_double_opt_in
LicenseOPL-1
Websitehttps://www.manatec.de
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Email Marketing (mass_mailing)
Website Builder (website)
Lines of code 438
Technical Name manatec_double_opt_in
LicenseOPL-1
Websitehttps://www.manatec.de

Double Opt-in for E-mail Marketing in Odoo

Add double opt-in feature (as requested by GDPR) to email marketing module

Double opt-in is a process in online marketing in which the subscriber of a newsletter or the receipt of company information has to confirm his consent, in contrast to the single opt-in, in a second step. With this module it is possible to use this process with Odoo.
The module supports English and German.

Double opt-in process

Step 1: Subscribe via the Odoo newsletter snippet

If the user adds a valid email and accepts the privacy policy, a new mass mailing contact will be created for the email address and it will be set to opt-out. If a record for this email address already exist, it will be updated.

Newsletter subscribe

Step 2: Mail with the link to confirm the subscription will be sent automatically

If the user subscribes to the newsletter via the newsletter snippet (step 1) an email will be sent automatically. The user has to press the button in the email or open the included link to confirm the subscription. Thereby the user completes the subscription process. For the first mail a new mail template (Double Opt-In) is added in English and German and can be configured in the Odoo settings at Technical/Template.

DOI mail

Step 3: Confirm subscription and redirect to subscription status page

When the confirm action is triggered (step 2) the subscription will be confirmed. The opt-out attribute in the mass mailing contact is set to false and the user will be able receive newsletters. After the confirmation process the user will be redirected to subscription status page. There the last subscription action is shown as well as the button to unsubscribe from the newsletter.

The link to the status page is defined as followes:
https://<base url>/<doi hash of the contact>/status

Status page

Step 4: Unsubscribe via link in a newsletter or status page

The user can unsubscribe from the newsletter by using the link at the bottom of any newsletter email or by pressing the unsubscribe button at the status page (see step 3). After the unsubscribing process the user will be redirected to the subscription status page. There the user has the opportunity to resubscribe to the newsletter.

Unsubscribe page

Extend mass mailing contact with double opt-in log information

Adds a log for the doi process to the mass mailing contacts. In the doi log every action which is done in the subscription process will be logged. The process consists of 5 different actions: privacy policy accepted, subscribed, doi mail sent, confirmed and unsubscribed (described above). For every log entry the timestamp, the action taken and the ip address is saved. For the doi mail sent action the sent mail will also be stored and linked in the log entry due to legal reasons. For every mass mailing contact a unique doi hash will be generated.

Contact

Report of contact subscription history

A print report option, including the information about the contact and the subscription history, has been added to the mass mailing contacts.

Contact report

Note

Currently there is a bug in Odoo that, with a specific constellation, the standard Odoo unsubscribe link at the bottom of a newsletter mail is not generated. When the selected website language from the Mass Mailing Writer is not the same as the website default language, the unsubscribe link will contain a language specification like "de_DE/unsubscribe_from_list". If that's the case, Odoo does not generate the user specific unsubscribe link correctly.
Please make sure that the unsubscription link looks always as follows: "/unsubscribe_from_list" (without a language specification)!

Unsubscribe link

History

  • 1.1 (17.12.2018): Bug Fix: Loading of history failed if no history was set
  • 1.0 (28.05.2018): Initial Release

Contact & Support

Do you like this module?
Try out our other apps!

Challenges with this module, wishes for more functions or questions about Odoo? Contact us!

Version: 1.1.0
Last Updated: 14.04.2021
© manaTec
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.