One of the often heard complaints from the consumer with regards to Website Notifications (especially on the mobile app) is around too many notifications reaching them and they get inundated with it. We are starting to get similar feedback for Push Notifications for Browsers as well.  Hence, it is very important that you target your website users appropriately with topics of their interest. This can be achieved through segments in PushEngage.

Here is How to Implement Segments for your Push Notification Users in PushEngage    

Step 1:  Create the segments you want to define in your website in the Dashboard under Users -> Segments.


Step 2: Each time you subscribe to a user on a given page, pass the correct segment for that user in any of the method you use for subscribing user.

Here is the name segmentname corresponds to the name you have configured earlier

a) Default Popup


Note: when this is being used please don't use the below code


Following are the equivalent Button and Link code

b) Button code:

<button onclick="_pe.openDialogBox("segmentname");">

c) Link code:

<a onclick="_pe.openDialogBox("segmentname");" href="javascript:void(0)"> Subscribe </a>

3) Now that you have segmented the user, test out by sending targeted notifications to the users, and see your CTR (Click Through Rate) Increase and Engagement Increase

push notifications to segment