I'm trying to implement a mailchimp pop up my page but it doesn't work. To be sure that it's not due to a js conflict I tried the JS code they provide on a simple html page.
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="utf-8">
<title>testpop</title>
</head>
<body>
<style>
html {
background: #3a1c71;
font-family: 'helvetica neue';
text-align: center;
font-size: 10px;
}
</style>
<!-- Here is the mailchimp js -->
<script type="text/javascript" src="//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":"//mc.us17.list-manage.com","uuid":"af12c8121a0cbbd603454ea9e","lid":"4904281888"}) })</script>
</body>
</html>
I got then the following message :
GET file://downloads.mailchimp.com/js/signup-forms/popup/embed.js net::ERR_FILE_NOT_FOUND testmail.html:18 Uncaught ReferenceError: require is not defined
I though that maybe the source shouldn't start with '//....' but like that 'http://...'
I don't see any error in my console now but there is no pop up either