Subscriber tags not added to MailChimp via MC4WP Integration
-
I’m using the MC4WP integration with the HTML Forms plugin to send subscriber details to MailChimp only in the instance where a user has checked the subscribe checkbox. Upon successful submission, users are redirected to a download page, additionally, subscriber tags should be sent to MailChimp. Everything is working except the subscriber tags.
Testing signups with unique usernames and emails, the user info is pushed to MailChimp but there are no subscriber tags. I’m wondering what I am missing here:
add_filter('mc4wp_integration_custom_subscriber_data', function (MC4WP_MailChimp_Subscriber $subscriber, $form_id) { if ($form_id == 250328) { $subscriber->tags[] = 'Tag1'; } else if ($form_id == 250329) { $subscriber->tags[] = 'Tag2'; } return $subscriber; }, 10, 2);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Subscriber tags not added to MailChimp via MC4WP Integration’ is closed to new replies.