adding basic analytics