Add segment io js library with pageview and idea interactions