Location of the tracking code

hi all, just completed Piwik installation for our intranet. Just a question about the location of tracking code. The documentation says that it needs to be placed before the closing body tag (). My question is: does it have to be right before the ? What happened if I put it somewhere else between and tags? Thank you.

Hi there, It’s fine if you put it in the page, you are free to do this without problem

Thanks Matt.