Is there an elegant way (without hacking the plugin's code) to integrate a Contact Form 7 contact form to Mailchimp, so I can have a checkbox that when selected would register the email to a Mailchimp list?

Thank you


3 Answers 3


You can use my plugin called MailChimp for WordPress to do this.

When installed, you can select one or multiple lists in the plugin settings and use the following shortcode inside your Contact Form 7 templates.

[mc4wp_checkbox "Your label text"]

It will render a checkbox and when checked, subscribe the given email address to the MailChimp lists you selected.

PS. I realize this question is over 2 years old. Just answering in case anyone else stumbles across it. Some answers had been given but I am pretty sure this is by far the easiest way to do it.

  • This is pretty sweet, nice work! Commented May 22, 2014 at 2:56
  • 1
    Do you happen to know of a way to do this without the checkbox? I have a contact 7 contact form which is a "signup to the mailing list form", so I don't really want a check box to confirm, just want the user to be signed up when they click signup..? Commented Oct 9, 2014 at 15:46

This is what finally worked for me. The code needs to be updated tho. I don't have time now to get back to the refactored code but if someone requests it I will do it in due time.


This might work for you...


You'll still possibly have to modify the contact form's files but only to do this:

"You can manually place the checkbox by calling inside the form tags of your comment form."

  • It removed the code, this is the function you call:<?php if(function_exists('nsu_checkbox')) nsu_checkbox(); ?>
    – johnny_n
    Commented Nov 20, 2011 at 1:21
  • A little late but as I am the author of the plugin you mention, I just wanted to give a quick heads up that a better way would be to use my plugin that is developed specifically for MailChimp: MailChimp for WordPress. It integrates with Contact Form 7 automatically, you can use [mc4wp_checkbox "Your label text"] inside your CF7 templates.
    – dvk
    Commented Nov 15, 2013 at 13:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.