Added segment.io tracking