Howto get Mailchimp pop-up to work in Chrome Howto get Mailchimp pop-up to work in Chrome google-chrome google-chrome

Howto get Mailchimp pop-up to work in Chrome


I just had the same issue and I figured out what went wrong: ad blockers.

Ad blockers prevent MailChimp popup signup form from showing up on your website. More precisely, an ad blocker prevents the Mailchimp JS script from loading which causes the Uncaught TypeError: window.dojoRequire is not a function error.

Bottom line: if a user is not using an ad blocker, the popup form would show up just fine. But if you want to make sure ALL users see the popup, create your own custom popup instead (using Bootstrap Modal, for example) and sign a user to MailChimp via the MailChimp API.


You'll have to wait for the first script to download and run, which creates the dojoRequire function. The second script is using the function before it has been created by the first. You can use a setTimeout() = yuck, or look for ways on stackoverflow to wait for the page to load, such as Wait until Javascript files are loaded


My issue was the "DuckDuckGo Privacy Essentials" firefox extension was blocking it, not my ad blocker.