Segmentation

Segment your audience

Create a segment

Segmentation is a powerful feature to send your Push Notifications to a specific group of people. It enables you to send notifications to subscribers who, for example, speak Spanish, visited a specific page on your website, or use a specific device or browser.

To set up segments, navigate to the segmentation menu in the PushPro portal. If you’ve configured segments before, you will see an overview of them. If you want to edit a segment, click the 'edit' icon on the right-hand side. To create a new segment, click “Create new segment” in the top-right corner.

Screenshot of audience segmentation feature in PushPro portal


Note that you must have tracking enabled in your domain configuration to be able to use segmentation!

Configuring segments

You can modify various settings of the segment. Start by entering a recognizable name for your segment, such as Android users, German residents, or High value customers. Now, you can add the segmentation rules. Each row in the interface represents a segmentation rule. For each rule, you can configure the following:

  • And/Or: determines whether all rules should be met or one of the rules.
  • Attribute: select the attribute you want to match against.
  • Comparison: how the value will be compared to the rule.
  • Value: your custom value.

When you add a rule, you have the option to add another rule by clicking the “Add new rule” button. You can configure as many rules for a segment as you’d like. However, note that the more rules you add, the smaller your segment will be. The image below displays a possible segment configuration for European Android users who have last visited your checkout page:


Screenshot showing where and how you can create segments in the PushPro portal

If you’re done creating you segment, you can click “estimate audience” to see how many subscribers you'll reach with your current segment.

Verify your setup

You can verify if you set everything up correctly by navigating to https://yourdomain.com/. If you see a push notification opt-in request, everything is working! That’s all, your website is now ready to send push notifications!

If you do not see an opt-in request, you can check whether the code snippet and javascript file were correctly added. Navigate to https://yourdomain.com/sw.js. Here you should find the following text:

importScripts('https://storage.googleapis.com/push-pro-java-scripts/pushpro-sw.js');

Next up, you can verify whether you correctly added the code snippet. On https://yourdomain.com/, right-click anywhere on the website and select “Page Source”. Here, you should find the following text:

<script></script>
window.__pushpro = {
site_uuid: "your-unique-identifier",
}

https://storage.googleapis.com/push-pro-java-scripts/pushpro-lib.js">

Ready to take PushPro for a spin? Get started for free now.

Drop us a mail

Thank you! Your submission has been received!
Something went wrong while submitting the form. Please try again or contact support@pushpro.io

Social Channels