How to do double opt-in?

You can do double opt-in almost alone, don’t need IT for this, except for sending the verification Message.

If you want to do double opt-in, you might want to consider using “OPERATIONAL LINKS”.

Operational links are special links that you create using Ofsys interface.

When people click on them, you can do several actions:

- Send them to a destination URL

- AND at the same time, update a field in Ofsys

- AND send the real Welcome Message


So imagine you want to do double opt-in using Operational links,

First, you create you create another field in Ofsys called “Verified” and this field is an integer with value “O” by default and value “1” when the Contact has clicked on the OPERATIONAL LINK you created.

To create an OPERATIONAL LINK, go to Configuration and the “OPERATIONAL LINK”.

Set your link with landing page URL "Thank you for having verified your Email address" and set “Update field” like “Verified” and put value “1” in it.

You might also want to trigger a "real Welcome" Message, you can also set it up there.


 Then, go back to your Message and insert your OPERATIONAL LINK by using  option “Links” “Operational links", then chose your Operational link you just created and then write the clickable text that will appear in the link (example, click this link to verify tour Email).

It should work like that : <a href="[[=Message.OpLink(1460);]]">click here to verify your Email</a>


The result will be that when a person receives this Message after registration, he will click on the link and will be sent to the URL you specified in the Operational link parameters: ex:

And at the same time field “Verified” will be changed to “1”.

And at the same time, the real welcome message will be sent to him (it's optional since you already showed him a nice landing page saying "thank you, your registered!". 

Then in your Contact selection (Groups), be careful to select people with “Verified” = 1 as a “AND” condition in your group.

That's all. 

The only missing element is that your IT should be able to send the first verification Email, using API Method SendSingle(). Examples are available on request.




Please sign in to leave a comment.