I have created a popup form in my mailchimp account and I cannot get it to show up on my site. The code generated is
<script type="text/javascript" src="s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">require(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"xxxx-xxxxx.com","uuid":"xxxxxxxxxxx","lid":"xxxxxxxx"}) })</script>
I tried adding it to header.php, footer.php in wordpress but it doesn't work.
It might be that you yourself are already subscribed. Here's JS that can delete the cookie that marks that:
document.cookie = "MCPopupClosed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
document.cookie = "MCPopupSubscribed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
Your issue is probably that the correct jquery version is not being called. I believe you need a minimum of 1.4.4 and you may find if you have a look at the link below it is a problem with how the pop up is looking for the jquery.js file:
https://www.organicweb.com.au/19561/wordpress/mailchimp-popup-instructions/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With