You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Next »
The method allows getting information for all active NPS categories.
personaclick("nps", "categories", success, error);
The name of the NPS category.
personaclick("nps", "categories", function(categories) { // NPS widget rendering }, function(error) { // when something went wrong });
The method allows getting information for all active NPS channels.
personaclick("nps", "channels", success, error);
The name of the NPS channel.
personaclick("nps", "channels", function(channels) { // using available NPS channels }, function(error) { // when something went wrong });
The method allows getting a list of segments that include the current user.
personaclick("segment", "get", callback);
Object array, each will have the following properties:
static, dynamic
personaclick("segment", "get", function(segments) { segments.forEach(function(segment) { console.log(segment.id); console.log(segment.type); }); });