Advanced Form Integration plugin allows you to integrate Any Sender Platform to MailerLite. When a user fills a form on your website, the plugin will send the data to your MailerLite account and create a contact in the preferred group. You can also add custom fields.
Create a new contact with all basic (First Name, Last Name, Email).
Additionally supports merged custom fields. It also allows adding the contact to preferred group. Pro
Obtaining MailerLite API Key
Before start, you are required to save the API Key in plugin settings.
Go to the WordPress admin area > AFI > Settings menu and activate MailerLite.
Log in to your MailerLite account.
Go to Integrations>Developer API
Copy API Key.
Now go to AFI > Settings >MailerLite and paste the key.
Click Save Changes.
Create New Integration
Once API keys are saved you can start creating new integration. Click on Add New under AFI menu, New Integration page will appear.
A default title will be auto-generated with an auto incremental number. You can rename it to something related to the task. It will help you to quickly recognize the correct one when there is multiple integrations setup.
Select Correct Sender Form in Form Provider dropdown. Desired Form plugin must be installed and activated otherwise you won’t see it listed. After selecting Correct Form, all forms built under that Forms will be fetched and auto-populated in the Form/Task Name dropdown. Select the form that you want to integrate.
Select MailerLite in Platform dropdown. In Pro version you’ll get the option MailerLite [PRO]. Select that.
Map Fields section will appear where you’ll be able to determine which fields to send.Map Email, First Name, Last Name etc. fields with their similar field in sender platform. Finally, click the Save Integration button.
MailerLite – Map fields
After the integration is made, when users fill up the form and submit it, the plugin initiates the process of sending data to the configured platform. It also saves a log that includes what data it tried to send, and what it got in response from that platform. So if you find an integration is not working, your first task is to check the logs. Go to AFI > Log menu and check the recent logs.