Updates to remove dependence on segment.io. Settings are set in analytics.xml