How to get mailchimp to work with popup pro

Hello,
I'm trying to design a beautiful popup that will collect emails for a newsletter via mailchimp. I've taken the mailchimp embed code and placed it in the body of the popup, in the body of the popup with the code tags, and in the css piece of the popup. All of which result in a completely blank popup for the email collection.

How do I make my mailchimp signup work in there?

Thanks!

  • Sophworks

    Hello Anang,

    This is interesting. It looks like I'm having the exact same issue. Preview does not work on the edit screen and the code is in there properly exactly like you said. I just tried deleting and doing it again and now it won't preview at all. My code is below.

    <!-- Begin MailChimp Signup Form -->
    <link href="//cdn-images.mailchimp.com/embedcode/classic-081711.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>
    <div id="mc_embed_signup">
    <form action="//nickrizzi.us10.list-manage.com/subscribe/post?u=4f87dbf64ebedd63af4fd1677&id=97f0385cd8" 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 to our mailing list</h2>
    <div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
    <div class="mc-field-group">
    	<label for="mce-FNAME">First Name </label>
    	<input type="text" value="" name="FNAME" class="" id="mce-FNAME">
    </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 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;"><input type="text" name="b_4f87dbf64ebedd63af4fd1677_97f0385cd8" 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[1]='FNAME';ftypes[1]='text';fnames[0]='EMAIL';ftypes[0]='email';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
    <!--End mc_embed_signup-->
  • Anang

    Hi @Sophworks

    It seems the javascript embed from mailchimp break the popup, but don't worry you still can use mailchimp in popup pro. Please read our guide here :
    https://premium.wpmudev.org/blog/how-to-create-an-awesome-newsletter-signup-popup-for-your-wordpress-site/
    It has clear step by step guide how to setup mailchimp with popup pro.

    Let me know if you have any questions :slight_smile:

    Best Regards