Manage your Mailjet subscribers with Elementor forms.
This plugin adds a "Mailjet" action to Elementor Pro forms, allowing you to automatically subscribe users to a Mailjet contact list upon form submission. It supports mapping fields for Email, First Name, Last Name, Phone, and a custom field.
- Upload the
mj-formsfolder to the/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Add your Mailjet API credentials to your
wp-config.phpfile:
define( 'MAILJET_API', 'your_api_key' );
define( 'MAILJET_SECRET', 'your_api_secret' );- Edit a page with Elementor.
- Add or edit a Form widget.
- In the Actions After Submit section, select Mailjet Subscribe.
- A new section Mailjet will appear.
- Enter your Mailjet List ID (mandatory).
- Map your form fields to the Mailjet fields:
- Mailjet FirstName field: e.g.,
firstname - Mailjet LastName field: e.g.,
name - Mailjet Phone field: e.g.,
phone - Mailjet Custom field: your custom property name
- Mailjet FirstName field: e.g.,
Note: Ensure your form field IDs match the values mapped in the Mailjet section, or use the mapped names in your Mailjet account.
- PHP 7.4 or higher
- Elementor Pro
- Valid Mailjet Account via
wp-config.php