Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form assigns subscribers to random Mailchimp audiences instead of the selected one #790

Open
tourgalia opened this issue Dec 11, 2024 · 3 comments

Comments

@tourgalia
Copy link

My website URL: https://casadoestanco.com

The issue
When users subscribe through the "Casa do Estanco" newsletter form on my website, their email is randomly added to different audiences in Mailchimp instead of always being assigned to the correct audience ("Casa do Estanco"). Each time I test the form, the email gets added to a different audience, such as "English Week AMPAS," "Baleares FP," or others.

How can we reproduce this issue?

Open the newsletter form on https://casadoestanco.com. The form is in the footer.
Enter an email address and subscribe.
Check the Mailchimp audiences; the email is assigned to a random audience instead of "Casa do Estanco."

Technical info

  • WordPress version: 6.7.1
  • Mailchimp for WordPress version: 4.9.19
  • Relevant plugins in case of a bug: MC4WP: Mailchimp for WordPress
@tourgalia
Copy link
Author

tourgalia commented Dec 11, 2024

Captura de pantalla 2024-12-11 143148

Captura de pantalla 2024-12-11 143259
Captura de pantalla 2024-12-11 143320

@tourgalia
Copy link
Author

The issue
I initially experienced an issue where subscribers from a form were being assigned to random audiences in Mailchimp instead of the correct one ("Casa do Estanco").

After testing, I discovered that the plugin appears to require selecting all audiences that you DO NOT want the form to subscribe to in the form settings. Once I selected the audiences that I didn't want, the form started assigning subscribers correctly to the intended audience.

This behavior is counterintuitive and differs from how one would expect the settings to work, as it makes more sense to only select the audiences you want the form to assign subscribers to.

How can we reproduce this issue?
Open the "Casa do Estanco" newsletter form in WordPress.
In the plugin settings, select only the "Casa do Estanco" audience.
Test the form by subscribing an email. The email gets assigned to random audiences in Mailchimp.
Now, go back to the plugin settings and select all audiences except the ones you want ("Casa do Estanco").
Test the form again. The email gets correctly assigned to "Casa do Estanco."
Expected behavior
Subscribers should only be assigned to the selected audience(s) in the form settings.

Captura de pantalla 2024-12-11 151039

@dannyvankooten
Copy link
Member

Hello @tourgalia,

Sorry for replying only now, but this is really weird behavior that really should not be happening. It is the first time I've ever heard of something like this and I can't spot anything wrong with the code or replicate the issue in my tests.

Are you sure this is on a WordPress installation with no filter hooks in place on the mc4wp_lists or mc4wp_form_lists filter hooks?

Does the issue persist to this day?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants