Posted: July 21, 2017 at 9:07 am
|
Hi there, I want to send registration pending payment mails to registered attendees using Mailchimp. I’ve connected EE4 with MC using the API Key. I get the merged variables into MC (but unfortunately only if one person registers. In case of more than one person, MC does not receive any information) but no event details. How can I transmit the details into Mailchimp? Thanks |
Hi there, Are you requesting the ‘Personal Information’ question group for addition registrants on your event? What details are you sending over to MailChimp? Can you link me to an event so I can view how you have this set up, please? |
|
|
No, I want the event details like event date, time, location, event title, price, venue, attendees, address, etc. send over to Mailchimp. Just like the information displayed in the registration pending payment e-mail template. Unfortunately I can’t send you an link because the website is still not live. |
You’ve got a mixture of datetime, event, registration and attendee information listed above, not just ‘event data’. You can pull the info you need for the subscription call via code, within the MailChimp add-on is this hook:
From that you can add your own additional ‘merge_vars’ and include whichever details you prefer. You can find examples of this hook in action here: https://eventespresso.com/topic/map-ticket-name-in-maillchimp/ and https://eventespresso.com/topic/issue-with-submitting-mergefields-to-mailchimp/ Because the filter passes the EVT_ID over to the function you can pull the event using:
Then you have the EE_Event object within |
|
|
Thank you for your quick response! 🙂 However, is there a way to update the merge tags on approval or cancellation of a registration? I would like to send all event espresso system mails via mailchimp (approval, pending payment, cancellation, etc.) Is it possible? |
It might be, but its not what MailChimp is intended for, you would be better with a transactional email service. Can I ask why you want to send the messages through MailChimp? |
|
The support post ‘Get Event Details from EE4 in Mailchimp using API Key’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.