Move analytics script to head