How To Add Js Snippet Code Within <Body></body> Default Template?


I want to Place the following code on every page:

What I was thinking is:

Design->Layout->Default->adding HTML block to CONTENT (which I think it's the ) then to add this code with literal on each side, I did it but it doesn't work, what I need to do?

Best regards,


You can enable the My changes module and create the following file:


and put js code there. Then clear cache and check the result

It did the trick, thank you!

It did the trick, thank you!

You are welcome!