moved analytics script to head