segment for analytics