relocated analytics script