Site icon Catch Themes

Mailchimp embedded contact form

Hi! I am using Mailchimp to gather my visitors' email addresses. I have managed to embed the pop up form to Wordpress, but seem to struggle with the sign up / contact us form. My website is www.coconuts4sale.com and I would like to replace the current contact form (https://coconuts4sale.com/contact/) by the one I created in Mailchimp. It should be on the same page as the current form. This is what I got from Mailchimp: <!-- Begin Mailchimp Signup Form --> <link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css"> <style type="text/css"> #mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; } /* Add your own Mailchimp form style overrides in your site stylesheet or in this style block. We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */ </style> <style type="text/css"> #mc-embedded-subscribe-form input[type=checkbox]{display: inline; width: auto;margin-right: 10px;} #mergeRow-gdpr {margin-top: 20px;} #mergeRow-gdpr fieldset label {font-weight: normal;} #mc-embedded-subscribe-form .mc_fieldset{border:none;min-height: 0px;padding-bottom:0px;} </style> <div id="mc_embed_signup"> <form action="https://coconuts4sale.us20.list-manage.com/subscribe/post?u=6615f1a0d2af5ccdf3a0a48b4&id=9d472abe93" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> <div id="mc_embed_signup_scroll"> <h2>Subscribe</h2> <div class="indicates-required"><span class="asterisk">*</span> indicates required</div> <div class="mc-field-group"> <label for="mce-EMAIL">Email Address <span class="asterisk">*</span> </label> <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL"> </div> <div class="mc-field-group"> <label for="mce-NAME">Name <span class="asterisk">*</span> </label> <input type="text" value="" name="NAME" class="required" id="mce-NAME"> </div> <div class="mc-field-group"> <label for="mce-COMPANY">Company </label> <input type="text" value="" name="COMPANY" class="" id="mce-COMPANY"> </div> <div class="mc-field-group"> <label for="mce-MMERGE6">Message <span class="asterisk">*</span> </label> <input type="text" value="" name="MMERGE6" class="required" id="mce-MMERGE6"> </div> <div class="mc-field-group input-group"> Interested in sponsorship as: </div> <div id="mergeRow-gdpr" class="mergeRow gdpr-mergeRow content__gdprBlock mc-field-group"> <div class="content__gdpr"> <label>Marketing Permissions</label> <p>Please select all the ways you would like to hear from Coconuts4sale:</p> <fieldset class="mc_fieldset gdprRequired mc-field-group" name="interestgroup_field"> <label class="checkbox subfield" for="gdpr_8837"><input type="checkbox" id="gdpr_8837" name="gdpr[8837]" value="Y" class="av-checkbox "><span>Email</span> </label> </fieldset> <p>You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.</p> </div> <div class="content__gdprLegal"> <p>We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.</p> </div> </div> <div id="mce-responses" class="clear"> <div class="response" id="mce-error-response" style="display:none"></div> <div class="response" id="mce-success-response" style="display:none"></div> </div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups--> <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_6615f1a0d2af5ccdf3a0a48b4_9d472abe93" tabindex="-1" value=""></div> <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div> </div> </form> </div> <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='NAME';ftypes[1]='text';fnames[2]='COMPANY';ftypes[2]='text';fnames[4]='PHONE';ftypes[4]='phone';fnames[6]='MMERGE6';ftypes[6]='text';}(jQuery));var $mcj = jQuery.noConflict(true);</script> <!--End mc_embed_signup--> But when I try to add this, it doesn't work. I have also tried with a URL (http://eepurl.com/gzjvPv) as the Wordpress was asking me for the URL of the form, but all I get is a message that this currently cannot be embedded. Would you be able to help me with this issue? Thank you and kind regards, Lana
Exit mobile version