Javascript Code Not Functioning as intended - BeTheme 14.2 / Wordpress 4.5.3

Hello. 

I have created a snippet of Javascript code from Mailchimp to have a popup form on my site to collect email addresses. I understand that if I post the following code in the Custom JS field in the theme options panel that it will work. However, it does not. 

<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.us2.list-manage.com","uuid":"da5d84bd6db2183c4e2b49871","lid":"716b2cb16e"}) })</script>

I notice that when the above code is added, that my navigation bar does not show up and I get the some latent code in the footer. 

Please advise how to fix this problem, please.

Comments

Sign In or Register to comment.