Skip to content
Advertisement

How can I add that subscribe to different segments?

I want to add my subscriber different segment by signup source. I create two segment in Mailchimp. How can I add that subscribe to different segments? I using API v2.

JavaScript

Advertisement

Answer

From the API Docs: you’ll need to add a groupings item to your merge_vars array. That should be an array of associative arrays with id and a groups array with the names of the groups you want to add the user to.

In v3, this is a good bit easier. There’s an interests object that just takes IDs and Booleans to determine if a user is added to or removed from a group.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement