Double Opt-in

Estimated reading: 3 minutes 167 views

A double opt-in, or confirmed opt-in, asks new subscribers to confirm their consent before they are treated as subscribed. It is required in some countries under anti-spam laws, and it keeps mailing lists cleaner and more engaged. Odoo Marketing Automation includes a ready-made Double Opt-in campaign template for this.

How it works

When a contact joins the Newsletter mailing list, the template sends them a confirmation email. Clicking its confirmation link adds them to a new Confirmed contacts mailing list; only contacts on that list are treated as having given explicit consent.

Setting up the campaign

  1. Open Marketing Automation. If templates aren’t shown because campaigns already exist, search for a campaign name that doesn’t exist (such as “empty”) to bring the template cards back.
  2. Select the Double Opt-in template.

It is pre-filled with Target: Mailing Contact, Unicity based on: Email, and a filter for Email is set, Blacklist is not set, and Mailing lists contains Newsletter. Do not change the Target model once activities exist, or the workflow breaks.

The two activities

  • Confirmation email: sent 1 hour after a contact joins the Newsletter list, using a template with a single confirmation button. Keep the email short, and use only one call-to-action link besides the unsubscribe link, since any other link click also triggers the next step.
  • Add to list server action: runs when the confirmation link is clicked, adding the contact to Confirmed contacts. Edit its settings, such as an expiry duration, from the activity title, but avoid editing its preconfigured Python code, as this may affect your Odoo subscription plan.

Testing and launching

Run a test with a test contact to confirm the email sends and the contact is added to Confirmed contacts, then start the campaign to begin collecting confirmed subscribers for future newsletters.

Tips

  • Personalise the confirmation email but keep it brief.
  • Link the confirmation button to a thank-you page for a smoother experience.
  • Use the Confirmed contacts list, not Newsletter, for your marketing sends.

Frequently asked questions

How do I find the Double Opt-in campaign template if I already have campaigns?

Templates only show when there are no matching results, so search for a campaign name that doesn’t exist, such as “empty”, to bring the template cards back.

Can I change the campaign’s Target model?

No, changing it after activities exist invalidates the workflow; the template is designed to use the Mailing Contact model only.

Can I edit the Add To Confirmed List server action’s code?

It isn’t recommended, as changing its preconfigured Python code may affect your Odoo subscription plan.

Need help?

Need help setting up double opt-in in Odoo? Contact support@thoughtlogik.com or see our Odoo implementation services.

Leave a Reply

Your email address will not be published. Required fields are marked *

Learn how we helped 100 top brands gain success

Subscribe

×
Cancel