Support

Home Forums Event Espresso Premium EE4 MailChimp AddOn – Some registrants are not being added to MailChimp

EE4 MailChimp AddOn – Some registrants are not being added to MailChimp

Posted: December 28, 2015 at 8:13 pm


Shari

December 28, 2015 at 8:13 pm

Hello,
We have EE4 (version 4.8.27.p) set up with the MailChimp Addon (version 2.3.1.p) to add new registrations into a group within MailChimp. Most registrants (@75%) are added to MailChimp just fine. About a quarter are failing silently.

We have MailChimp automation set up to send the confirmation emails, so it is very important the registrations are transferred reliably into MailChimp.

Is there a log of transactions we can view to diagnose these failures?
What diagnostic modes/switches are available to determine what has happened or what is failing.

Have there been other reports of this addon failing intermittently?

Thanks,


Tony

  • Support Staff

December 29, 2015 at 5:18 am

Hi there,

We have MailChimp automation set up to send the confirmation emails, so it is very important the registrations are transferred reliably into MailChimp.

So your not using EE to send confirmation emails but rather MailChimp?

Is there a log of transactions we can view to diagnose these failures?
What diagnostic modes/switches are available to determine what has happened or what is failing.

You can enable full logging within Event Espresso -> General Settings -> Admin Options. This will save all function calls and various debugging information within a log file in /wp-content/uploads/espresso/logs/

(Note thos log files may be publicly available)

Have there been other reports of this addon failing intermittently?

No, we’ve not had any other reports of this.

Are you using double opt in?

Within Event Espresso -> MailChimp. What do you have the option ‘Submit to MailChimp when …’ set to?


Shari

December 30, 2015 at 3:51 am

Hi Tony,

No we are not using EE to send confirmation emails. We didn’t want to include detailed venue information on the website, but only to have in the confirmation email so it is impractical to have EE generate the confirmation email.

Thank you, we’ve turned on full logging and will watch for clues as to what is happening.

No, we disabled double opt-in.

Regards,
πŸ™‚


Tony

  • Support Staff

December 30, 2015 at 4:35 am

No we are not using EE to send confirmation emails. We didn’t want to include detailed venue information on the website, but only to have in the confirmation email so it is impractical to have EE generate the confirmation email.

Could you not just leave the venue setting blank for the event and remove the venue section from the EE emails?

I’m just wondering if there is an easier option that using MailChimp for this as I understand correctly you are currently using MailChimp differently that both EE and MailChimp themselves are expecting which may cause problems.


Shari

December 30, 2015 at 8:00 pm

Hi Tony,

The confirmation email needs to include venue information. If EE confirms but doesn’t include venue info then we still need a Mailchimp email.

Mailchimp has an automation feature that triggers when a user is added to a group. This works well so I can’t agree that we are using Mailchimp in a way that wasn’t intended.

The issue appears to be that EE is not reliably saving registrants to Mailchimp. Once the users are in Mailchimp there is not a problem.

We have turned on logging. Can you tell me what we are looking for in the logs? How does the EE Mailchimp addon record successful and failed Mailchimp adds.

Thank you.
πŸ™‚


Lorenzo Orlando Caum

  • Support Staff

December 31, 2015 at 8:45 am

Hi Shari,

I saw your note that double-optin is not enabled.

What is set for the submit to MailChimp option?

http://cl.ly/1U1P232M3k0V

By default it is set to send registrants with a status of registration approved. If your events are paid, this means that they would need to register and pay during registration checkout.

So if someone starts registration and submits their information but changes their mind and does not pay, then they won’t be added.


Lorenzo


Shari

December 31, 2015 at 5:40 pm

Hello Lorenzo,

The setting is “registration is completed with an approved status”.

The registrations that are not being saved to MailChimp are completed and the status is “approved”. They are the same status as the registrations that are being saved to MailChimp.

I wonder whether you have any advice about what to look for in the logs to determine when/why/how the transfer of data to MailChimp from EE is not working reliably. Also, what can be done to see that it does work?

Thank you.
πŸ™‚


Shari

January 5, 2016 at 4:05 pm

Hello again,

We’ve had some more registrations that have succeeded in going to MailChimp and 1 that hasn’t. I’ve studied the log file but can not find any useful information.

Could you please tell us what we are looking for in the log to diagnose the cause of the MailChimp addon failure.

Thank you,
πŸ™‚


Tony

  • Support Staff

January 7, 2016 at 5:06 am

My apologies, I did some digging into this and it seems you won’t see any difference within the EE logs with calls made to MailChimp.

So the first step to narrowing this down is to confirm within the MailChimp API that the subscribe call is actually being made for the registrations.

Log into your MailChimp account, view your account details (click your name and then ‘Account’ in the dropdow. Or navigate to /account/)

From there go to Extras -> API Keys.

At the bottom of that page you’ll find a list of API calls made to your account.

The list/subscribe call is the one you are looking for – http://take.ms/bkEze

Do you have failed subscribe calls within that list?


Shari

January 7, 2016 at 12:24 pm

Hello Tony,
Thank you for responding.

MailChimp reports zero failed calls in the last 5 days. Unfortunately, the “All-time calls by day” option returns “Data not available”.

We will keep watching this MailChimp log.

However, EE ought to know whether an api call it makes has returned a success code. Will the MailChimp addon be updated to log the outcome of (unsuccessful) api calls made to MailChimp?

Thank you,
πŸ™‚


Tony

  • Support Staff

January 8, 2016 at 5:03 am

I’ve created a ticket for our developers to investigate this, we will update this thread with any news from the ticket.


Shari

January 9, 2016 at 9:10 pm

Thank you Tony,

We’ve just had another registration that didn’t make it to MailChimp but MailChimp is showing zero failed api calls.

Look forward to what your developer finds out.

πŸ™‚


Shari

January 12, 2016 at 5:05 pm

Hello Tony,

The problem is ongoing and annoying.
Is there any news or progress. What have you heard from the developers? Are they going to provide a way to identify what api requests were made to MailChimp and the outcome of all such requests?

Thanks,
πŸ™‚


Tony

  • Support Staff

January 13, 2016 at 12:32 pm

Hi Shari,

If there’s no failed calls shown within the MailChimp API then its unlikely unlikely you’ll see any within the log.

The MailChimp Add-on will be updated to include the response from MailChimp when the List/Subscribe call fails, that’s the only call to MailChimp that would need to be logged currently.

You’ll then see something like this:


-------------------------------------------------------------------------
[2016-01-13 13:57:30] EE_MCI_Controller.class.php -> mci_submit_to_mailchimp()
	[MailChimp->call("lists/subscribe")] error: 214
-------------------------------------------------------------------------
[2016-01-13 13:57:30] EE_MCI_Controller.class.php -> mci_submit_to_mailchimp()
	[MailChimp->call("lists/subscribe")] example@email.com is already subscribed to the list.
-------------------------------------------------------------------------

However MailChimp does not respond with any useful info when a subscription call is successful, it returns:


"email": "example email",
"euid": "example euid",
"leid": "example leid"

Shown here: https://apidocs.mailchimp.com/api/2.0/lists/subscribe.php

There is little point in logging that information as it server no purpose within EE so we are currently only logging the response if it includes an error.

The ticket for adding additional logging is currently under review, it will then be tested and released.

The support post ‘EE4 MailChimp AddOn – Some registrants are not being added to MailChimp’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso