Add Subscriber to Segment
var peSegmentNames = []; // Array of segment ids e.g, [“segment1”, “segment2”] window.PushEngage = window.PushEngage || []; PushEngage.push(function() { PushEngage.addSegment(peSegmentNames).then(function(data) { console.log(data) }).catch(function error(error) { console.log(error.message) }); })Continue reading