Add segment analytics