move google analysis code in <head>

Signed-off-by: YC Huang <yingchauhuang@gmail.com>