Add analytics service and some additional tracking events.