Setting up analytics.