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.

amyvs’s picture

Status: Needs review » Closed (won't fix)

“And now our watch [for support of the 7.x-2.x version of the MailChimp module] has ended…” With the approaching deprecation of MailChimp’s API version 2.0, I’m sad to say we too must turn the page. This branch will become unsupported in early October and officially deprecated by the end of this year (2016).

Fret not! The 7.x-4.x and 8.x versions come highly recommended. Both are using Mailchimp’s new API 3.0 and are being actively maintained. If you find this issue still exists on either the 7.x-4.x or 8.x branches, let us know by opening a new ticket. “What is dead may never die, but rises again, harder and stronger!”