Added segment analytics.