Hi all,
We are looking for a way to add script to a block on the frontpage. We would like to add a link/button that triggers a pop-up subscribe page from mailchimp. I tried to add the code to HTML with smarty support, but I do get an error. The script code looks like this:
<script id="mcjs">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,""script"",""https://chimpstatic.com/mcjs-connected/js/users/e53bd369a4a1838da85b30152/5fc5e133a4df479c81a7cd586.js"");</script>
Any idea how to fix this?