Move google analytics code in the header.

The code is ayncronous so it shouldn't block  the loading, some features depend
on the code being there.