# How to setup Double opt-in version 2.1.1

**URL:** https://forum.mautic.org/t/how-to-setup-double-opt-in-version-2-1-1/5165
**Category:** General Discussion
**Created:** [September 2, 2016, 1:30pm UTC](https://forum.mautic.org/t/how-to-setup-double-opt-in-version-2-1-1/5165 "2016-09-02T13:30:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![francopoleo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/francopoleo/32/107_2.png) [@francopoleo](https://forum.mautic.org/u/francopoleo)
#### Post date: [September 2, 2016, 1:30pm UTC](https://forum.mautic.org/t/how-to-setup-double-opt-in-version-2-1-1/5165/1 "2016-09-02T13:30:59Z")

</div>

How to setup a double opt-in process on version 2.1.1 for sign up contacts?

---

<div class="post-metadata">

### Author: ![francopoleo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/francopoleo/32/107_2.png) [@francopoleo](https://forum.mautic.org/u/francopoleo)
#### Post date: [September 2, 2016, 1:30pm UTC](https://forum.mautic.org/t/how-to-setup-double-opt-in-version-2-1-1/5165/2 "2016-09-02T13:30:59Z")

</div>

How to setup a double opt-in process on version 2.1.1 for sign up contacts?

---

<div class="post-metadata">

### Author: ![balkee](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@balkee](https://forum.mautic.org/u/balkee)
#### Post date: [September 3, 2016, 2:16pm UTC](https://forum.mautic.org/t/how-to-setup-double-opt-in-version-2-1-1/5165/3 "2016-09-03T14:16:35Z")

</div>

Conceptually, you use a campaign to send an e-mail with a link and check if user visits a confirmation page, when user signs up. Once user clicks on the link, they’re moved from pending segment to become a valid contact.

1. Create a landing page (2optin\_Confirm), basically saying “Thanks, you’ve been added (confirmed etc.)”
2. Create a form (2optin\_Register) (or use the one you have), that will either message “Please check your e-mail” (or display a page) after user submits their info.
3. Create an e-mail (2optin\_Email) that has the link to the landing page you created in step 1, saying “click to complete”
4. Create a segment called “Pending for Optin”
5. Create a campaign (2optin\_Campaign) that uses the form as source (2optin\_register). It sends the e-mail 2optin\_Email, then adds user to the Pending segment.
6. Add a “visits-a-page” action to your optin campaign above, after the e-mail. Limit to the page 2optin\_Confirm.
7. On visit to the confirmation page, add user, and remove from the pending segment.

That should do it. Hope that works for you. You can add a “send again” campaign, or other features as well…

---

<div class="post-metadata">

### Author: ![chuckschulz](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chuckschulz](https://forum.mautic.org/u/chuckschulz)
#### Post date: [November 27, 2016, 3:48am UTC](https://forum.mautic.org/t/how-to-setup-double-opt-in-version-2-1-1/5165/4 "2016-11-27T03:48:33Z")

</div>

I’ve done everything here and it all works except one thing: When the user clicks the link and goes to the landing page, it never registers in the campaign. How is that supposed to be detected and registered?

---

<div class="post-metadata">

### Author: ![balkee](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@balkee](https://forum.mautic.org/u/balkee)
#### Post date: [November 28, 2016, 3:26am UTC](https://forum.mautic.org/t/how-to-setup-double-opt-in-version-2-1-1/5165/5 "2016-11-28T03:26:37Z")

</div>

Try testing from an incognito or private browser session, or from another device or pc.

---

<div class="post-metadata">

### Author: ![Shaz3e](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/shaz3e/32/236_2.png) [@Shaz3e](https://forum.mautic.org/u/Shaz3e)
#### Post date: [November 29, 2017, 5:17pm UTC](https://forum.mautic.org/t/how-to-setup-double-opt-in-version-2-1-1/5165/6 "2017-11-29T17:17:26Z")

</div>

@balkee Thanks for the idea.
