Different lists for different CF7 forms

If you are using a sign-up checkbox in your Contact Form 7 forms you sometimes want to set a different MailChimp list depending on which form is being used. To do this, you can include the following HTML in your CF7 forms which defines the list the plugin will subscribe the person to.

<input type="hidden" name="_mc4wp_lists[]" value="123abc456def" />

Make sure to change 123abc456def into the actual ID of the MailChimp list you want people to subscribe to. You can find the ID of your MailChimp lists by navigating to WP Admin > MailChimp for WP > MailChimp & License.

This is particularly useful if you have a list for each language and want to subscribe people to a certain list based on which form (language) was being used.

Was this article helpful? ·