Trying to add in HTML/Javascript code to input a mailchimp popup for opt in emails
Hi,
I need to put in this 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":"mc.us7.list-manage.com","uuid":"78335586878e09a6ec4800f5a","lid":"0fc5861131"}) })</script>
It is for a MailChimp subscription form. The popup appears when someone visits the page and asks for their email address to join our mailing list. Everytime I put this code into the HTML section of the page when I update it the page looks distorted and the menu disappears. Can you please let me know where I can put his code where it will work? Thank you!
Comments
JS's can be used inside Theme Options > Custom CSS & JS > Custom JS section. You can not use them in the content. But please notice that some this section is not enough and then you need to modify theme files.
Thanks!