switching analytics to segment.io