we have Magento 2.1.7ce and would like to add the MailChimp popup to our homepage.
We currently don't have access to the FTP/SSH so we have to do this with the cms pages.
When i add this code to a CMS page:
<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":"mc.us7.list-manage.com","uuid":"xxxxxxxxxxxxxxxxxxxxxxxx","lid":"xxxxxxxxxxx"}) })</script>
And access the firebug console sees it's trying to load files from the static files:
"NetworkError: 404 Not Found - https://server.com/static/frontend/Theme/customtheme/nl_NL/mojo/signup-forms/Loader.js
"NetworkError: 404 Not Found - https://server.com/static/frontend/Theme/customtheme/nl_NL/dojo.js"
How can I fix this? Or is it not allowed to use JavaScript in cms pages?