It should actually already be placed at position "99"... which should be the very last thing before the <html> tag... and should still be below any recordsets and custom code.
Right before the <head> is problematic since templates will have that region locked.
I think you are right about your advice above. The variables will pass through, but they need to be above where the plugin is called, not just before the body is displayed.