adding analytics.