Installation of a html code

Hello All,

I'd like to install a html-code for a pop-up window. 

<script>(function(t,e,s,o){var n,c,l;t.SMCX=t.SMCX||[],e.getElementById(o)||(n=e.getElementsByTagName(s),c=n[n.length-1],l=e.createElement(s),l.type="text/javascript",l.async=!0,l.id=o,l.src=["https:"===location.protocol?"https://":"http://","widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd2ZM59OgigWlDuG66KJBvld86l5D9Uz4OMQLofEZGCyO.js"].join(""),c.parentNode.insertBefore(l,c))})(window,document,"script","smcx-sdk");</script>

Where and how should this code be installed? The window should pop-up in the middle of the page.

Thanks for your support.

Regards 

Peter

Comments

  • Hi,
    JS codes can be provided in these places:
    - Theme Options > Custom CSS & JS > JS - but, please remove the <script> tag.
    - Theme Options > Global > Hooks
    - In the Column item from Muffin Builder.
    I mean, you can use the HTML code there, so JS code will work either.
    Thanks
Sign In or Register to comment.