adds analytics script