I am using the MailChimp WordPress plugin so that user’s can sign up to a MailChimp mailing list. I want the signups to go into a specific group in my list. The plugin doesn’t appear to work correctly with mailing list groups.
Can I just dive into the plugin code and add a hidden field to force the users into a certain list?
I tried digging around in there and it looks like the group is determined from an input called “interests”. I have tried sending the form with a hidden field with this name having the value of the name of the group I want to use, like this:
<input type="hidden" name="interests" value="Group Name" />
But this does not work. Digging around on Google doesn’t seem to offer much help either, as there only appears to be other confused users or not much interest in this particular aspect of the plugin.
How can I do this?
IIRC I had this same problem and I just created my own plugin by creating the signup form on the mailchimp website:
Create Form > Signup Form > create embed code for small form
Then create the form elements you need and copy that embed code into your plugin .php file. My test of this created the following html:
2 paid recommendations here:
There is a nice Mailchimp plugin on wpmu.com/ but it is part of their package so you have to purchase a membership to get it.
Gravity forms has a nice plugin for their developer package that allows you to link any form with a specific list. If you work on more than a few WP sites, i recommend using Gravity forms anyway.