Add configurable tags to the webform handler configuration screen.

Created on 6 December 2023, over 1 year ago

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.

✨ Feature request
Status

Active

Version

5.10

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands frontmobe Amsterdam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @frontmobe
  • πŸ‡³πŸ‡±Netherlands frontmobe Amsterdam

    This 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.

  • Status changed to RTBC 9 days ago
  • πŸ‡ΊπŸ‡ΈUnited States generalredneck Texas, USA πŸ‡ΊπŸ‡Έ

    This is a super simple quick fix that does what we need it to do.

    I see there is a related issue that's even older than this one.

    With the way this is coded, any actual problems with the tags being attached would need to be handled in the Mailchimp module β†’ upstream. I personally think this one is good to go, and is workin in my production instance at https://mcgreenacres.com/form/contact.

  • πŸ‡³πŸ‡±Netherlands frontmobe Amsterdam

    I re-rolled the patch to make it work with version 8.x-5.11 of webform_mailchimp.

Production build 0.71.5 2024