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.
Currently there is no way to send one or more tags (https://mailchimp.com/help/getting-started-tags/) along with a newsletter subscription using the webform_mailchimp module.
One way to implement this would be to include this in the configuration settings screen of the webform handler that this module provides. I will provide a patch to get this started.
Comment | File | Size | Author |
---|---|---|---|
#2 | add_configurable_tags-3406527-1.patch | 2.08 KB | Frontmobe |
Comments
Comment #2
FrontmobeThis patch adds a textfield to the webform handler that accepts one or more tags (separated by comma's). It adds the tags to the mailchimp_subscribe() function used in the handler code.
Do note that when adding tags to sign-ups this way, Mailchimp will create new tags for the audience in case the tags were not yet created on the audience before.