Adding a javascript button
-
I am trying to add the following code to an OptionTree site and cannot figure out how to make it work…any ideas? I would be extremely grateful!
<script type=”text/javascript”>
window.__smilesnap = window.__smilesnap || [];
window.__smilesnap.cid = ‘QJEbB4iVUnpoKhQGgxRa9vFd’;
(function() {
var ss = document.createElement(‘script’); ss.type = ‘text/javascript’; ss.async = true;
ss.src = ‘https://app-cdn.smilesnap.com/js/loader.js’;
var s = document.getElementsByTagName(‘script’)[0];
s.parentNode.insertBefore(ss, s);
})();
</script>The page I need help with: [log in to see the link]
- The topic ‘Adding a javascript button’ is closed to new replies.