Login

Omnichannel

Security and Compliance

Double Opt-In

Double Opt-In (DOI) is a subscription confirmation. It is an official requirement by many current customer privacy policies (GDPR). After filling in the subscription form, the user receives a confirmation email. By clicking the link in it, they confirm their email address and agree to receive promotional content from you.

You have three options for collecting contacts via the subscription form:

  1. Create your own widget in the Reteno constructor.
  2. Use integration with Wix forms.
  3. Integrate a third-party form via the API.

For the first two options, setting up double opt-in is the same (follow the links to see instructions).

Let's look at how to set up double opt-in if you integrate a third-party form via the API.

Setting Up a Subscription Form

You can integrate subscription form via API method Subscribe contact. When a contact fills out the form, the following events are sent to your account:

  • subscribeFromApi (when a contact fills out a form for the first time);
  • subscribeUpdateFromApi (when filling again).

After setting up data transferring, create an email and two workflows. The first workflow sends subscription confirmation email, the second makes a contact active.

Setting Up Confirmation Email

Create an email that the subscriber will receive after filling out the form.

  1. Go to Messages → Messages → Email. Click the New Email button.

Creating a new email

  1. Choose the Welcome email from Basic templates.

Template selection

Email confirmation block with default text and button looks like this:

Email with default text and button

  1. Design the email in your brand style and enter the required text.
  2. Link the event to the button or to the link in the email to launch the required workflow.

Select a block with a button in the email. In the left panel, in the corresponding field, select the pre-prepared event Confirmed subscription:

Select the pre-prepared event

In the left settings panel, you can specify a link to the subscription confirmation page.

Adding link

Setting Up the Workflows

To send the confirmation email and change the contact status to active, you need to create two workflows.

Workflow for Sending Confirmation Email

Filling out the form can launch 2 types of events.

  1. subscribeFromApi — creating a new contact.
  2. subscribeUpdateFromApi — Contact update (re-filling the form).

Event types

To create a workflow:

  1. Go to Automation → Workflows and click New workflow.

Creating a workflow

  1. Enter the workflow name and add the StartTask and End blocks.
  2. In the Task block parameters, set the following parameters:
  • Task name – Send obligatory (transactional) email.
  • Message – Select the required email: Confirmation email.

Task block parameters

  1. Click Save and exit.

Workflow to Confirm a Contact

This workflow launches after clicking the button in the confirmation email and makes a contact available for further campaigns.

To create the workflow:

  1. Go to Automation → Workflows and click New workflow.
  2. Enter the workflow name and add the StartTask and End blocks.
  3. In the Task block parameters, set the Confirm contact task name.

Confirm contact task

  1. Click Save and exit.

Welcome Emails Chain After Confirm Contact Block

To send a welcome series, you need to supplement your Confirm contact workflow.

Welcome Email

Launching Workflow Conditions

  1. Go to Start/stop configuration of created workflows.

Trigger configuration

  1. Select the following events:
  • subscribeFromApi: Filled form workflow
  • Confirm contact: Confirm contact workflow.

Start configuration panel

Learn more about creating events >

  1. Click Apply.
  2. Activate workflows.

Activate workflows

If needed, set up processing unique events(1 hour by default). You can opt that the contacts who fill in the subscription form several times a day still receive only one confirmation email. In case of re-subscribe, another event - subscribeUpdateFromApi - will be sent. The confirmation email won't be sent, and contact data will be updated.

Important

The segment for contacts who have confirmed subscription is created in the system by default, but if you transfer data via the API, you can specify the name of the segment in the request.

If the subscribe request specifies a list of segments to which the contact should be added after subscribing, and then the workflow checks for membership in one of these segments, use a timer of at least 4 minutes between these actions. This will ensure the correct workflow operation and consistent execution of all requests in the system.

Follow-Up Welcome Series

You can add a welcome email or a series of welcome emails to your contact confirmation workflow. They will be sent after the contact confirms the subscription and gets active in the system. You can vary the number of welcome emails depending on your needs.

Welcome Series

Note

A contact becomes available (active) for your campaigns only after they confirm their subscription in the confirmation email. You cannot send bulk campaigns to unconfirmed contacts.

After all the settings, run a test: fill in the form on the website and check if your email address gets to the segment Subscribers in the system. This segment is the default, but you can specify the segment name in the request if you send contact data via API.

If the subscribe request specifies a list of segments to which the contact should be added after subscribing, and then the workflow checks for membership in one of these segments, use a timer of at least 4 minutes between these actions. This will ensure the correct workflow operation and consistent execution of all requests in the system.

Notes

  1. If you have several forms assigned to different confirmation emails, you need to create separate workflows and events for each form.

Different workflows

Important

For the event category Click, Key is a required field. The text is optional, but we recommend using Latin without numbers. For example: click, subscription, confirmation, etc.

  1. When creating a subscription form, add a checkbox with your terms of use. According to the GDPR rules, the user must check the box to confirm they agree to your terms of use and privacy policies and want to receive bulk campaigns from you.
Any Questions?
We’re always happy to help!
Discount services
Schedule a Call
Fill in the form, and our specialists will call you back as soon as possible.
Discount services
Chat Support
We’re waiting for your questions!
Discount services
Email
Contact the support team