Switches analytics to Segment.io