Posts Segmentation

Noticeable allows keeping your users in the loop about your product. Thanks to the Plug & Play Widget, users are notified about new changes in the right context and at the right time. However, what if you schedule a maintenance for your product in France and you want to publish an update to users who are located in this country only? That's where user segmentation comes to the rescue

Segmentation is a seemingly simple but extremely powerful mechanism to filter posts based on your own conditions.

Defining Segments

When you publish a post, you may define segmentation filters (enter a value and press enter):



Then, on the page that includes the Noticeable Widget you simply need to configure the Widget with the desired segments based on information you have.

You can do it statically (multiple segments must be separated with a comma) :

<noticeable-widget
access-token="YOUR_ACCESS_TOKEN"
project-id="YOUR_PROJECT_ID"
segments="Country:France"></noticeable-widget>


or dynamically:

document.addEventListener('noticeable-widget-created', function(e) {
e.target.setSegments(['Country:France']);
});


It's just that easy!

Let's say you publish a post with segment "Country:France" and the Widget on your pages is configured to include segment "Country:France" for user A but not for user B. Then, user A will see your post but user B will not.

Posts that are segmented (i.e. defines segments) need to have at least one segment matching the list configured with the Widget in order to be displayed on the Widget. Posts with no segmentation filters are displayed to all.

By default, Timeline pages do not display posts which are segmented. You can force a segmented post to be displayed on your project Timeline by adding the special segment Noticeable:Timeline to its list of segments.

Use cases are infinite: you can target a specific user or company if a user email or a unique identifier is used as segment value.
Was this article helpful?
Cancel
Thank you!