Zapnito Segment Functions Library
Analytics Resthook - https://github.com/zapnito/segment-functions/blob/master/analytics_resthook_function.js
Zapnito Segment Functions Library
Analytics Resthook - https://github.com/zapnito/segment-functions/blob/master/analytics_resthook_function.js