It sounds, what I'm looking for, but I'm quite new with JavaScript

I inserted the code in webflow page settings in the section "Before Body tag" with ... around the code.
Bit it doesn't work. Do I have to change the code also?

Richard