Custom integration does not work
-
I am using Divi and the default form module it includes.
I have added a ‘hidden field’ by adding display:none in the custom css area. The text field is named ‘mc4wp-subscribe’. The form emails to me but nothing gets sent to Mailchimp.
I have enabled custom under the integration section. I’m wondering if it’s because it isn’t a true hidden field. Any help would be appreciated.
-
This topic was modified 3 years, 3 months ago by
sociallyxp.
-
This topic was modified 3 years, 3 months ago by
-
Hey @sociallyxp,
Thanks for reaching out to us.We do not have any integration with DIVI theme’s form. First, please go to the “MC4WP > Others” menu and enable data logging. Then check if you see any messages in the logs after testing the form and share with us.
I checked the logs. It appears something was working at one point as it was rejecting my tests because the email address appeared to be spam.
I have started over again and it will not submit to the list and there is no log no matter what I do.
Under MC4WP > Other, can you make sure it’s set on “log everything” and then test again and let us know if it still doesn’t show any entry in the log at all?
Also, I recommend to use a hidden field, instead of using CSS for that:<input type="hidden" name="mc4wp-subscribe" value="1" />See https://www.mc4wp.com/kb/subscribe-mailchimp-custom-html-form/
Finally, please share a link to where we can test this form.
ThanksIt is set to log everything. http://sixfigurecrowd.com When I first opened the log there were errors about not accepting an address because it looked spammy (that was my fault) so something was working at some point but it’s not working now.
I have the hidden mc4wp-subscribe field although I select a true hidden field it’s css that hides it (keep in mind it was working at some point). The registration form integration is enabled, list selected. Fields are named ‘name’ and ’email’. I submit the form, I get an email notification through the native divi form integration but nothing is being sent to the mailchimp list.
Hey @sociallyxp,
I’m not sure how the form in DIVI theme is set to process the form. If they do not use WordPress default method, then our plugin cannot connect with it.
Can you please test the form created using our plugin to see if the data is sent to MailChimp?Divi builder uses the default wordpress method – divi simply makes it easy and helps with the design (a lot!). There were errors in the log at one point, so I was doing something right (with the exception of using what looked like a spam email).
I setup a test form here using your shortcode https://sixfigurecrowd.com/test/ and it works.
So we’re back to my custom form not working even though it was working at some point. Anything else I can try? I seem to have gone through pretty much every combination of name / checked option etc.
-
This reply was modified 3 years, 3 months ago by
sociallyxp.
Hey @sociallyxp,
Have you enabled “Double Opt-in” in the form settings?
Yes. It works fine in the standalone form, but no longer works in my custo form. It was working according to the logs. It does not now. What else should I be checking?
Hey @sociallyxp,
Can you please share a screenshot of the settings for the “Custom integration” in our plugin?
https://imgur.com/a/puS4II7 – I included screenshots of the field as well. I have also tried changing the title / name to 1. Again I can’t stress enough that this WAS working with a certain combination settings, I just can’t figure out what those settings are…
Can you please show a screenshot of MC4WP > Integrations > Custom?
I think the screenshot you’ve shared above is from the Registration integration and not the custom integration.
Also please go to MC4WP > Other, and set it to Log everything. Then test the custom form and see if anything shows up in the log at all.
Thank you.Strange the list was unchecked although it was checked before. I reenabled it. It has been set to log everything and will no longer pick up anything from this form. I’ve tried all sorts of combinations, I changed the field to be a visible checkbox, still nothing.
Maybe the list name or ID was changed, so the new list name/id needed to be re-checked in the integration?
Now the final step to make this work is making sure that the checkbox has the attribute name=”mc4wp-subscribe”
At this time the checkbox has no name attribute at all. It could be that the tool you use to create the form has changed something and is no longer adding the name attribute properly.
https://i.imgur.com/nfaRSoS.png
Hope that helps. If you have any questions, please let me know!The id / name were not changed. It is a free account right now so only one list. I added a javascript that updates the id of the field to mc4wp and it’s still not working. http://sixfigurecrowd.com
Hey @sociallyxp,
Can you please go to the “MC4WP – Others” menu, set the log option to “Log everything”, test the form and then share the logs with us?
-
This reply was modified 3 years, 3 months ago by
The topic ‘Custom integration does not work’ is closed to new replies.