The Premium Contact Form 7 & Mailchimp Integration plugin gives you the flexibility to easily grow your Mailchimp lists via the simple act of someone submitting your Contact Form 7 form.
If you have a site which has one or more Contact Form 7 forms then you can harness the power of the integration of this plugin with the CF7 plugin to build your Mailchimp lists and increase the effectiveness of your web business or hobby.
The feature highlights of this plugin are:
- Ability to add subscribers easily to any Mailchimp list.
- Ability to add subscribers to one or multiple groups. (A group is also known as a list’s “interest”. Interests are grouped under “interest-categories”).
- Create new lists directly from WordPress without having to log in to your Mailchimp account
- View your current lists and number of subscribers and unsubscribers
- View your list’s “merge tags” for easy reference to help configure your CF7 form
- Create new merge tags for a list directly from your WordPress admin page.
- View your list’s groups and number of subscribers/unsubscribers per group.
- Create a new group directly from WordPress without having to log in to your Mailchimp account
- You will need to have the Contact Form 7 plugin installed and activated
- It is assumed that you already have a Mailchimp account with at least one list configured
Step 1: Install and activate this plugin by uploading the zip file from your plugins menu.
Step 2: Configure the Contact Form 7 AutoResponder Addon
After installing and activating the plugin go to the settings page as shown below:
In the settings page, enable the checkbox and enter your Mailchimp account API Key.
You can obtain this key by logging into your Mailchimp account and going to:
Account >> Extras >> API Keys
After you copy your API key paste it into the settings field as shown below.
After you have configured the above settings click the “Save Settings” button.
Step 3: Get your Mailchimp List fields or Merge tags
In order for the CF7 form to be able to submit more information than just an email address to your Mailchimp list you will need to first do some simple setup steps on your form so that it can submit the relevant information to your list.
Normally you would have to log into your Mailchimp account to get the merge tags for your list but the premium plugin will get this information for you directly from Mailchimp.
To view your list’s merge tags simply go the Mailchimp Lists tag and hover over your chosen list name and click the “view merge fields” link as shown in the figure below:
You should see something similar to the following whereby your merge tags information will be displayed in a modal window:
Step 4: Configure the Form fields of your CF7 form
Open an existing Contact Form 7 form or create a new one and make sure that it contains fields with names which match the tag names in the previous step. See the following example:
Step 5: Add configuration to the “Additional Settings” tab of the CF7 form to allow Mailchimp list subscription
In this example we will be configuring the CF7 form to add subscribers to a specific Mailchimp list AND also to an interest/group within that list.
After constructing your forms fields in the previous step, click on the “Additional Settings” tab of your form and add the configuration which will activate this form so that it can subscribe a visitor to your Mailchimp list.
See the example shown below:
See below for an explanation of each of the lines in figure above:
mc_list_name: Test List 2
This line tells the plugin that you wish to subscribe whoever submits that form to the list which has the name “Test List 2”. (note: your list name will be different so make sure you enter the correct name which is case-sensitive). This line is the minimum config required in order to be able to subscribe someone to your list via the CF7 form.
This configuration item will tell Mailchimp to NOT send an “opt-in” email to your subscribers.
mc_merge_field: FNAME mc_merge_field: LNAME mc_merge_field: EMAIL mc_merge_field: ES_PROD_ID
The above lines simply tell this plugin that you wish to submit the information entered into these fields from your form, to your Mailchimp list. You can add or delete as many “mc_merge_field” items as you wish depending on what sort of information you wish to collect in your list.
Just remember that these tag names must match the names in your form (see step 4) and also the List field names in your Mailchimp account for your list (see step 3).
mc_group_id: 3f15ae0d4e mc_group_id: de50a456f1
The above lines specify the groups that you wish to add your subscribers to. Notice that we are specifying 2 groups in this example which means that our subscribers will be added to both of these groups. You can specify one or multiple groups as long as they are within the same list.
To get the group ID values simply do go to the following menu item and tab:
CF7 MC Premium >> Interest/Groups
Then choose your preferred list and view the group information – see figure below:
The above steps will fetch the following information from Mailchimp:
The above instructions demonstrate the basic way to use this plugin to help grow your Mailchimp lists via the Contact Form 7 plugin forms.