Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#5 | interdiff-1874392-4-5.txt | 1.13 KB | mrded |
#5 | mailchimp-1874392-5.patch | 5.19 KB | mrded |
Comments
Comment #1
levelos CreditAttribution: levelos commentedComment #2
nirad CreditAttribution: nirad commentedI 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.
Comment #3
mrded CreditAttribution: mrded commentedOfficial API has segment_opts argument. It may be useful for creating a patch.
http://apidocs.mailchimp.com/api/2.0/campaigns/create.php
Comment #4
mrded CreditAttribution: mrded commentedI've added the ability to choose static segment during campaign creation.
Comment #5
mrded CreditAttribution: mrded commentedI've also added $type_opts argument what allows to control schedule of campaign.
Comment #6
amytswan CreditAttribution: amytswan at ThinkShout commented“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!”