Added basic analytics.