Add a Segment to Subscriber

This API will add current subscriber to given segment. it will return true or false


Example
var segment = 'YourSegmentName';
var toBeReturn = _pa_addToSegment(segment);
console.log(toBeReturn); 

//return
true/false

var thenProm = toBeReturn.then(function(value){
	console.log(value);
});