Support

Home Forums MailChimp Integration Map ticket name in maillchimp

Map ticket name in maillchimp

Posted: April 19, 2017 at 8:57 am


jfchatelain

April 19, 2017 at 8:57 am

Hi,

Would it be possible to map the tickets name to a mailchimp field when a client buys a ticket. Actually we can map only the questions that are asked to the user.

Thanks for you help


Tony

  • Support Staff

April 19, 2017 at 9:27 am

Hi there,

As you mentioned Event Espresso only displays the questions assigned to the event for you to select when sending details over to MailChimp, however, the call to subscribe the user to your MailChimp list has the arguments wrapped with a filter so you can change the values via code:

apply_filters('FHEE__EE_MCI_Controller__mci_submit_to_mailchimp__subscribe_args', $subscribe_args, $registration, $EVT_ID );

Are yo comfortable with PHP?

You can hook in and add additional details that EE does not give you access to on the event editor, for example:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-mailchimp/tw_eea_mailchimp_start_date.php

That snippet adds the first datetimes EVENT START date to a merge var called ‘EVENTSTART’ and should give you a base to work from.

The support post ‘Map ticket name in maillchimp’ 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.

Event Espresso