Targeted Push Notifications will lead to higher click-through rates, and low unsubscribe rates and are a good experience for your website visitor. You should Segment Subscribers In Web Push Notifications to get higher engagement rates. Create a Push Notification campaign for specific segments. Segmentation helps to analyze the Push Notification Campaign.

Our latest study indicates by using segmentation you can increase your Click Rates by 200% +, so segmentation is an essential part of Push Notification strategy for your site. This also helps reduce the unsubscribe rate as customers get personalized notifications

In PushEngage we provide you 6 ways to segment subscribers in web push notifications for personalization.

Different Ways To Segment Push Subscribers

1. Device Type

Desktop vs. Mobile vs. Tablet
When a user subscribes to the push notifications for your site, we capture the device type he is subscribing from. You can use this information to target the subscriber.   This information can be utilized intelligently, in many ways and here are 2 examples

  • Targeting users during the daytime – More subscribers are in front of their laptops during the daytime as they are at work. Hence, a smart targeting would be to send a message to all “Desktop” subscribers [ includes laptops and desktop] during the daytime, as that is where most of your subscribers may be present.
  • Vary Message Length When Sending to Mobile Only –  The message length can be truncated for small form factor Mobile phones. Hence, while sending to Mobile devices only, one could pay attention to Characters in Title and message so that the message appears correctly in mobile phones.

In PushEngage dashboard we provide you with a sample view for how your notification appears in Mobile phone.

Segment Subscribers In Web Push Notifications

While Sending you can select the device type under Select Audience.

segment options in web push

2. Location 

You can segment the push notification subscribers based on their Country, State and City Level details.  This data is at the time of subscription of the users and can help you create any Geo segments.

Here are some ideas that could be used for sending –

a) Sending in Time Zone of the customer – If you have a website that caters to multiple countries, using this segmentation, you can select the country and send notifications only to that country.

b) Sending Local Offers –  If you have a local business and want to run an offer in a given city, then you could send notification only to people in that city

While sending just select the country name. Please note, the country names are automatically populated and you will see data based on where your subscribers came from.

geo based drip

3. URL Based Automatic segmentation

You can also segment subscribers in web push notifications based on the page URL they subscribed from. This feature allows you to specify a URL pattern to look for, and if the user matches that URL pattern, he is automatically added to that segment.  This makes the process of adding a user to segment very easy, and now without any developer intervention, from the dashboard, you could make as many custom segments as you like.

Example –   subscribers to  be added  to the Hotels segment, should be added to the Flight segment

Here is how it works:  

If you are a website, and a visitor who lands on your Electronics category page, and subscribes to push notifications, is someone who is interested in Electronics related push notifications.  Now you can define URL patterns and rules to automatically subscribe a user to a segment.

Let’s us take a live example from website, which focusses on GATE ECE study material and uses PushEngage.   They have separate sections where students can watch Videos, or download the Multiple-Choice Questions.

Here are the steps to follow –

  • First Create the Segments in the Segmentation.
  • Select the Segment Criteria. Her we have used MCQ as segment name for all subscribers whose URL at time of subscription contains multiple-choice-questions.   Now save the rule.
creating segment for drip

Finally, if you want to test, if your rules for URL were defined correctly or not, you can use our feature to Test your existing URL pattern rules. Note this section appears only once you have a URL rule to auto-segment. That’s it, now you can sit back and see how your subscribers keep adding to your new segments

URL test for segment

Later while sending use the Advanced Options and send notifications only to a segment

4. Custom Segment Based on Your Site Actions  

You can also segment subscribers in web push notifications using API call. This segmentation method is the most flexible and allows you to add segments based on any actions on your site. For this, you can use our API for adding or removing a subscriber from a segment, on any action.


  1. If a user buys a product from your website, you can add him to a Buyer   Later you can send them an offer for getting them again to the site.
  2. If a consumer watches a video on your homepage or visits your Pricing page, you can put the customer in the “Interested Buyer” segment. Later you can send them notifications to convert them into a buyer.
 How to add custom Segments to your subscribers using our API

