Title: Not adding to Groups
Last modified: December 11, 2016

---

# Not adding to Groups

 *  Resolved [delawaregrad](https://wordpress.org/support/users/delawaregrad/)
 * (@delawaregrad)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/not-adding-to-groups/)
 * I’m using CF7 and your plugin to add to MailChimp. I can subscribe to the main
   list, but it’s not adding to the group. I have the 8 groups, the first one is:
 * <label><input name=”INTERESTS[db95e7cee0][]” type=”checkbox” value=”c6411595cf”
   checked> <span>Marching Band</span></label> – – I am pulling out the INTERESTS[#]
   and value from the MailChimp WP panel.
 * Before the submit button, I have:
    <input type=”hidden” name=”mc4wp-subscribe”
   value=”1″ /> [submit “Join the boosters”] I have also tried ‘mc4wp-do-subscribe’
   which I am using on another website.
 * What am I missing to get the name to go directly into the group? I have spent
   hours on this, so any help is appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/not-adding-to-groups/#post-8546195)
 * Hello [@delawaregrad](https://wordpress.org/support/users/delawaregrad/),
 * Can you please try adding “mc4wp-” before the field name, for e.g.
 * `<input name="MC4WP-INTERESTS[db95e7cee0][]" type="checkbox" value="c6411595cf"
   checked>`
 * Let us know if this resolves the issue.
 *  Thread Starter [delawaregrad](https://wordpress.org/support/users/delawaregrad/)
 * (@delawaregrad)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/not-adding-to-groups/#post-8547518)
 * Adding the mc4wp does work, thank you… but since I am using CF7, the confirmation
   information email displays numbers, not the group name. I had tried using [mc4wp-
   INTERESTS]. Is there something else I can add to the CF7 email that would list
   the group name selected?
 * When I use
    [checkbox mc4wp-MUSICGROUP “Marching Band” “Orchestra” …] The person’s
   name is added to the Mail Chimp list, but not into any groups selected. Is there
   a different syntax I should be using?
 * thank you for the response.
 *  Plugin Contributor [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/not-adding-to-groups/#post-8550140)
 * Hello [@delawaregrad](https://wordpress.org/support/users/delawaregrad/),
 * Can you please share more details of what you mean by “confirmation information
   email displays numbers”? Can you please share any screenshots?
 *  Thread Starter [delawaregrad](https://wordpress.org/support/users/delawaregrad/)
 * (@delawaregrad)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/not-adding-to-groups/#post-8551499)
 * I can’t get the code to work using CF7 syntax, and I think this happened a couple
   of years ago and I ended up using code similar to what you included “`<input 
   name'mc4wp.....>`”
 * This code works great, except in the Contact Form email that is sent after the
   visitor completes the form, I don’t know what syntax to use so that the groups
   checked are printed on the email. As in: “You have signed up to receive emails
   from _Marching Band_.” Generally I would use the name of the field, like [mc4wp-
   LNAME], but this is what I’m have:
 * The form has checkboxes like this:
    `<input name="MC4WP-INTERESTS[db95e7cee0][]"
   type="checkbox" value="c6411595cf" checked>`
 * I tried, in the confirmation email, variations of this:
    `MC4WP-INTERESTS[db95e7cee0][]`
 * Which just prints that line: `MC4WP-INTERESTS[db95e7cee0][]` and not Marching
   Band.
 * **My question is**:
    1) Is there a way to use the checkbox code and also have
   a CF7 email confirmation list what was signed up for? 2) If not, is it possible
   for groups to be signed up for using CF7 with this plugin? The MC website, under
   their forms, shows the checkbox as: `name="group[1][1]" id="mce-group[1]-1-1"`
   but I don’t know how to translate that into the contact form.
 * Thanks!
 *  [skoochgroup](https://wordpress.org/support/users/skoochgroup/)
 * (@skoochgroup)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/not-adding-to-groups/#post-8779900)
 * Same issue as I am having … would love to know an answer.
 * I too would like to be able to confirm to my subscribers in the same way using
   the GROUPS, but this doesn’t seem possible.
 *  [skoochgroup](https://wordpress.org/support/users/skoochgroup/)
 * (@skoochgroup)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/not-adding-to-groups/#post-8788338)
 * Hi [@delawaregrad](https://wordpress.org/support/users/delawaregrad/),
 * I have had the same challenge, and with the awesome help of Danny from MC4WP,
   he has come up with a solution that works.
 * >>>
    This is possible but for this to work, the plugin needs your interest category
   ID. It can then use the textual group name + the category to determine the actual
   interest group ID before sending the value off to MailChimp. You can find this
   interest category ID by going to the form editor in our plugin and then add the
   interest grouping to your form. You should see HTML that looks a bit like this.
 * `<input name="INTERESTS[c503c0f57d][]" type="checkbox" value="0f8a0ed3bd"> <span
   >Group 1</span>`
 * In this case, the part between the brackets is your interest category ID, “c503c0f57d”.
   Your CF7 mark-up should then read like this (in HTML, not sure about the CF7 
   code but I’m sure you do):
 * `<input name="mc4wp-INTERESTS[interest-category-id][]" type="checkbox" value="
   Interest Group Name"> <span>My checkbox text</span>`
 * **(the “My checkbox text” can be the same value as “Interest Group Name” if you
   like – which was what I needed.)
 * ** In your MAIL tab on CF7, you then insert [mc4wp-INTERESTS] wherever you want
   this information to display.
 * Hope that helps. Sorry for this being somewhat hard, we’re going to show the 
   interest category ID in the table overview on the MailChimp for WP > MailChimp
   page to make this easier next time.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Not adding to Groups’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp-for-wp/assets/icon-256x256.png?rev=1224577)
 * [MC4WP: Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-wp/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [skoochgroup](https://wordpress.org/support/users/skoochgroup/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/not-adding-to-groups/#post-8788338)
 * Status: resolved