Segmentation is one of the most powerful features of PushPrime. Our no-code segmentation allows users to add users in segments based on the url or pattern they visit on your website. But sometimes you have to add users into segments due to some custom logic on your server. That can be done by calling the following method of our javascript sdk.

pup.push({"segment" : "[segment id defined in PushPrime Dashboard]"});

You can subsequently remove user from the segment by calling.

pup.removeUserSegment("[segment id defined in PushPrime Dashboard]");

results matching ""

    No results matching ""