Grab your Analytics code and open styles/prosilver/template/overall_footer.html (or replace prosilver with your current style). Find </body> in the file and add the Analytics code just before it. Then save and upload the file.

After you upload it, clear the cache through the ACP(last button under Board Statistics) to apply changes.