added basic analytics