Add Subscriber to Segment with Duration
var peSegmentNameWithDuration = []; // e.g, [{“name”:”segmentName”,”duration”: 5}] window.PushEngage = window.PushEngage || []; PushEngage.push(function() { PushEngage.addSegmentWithDuration(peSegmentNameWithDuration).then(function(data) { console.log(data) }).catch(function error(error) { console.log(error.message) }); });Continue reading