-
Notifications
You must be signed in to change notification settings - Fork 31
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
Can this be used with Mailchimp's Contact Form / Inbox? #92
Comments
Thought I'd update this as I'm trying things out. I tried adding the contact form endpoint in place of the default mailing list endpoint, like this (where addToMailchimp(
data.contactEmail,
{
NAME: data.contactName,
SUBJECT: data.contactSubject,
MESSAGE: data.contactMessage,
},
'https://us1.list-manage.com/contact-form?u=my_user_id&form_id=contact_form_id'
); This doesn't work and gives me some errors I'm unsure about:
and also a "CORB" error (never heard of this):
|
I tried adding this into the if(endpoint.includes('contact-form')) {
endpoint = endpoint.replace(/\/contact-form/g, '/contact-form-json');
} else {
endpoint = endpoint.replace(/\/post/g, '/post-json');
} but nah, no joy here either! |
did you find any solution? |
I was also hoping to use this plugin with a contact form but I'm getting the CORB error. Does anyone have any tips / alternatives to suggest? Thanks 🙏🏼 |
They give a similar endpoint for their contact forms so I'm wondering if this is possible using this plugin?
The text was updated successfully, but these errors were encountered: