Getting Subscriber Hash after Subscription

This API call returns unique id of the subscriber in the form of string or Browser Name return in Json format.


Example
var subscriber = _pa_subscriberID();
console.log(subscriber); 

//Json format
{"subscriber_id":"GS44587asfaeTA48a8ereaEeRTEA767aaer87679", "browser":"Chrome"}

//Array format
var subscriber = JSON.parse(_pa_subscriberID());
console.log(subscriber['subscriber_id'] + ', ' + subscriber['browser']);