[Plugin: Contact Form 7] Mailchimp integration
-
Hi – I can see that there are a few guides on integrating contact form 7 with mailchimp – but I am switching from another provider to mailchimp and already have code in place, so I’m hoping that i can just make a quick change to the existing code rather than have to rewrite.
This chunk on the scripts.js file sends the email address and number to the old provider – can i just change the details here to use mailchimp instead?
/* ADD SUBSCRIPTION VIA RESERVATION */ $('span.checkbox-910 .wpcf7-list-item input').each(function() { if ($(this).val() === "Tick if you would like to be added to our e-news." && $(this).attr('checked') === 'checked') { var $suppliedTelephone = $('span.mobile input[type=text]'), $suppliedEmail = $('span.your-email input[type=text]'); if ($suppliedTelephone.val() && $suppliedEmail.val()) { try { $.ajax({ type: "POST", url: "https://app.bullseyehub.com/ext/sub", data: "auth=dc0acf60839d5b3041cee7ab201c6e5b3fd65789&email="+$suppliedEmail.val()+"&msisdn="+$suppliedTelephone.val() }); } catch(e) { } } } });
- The topic ‘[Plugin: Contact Form 7] Mailchimp integration’ is closed to new replies.