Added segment.io analytics for event tracking. #37