adding segment.io tracking