Adds analytics.