Integration with MailOptin.io
Ira avatar
Written by Ira
Updated over a week ago

MailOptin is a 3rd party app for WordPress websites that converts your website visitors into email subscribers by displaying targeted opt-in forms across your website.

Integrate MailOptin with Omnisend to sync contacts collected by MailOptin to your Omnisend audience.

MailOptin logo

Contents

Setup Process

Firstly, create an API key. To do this click on your brand name in the top right corner -> Store settings:

Click on the 'API keys' section:

Then click the 'Create API Key' button:

Enter the name of your API key, keep default settings and click 'Save':

Once API key is created, copy it and proceed to your MailOptin account > Integrations tab:

MailOptin plugin menu

Find Omnisend among other apps that MailOptin integrates with:

Then paste the API key into the corresponding field and click the 'Save Changes' button:

The Omnisend integration will be enabled:

Now you'll need to add the integration to each of your MailOptin forms. If you don't have any yet, you'll need to create one and then proceed with the following steps.

In the MailOptin Campaign editor go to the Integrations section:

Then click 'New Integration' and select Omnisend among other available integrations:

Select 'All Contacts' option in the 'Select email list' dropdown. Then enter the tags you want to be applied to the contact collected with this specific MailOptin form when they're passed to Omnisend (e.g. 'source: mailoptin' - to tell you that the contact came from MailOptin and 'mailoptin_formname' to tell you which specific MailOptin form the contact has been collected with). If you want the contacts passed by MailOptin to trigger your Welcome Email Automation in Omnisend, enable the 'Send Welcome Email' toggle. If you're planning to send a different Welcome email to contacts collected by MailOptin than to those collected by Omnisend Signup Forms, leave this toggle disabled. Later in this article we'll explain how to set up a workflow to send a separate Welcome email to MailOptin subscribers.

If you collect any additional contact properties with your MailOptin form, you can map them to one of the standard Omnisend contact properties by clicking on the 'Map Custom Fields' button:

For example, in this form we collect customers' country and birthdate. Here's how these 2 properties would be mapped to Omnisend properties:

Once you're finished with setting up the Omnisend integration settings, make sure to click the 'Save Changes' button:

That's it! All the contacts collected by your MailOptin form will be passed to Omnisend along with all the properties that you've mapped in the 'Map Custom Fields' menu. If you have multiple MailOptin forms, you'll need to set up Omnisend integration separately for each of them.

What Data is Passed

Here's a list of contact properties that you can pass from MailOptin:

  1. Mapped Automatically:

    • email address (synced with subscribed status);

    • first and last name;

  2. Can be mapped in the 'Map Custom Fields' menu:

    • country;

    • country code;

    • state;

    • city;

    • address;

    • postal or zip code;

    • gender (Acceptable values include Male, male, m, Female, female, and f);

    • birthdate.

Welcome email for MailOptin subscribers

To send Welcome Email to your MailOptin subscribers you have 2 options to choose from:

  1. To send the same Welcome email that you send to your Omnisend subscribers, you can enable the 'Send Welcome Email' toggle in the Omnisend integration settings as we've shown before.

  2. To send a separate unique Welcome email to your MailOptin subscribers proceed with the following steps ⬇️.

Firstly, make sure you apply a unique tag to your MailOptin subscribers that you do not apply to any other contacts in your Omnisend Audience:

Then create a segment based on this tag by going to your Omnisend Audience tab > Add Filter > Tag and set the value to be the same as the tag you apply to your MailOptin contacts:

Note! If you have multiple forms in your MailOptin account and want to send different emails after each of them is filled by a new contact, you'll need to apply different tags to each of the forms and create a separate segment based on each in Omnisend.

Once the segment is created, create an automation workflow based on Contact enters a segment trigger, and select your segment as trigger filter:

Then proceed with designing the workflow you want the MailOptin subscribers to go through.

If you have multiple MailOptin forms and would like to send different Welcome emails for each one, repeat the process and create a different segments/automations for each form.

Did this answer your question?