basic segment.io integration