Article Last Updated: February 8, 2017
To use the Contact Form 7 integration, simply toggle on the Contact Form 7 setting on the integration settings page.
When checked, an additional set of options will be displayed. You can go through and set your Associated List, Checkbox Label, Precheck Checkbox and Interest Groups (if you have them enabled for the chosen list).
Once you save the settings you’ll now want to add the opt-in checkbox to your contact forms created with Contact Form 7. There are two steps to ensure that Contact Form 7 form submissions get added to MailChimp properly.
First, your email field must be named “your-email” — this is the field that decides what email address will be added to your mailing list.
If the name of the email field is anything other than “your-email” the Contact Form 7 integration may not work as intended.
Finally, you’ll want to add the opt-in checkbox to the contact form. You can easily do this by adding [yikes_mailchimp_checkbox] to your contact forms. Using the shortcode will generate the necessary checkbox on the front end of your site to allow users to subscribe to your mailing lists after each successful submission of the contact form.
Once the above settings are set, you can begin using your contact forms and capturing e-mail addresses.
The final rendered form should look similar to the following (depending on your form fields):
Please be aware that we only supply the email field to MailChimp. If you’d like to add other fields, we provide a filter: `yikes-mailchimp-contact-form-7` (click here for an article explaining how to use this filter).