add segment.io integration