Replaced hard coded mixpanel and ga with segment.io