XF 2.0 <script> on sidebar

Betclever

Active member
Hi,

I would like to add this below code on a widget on the sidebar but I don't know how to proceed:

Code:
<!-- Copy and paste this code into banner place on the page. -->
<script>
(function(w,d,o,g,r,a,m){
d.write('<div id="'+(cid=(Math.random()*1e17).toString(36))+'"></div>');
w[r]=w[r]||function(){(w[r+'l']=w[r+'l']||[]).push(arguments)};
function e(b,w,r){if(w[r+'h']=b.pop()){
a=d.createElement(o),p=d.getElementsByTagName(o)[0];a.async=1;
a.src='//cdn.'+w[r+'h']+'/libs/b.js';a.onerror=function(){e(g,w,r)};p.parentNode.insertBefore(a,p)
}}if(!w.ABN){e(g,w,r)};w[r](cid,{id:1559848332})
})(window,document,'script',['ftd.agency'],'ABNS');
</script>
Thx.
 
Top