Support Ticket

Beate Thomsen+status
 

Beate Thomsen+issues

I have been trying to add a javascript snippet to the layout, but somehow it converts it to some other code so that it does not work

this is the original one

 

<script>

  (function(w,d,s,u,g,a,b){w['GetFeedbackObject']=g;w[g]=w[g]||function(){

  (w[g].q=w[g].q||[]).push(arguments)};a=d.createElement(s),

  b=d.getElementsByTagName(s)[0];a.async=1;a.src=u;b.parentNode.insertBefore(a,b)

  })(window,document,'script','//websites.cdn.getfeedback.com/embed/6V9rmyoUds/gf.js','gf')

</script>

 

 

but somehow it converts it to this

<script type='text/javascript'>
  (function(w,d,s,u,g,a,b){w['GetFeedbackObject']=g;w[g]=w[g]||function(){
  (w[g].q=w[g].q||[]).push(arguments)};a=d.createElement(s),
  b=d.getElementsByTagName(s)[0];a.async=1;a.src=u;b.parentNode.insertBefore(a,b)
  })(window,document,'script','//js.getfeedback.com/embed/6V9rmyoUds/gf.js','gf')
  </script>