The current ui doesn't allow to segment a list when a campaign is created. I reviewed the code and can't found how to create a campaign programmatically and segment the list. Is there any way to do it? If not, probably I will submit a patch. If any has work in progress or has any suggestion about this requirement, please let me know. Thanks

Files: 
CommentFileSizeAuthor
#5 interdiff-1874392-4-5.txt1.13 KBmrded
#5 mailchimp-1874392-5.patch5.19 KBmrded
None View

Comments

levelos’s picture

Priority: Major » Normal
nirad’s picture

I was surprised that this module doesn't have this capability, especially segmenting to groups within a list. My workaround for now is to just create an RSS feed to send the nodes to MailChimp.

mrded’s picture

Version: 7.x-2.7 » 7.x-2.x-dev
Issue summary: View changes

Official API has segment_opts argument. It may be useful for creating a patch.
http://apidocs.mailchimp.com/api/2.0/campaigns/create.php

mrded’s picture

Status: Active » Needs review
FileSize
5.14 KB
None View

I've added the ability to choose static segment during campaign creation.

mrded’s picture

FileSize
5.19 KB
None View
1.13 KB

I've also added $type_opts argument what allows to control schedule of campaign.