Adding Interest Groups Programmatically
-
I am using the Custom Form Integration to add a mailchimp subscribe action to Event Manager’s checkout page. I added a booking form field called mc4wp-subscribe through the Events Manager form editor.
Subscribing to a list is working, but I would now like to specify interest group values based on what the person just purchased. Is that something that I can do using a wordpress action? What call would I add to make Mailchimp for WordPress alter the data being sent to Mailchimp.
And is there a way to specify the interest group names and values by name, rather than ID? In the old Mailchimp integration, for example, I would specify:
‘GROUPINGS’=>array(
array(‘name’=>’Email Categories’, ‘groups’=>’Hideout Audience Updates’)before sending the call through the API.
But it looks like all the form generation in the Mailchimp for WordPress uses interest IDs and value IDs to send data to Mailchimp. If I have to do it by ID, I could, but it would be a little clunky.
The topic ‘Adding Interest Groups Programmatically’ is closed to new replies.