Mailchimp popup not showing

I created a popup in my mailchimp account and I cannot make it appear on my site. Generated code

<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 does not work.

+4
source share
4 answers

Probably your problem is that the correct version of jquery is not being called. I believe that you need a minimum of 1.4.4, and you can find, if you look at the link below, this is a problem with the way the popup looks for the jquery.js file:

https://www.organicweb.com.au/19561/wordpress/mailchimp-popup-instructions/

+3
source

, mailchimp cookie , , , , cookie. , .

+3

, . JS, cookie, :

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=/";
+3

jquery.

embed.js jquery.js . , .

-, jquery js , htaccess .

RewriteEngine on Options +FollowSymLinks RewriteRule ^/?jquery.js$ /themes/inspinia/vendors/jquery/jquery-2.1.1.js [L]

: https://www.organicweb.com.au/19561/wordpress/mailchimp-popup-instructions/

0
source

All Articles