The menu you posted the link to requires you to
use file manager text editor cause it has 3 sections.
The 3 sections go in head and body which
are separate areas.
Once you add the script you canot publish using the wizard so you need use only file manager.