Warn when we cannot insert the script tag correctly

Had this issue where I inserted Google Analytics in the wrong place. Silently failed, impossible to figure out.