Home › Forums › Quform WordPress › Add emails to MailChimp List Groups
- This topic has 12 replies, 4 voices, and was last updated 11 years, 5 months ago by atomedia.
- AuthorPosts
- April 9, 2013 at 8:22 pm #3766metzler13Participant
I have no problem adding form submission data to my MailChimp lists, however is there a way to specifically add to the group within a list? I have registration forms for volunteers, one for campers (children) and another that is for general info from the website signup. My email list is one large list with groups within the list – each group is volunteers, children, general. Is it possible to use the Quform submission to add the name and email to the specific group within the list?
April 10, 2013 at 3:37 pm #3770AllanSupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
April 15, 2013 at 9:27 am #3831AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
June 12, 2013 at 10:21 am #4804atomediaParticipantHi Ally,
Could you please explain – what do you mean saying “name of the group” and “list of groups”? Actual names (descriptive), names from the source code or IDs? Where to find these parameters?
What if I want to let the subscribers choose the groups by themselves using multiple choice field?
Best regards,
MarekJune 13, 2013 at 8:36 am #4815AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Attachments:
You must be logged in to view attached files.June 13, 2013 at 10:51 am #4821atomediaParticipantNow it’s clear for me, thank you! Everything works except choosing the groups. The subscriber is added to Mailchimp, but with no groups selected. Maybe I should change other settings?
$emailType = 'html';
$doubleOptin = false;
$updateExisting = false;
$replaceInterests = false;
$sendWelcome = false;
Best
MarekJune 14, 2013 at 11:45 am #4831AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
June 14, 2013 at 12:07 pm #4836atomediaParticipant$mergeVars = array(
'MERGE1' => $form->getValue('iphorm_1_1'),
'MERGE2' => $form->getValue('iphorm_1_2'),
'GROUPINGS' => array(
array('name' => 'Jaka firme reprezentujesz?', 'groups' => $form->getValue('iphorm_1_4')),
array('name' => 'Jaki asortyment Cie interesuje?', 'groups' => $form->getValue('iphorm_1_6')),
array('name' => 'Ktory biuletyn chcesz dostawac?', 'groups' => 'Darmowe raporty i e-booki (nieregularnie)')
)
);The 3rd grouping (Ktory biuletyn chcesz dostawac) works fine, but the previous two – don’t.
Both iphorm_1_4 and iphorm_1_6 are Multiple Choice fields.
I hope you’ll be able help me 🙂Best regards
MarekJune 15, 2013 at 9:01 am #4852AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
June 15, 2013 at 11:06 am #4863atomediaParticipantI’ve double checked and the names of the groups are exactly the same as in Mailchimp. I’ve replaced $form->getValue(‘iphorm_1_4′) with one of the options (‘Sklep stacjonarny’) and then it works.
Best
MarekJune 15, 2013 at 11:18 am #4864atomediaParticipantSorry Ally, my mistake! The fields are not Multiple Choice, they are both Checkboxes!
I have changed one of them to Multiple Choice and then everything works.
Unfortunately, I need Checkboxes, so the problem still exists.
Regards
MarekJune 18, 2013 at 8:29 am #4886AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
June 18, 2013 at 8:37 pm #4911atomediaParticipantIt works, you’re great! Thanks a lot! 🙂
- AuthorPosts
- You must be logged in to reply to this topic.