add Segment.io snippet and remove analytics-ruby
remove mpmetrics call