Moved analytics code to the header of the page.

It didn't seem to work when in the footer, so I moved it to the header
to see if that fixes it.