Integrate Segment.io tracking

Will allow to easy switch analytics providers in the future.