We take an example of a Test preparation content site which has content for GATE and IES exams and wants to segment its users into 2 segments GATE2017 or IES2017.

  • At the time of subscription

You can tag your subscribers with custom segment information at the time of subscription by passing the segment name in the second line of javascript we request you to add.  The example code is below

Async Version


Legacy Version

<script>   _pe.subscribe(‘segmentname’); </script>

In the above example screenshot where the Test prep has segmented users in GATE2017, IES2017, the code would be

Async version




Legacy Version

<script>   _pe.subscribe(‘GATE2017’); </script>


<script>   _pe.subscribe(‘IES2017’); </script>

Note – If you have used Async Code while installation then use the code mentioned in Async Version otherwise Legacy Version

  • Later on, you can add or delete a new user or existing users to one or more segments.

If you want to add additional segment names at the time of subscription or later on any action on your website

You can tag your subscribers with custom segment information at the time of subscription by passing the segment name in the second line of javascript we request you to add.  The example code is below

Async Version

window._peq.push(['add-to-segment','Watched Video']);

window._peq.push(['add-to-segment','Downloaded Ebook']);

window._peq.push(['add-to-segment','Anonymous User']);


Legacy Version

<script>   _pe.addSubscriberToSegment('Watched Video'); </script>

<script>   _pe.addSubscriberToSegment('Downloaded Ebook'); </script>

<script>   _pe.addSubscriberToSegment('Anonymous User'); </script>

<script>   _pe.addSubscriberToSegment('Registered'); </script>


Async Version

window._peq.push(['remove-to-segment','Anonymous User']);

Legacy Version

<script> _pe.removeSubscriberFromSegment('Anonymous User'); </script>

Note – If you have used Async Code while installation then use the code mentioned in Async Version otherwise Legacy Version

Later on, you can log in to your dashboard and select users in (1) GATE2017 and (2) Watched Video segment and send them a notification.

5. Segmentation At The Time Of Registration

When a user comes to your site, you show them the Push Notification Opt-in. You can segment users at the time of subscription itself. At PushEngage we allow you to subscribe to users based on their choice.

Segment Subscribers In Web Push Notifications at the subscription

In the above screenshot, you can see two segments – Buy or Rent. You can ask the user at the time of subscription to choose which type of notifications you would like to receive. Accordingly, the user will be segmented into your account.

6. Segmentation based on push subscriber registration dates

Many times you create a campaign for a certain duration and people who subscribe during that period to participate. In such cases, you want to send a notification to a set of people who subscribed during a certain duration. With PushEngage, you can segment users based on subscription date.

Below are the steps to segment push subscriber based on subscription dates.:

  • From the Dashboard, go to New Notifications
  • Scroll Down and you will see Select Audience
  • You will see Date Range Subscription. Select the date and send your notification
subscription date based segmentation

You can use a set of segments to create some compelling campaigns. One such campaign idea is to use Push Notifications for all anonymous users on your site.

You can also check the video for detailed steps on segmentation of web push notification subscriber. The video shows live demonstration on how segment subscribers in web push notifications:

Always segment subscribers in web push notifications to get better ROI. If you haven't already registered for PushEngage go ahead and do it now. You can select a free push notification service.   If you have any feedback or comments, do leave it down or email at


Building, Digital Marketer & Growth Hacker. Entrepreneur.


  1. This is interesting.
    can I connect with our API and get users information while we sending mails?

    If we mail to 100 users, the same users should get the notification.

    • Sure, if you use the addProfile API you can enrich the profile information for each subscriber with a email id. Later while sending using API you can send to those email ids with REST API call.

  2. Pingback: How To Set Up Push Notifications For Your Blog In 3 Easy Steps

  3. Alvin Uchenna Reply

    Wow this is really great… Nice write up?.

    Commenting from

Write A Comment