Modified analytics script.