added the basic analytics script