changed google analytics to segment.io middleman