added segment.io analytics