Purpose
This article describes the steps required to configure both the Mailchimp (MC) and WP to allow CF7 form data to be transferred to MC Audience List.
The plugin to be used is called “Contact Form 7 Extension for Mailchimp” by Renzo Johnson. After installation, a new tab called “ChimpMatic Lite” (CML) is added to CF7 editor.
By default, the [your-email] and [your-name] form data are sent to the selected Audience by the plugin. If other form data fields are required, follow the steps below.
Steps
- MailChimp side:
- Log in to MC and go to the targeted Audience List (AL). Create one if not already setup.
- Create new fields corresponding to the new form data in the AL.
- E.g. Field Name = Location with its Merge tag = *|LOCATION|*
- Create a API Key and copy it to clipboard.
- WordPress CF7 / CML side:
- Establish the MC connection using the MC API Key.
- After connection is established, select the Audience list in MC to be used.
- At the editor page bottom, click the “Show advanced settings” button.
- At Custom Fields, tick the option “Send more fields to Mailchimp.com”. This will bring up a 2-column input table which allows the mapping of the CF7 data and AL fields.
- In the first column, enter the CF7 data tag.
- E.g. [loc-dropdown]
- In the second column, enter the AL field name or Merge tag.
- LOCATION
