They tell you to place it just before </body>.
I assume that this is done so that when users don't load the entire page, they don't get counted?
What happens if I place it higher up the page? I have an element in dynamic PHP pages that sets up the page type higher up - can I place my code there?