Contact Us      Sign Up      Login

Location based notifications are already more relevant than push notifications, but to further improve the relevancy of your notifications you can segment your users. The segmentation feature allows you to limit specific notifications to specific groups of users. This prevents your end users from receiving notifications that aren’t relevant for them. This feature is introduced in version 1.10.0 of our plugin.

You can specify in your app to what segment the device belongs and in the dashboard you can define what segments should receive the notification.

Segmentation Properties In Dashboard

You can specify in notifications and campaign notifications what segmentation properties must have been set on the device before the device can receive these notifications. When a property that is set on the notification isn’t set on the device or the property on the device has a different value than on the notification, then the notification isn’t sent. This is also the case for apps with an older version of the Plot Plugin that doesn’t have support for segmentation. Segmentation properties set on the device, but not on the notification or campaign are ignored.

The segmentation settings for a notification are under the Advanced Settings. By default all devices can receive a notification.

Device Properties

Before users can receive segmented notifications you have to specify to what segment the user belongs. Both on iOS and on Android the Plot class has methods that allow setting the segments the user belongs to. When you specify a new value for a segmentation property that is already defined, the old value is overwritten with the new value.

All currently loaded notifications on the device will be removed when calling one of the segmentation property methods. The next data update will contain all appropriately segmented notifications.

There is a specific method for each property type. Currently the supported types are integer (numeric values), double (numeric decimal values), string (text values), date (UNIX timestamp) and boolean (true or false). Below is an example snippet for each platform on how to set the segment gender to male on the device.

Example iOS snippet:

[Plot setStringSegmentationProperty:@"M" forKey:@"gender"];

Example Android snippet:

Plot.setStringSegmentationProperty("gender", "M");

Example Appcelerator/Phonegap snippet:

plot.setStringSegmentationProperty("gender", "M");

Our full documentation further explains segmentation in a technical way and examples per type can be found for iOS, Android, Appcelerator and Phonegap.

It is currently not yet possible to specify segments in our test apps that are available through the Play Store or the App Store.

Segment On Campaign History

When you set the property type to “campaignhistory” you can segment on users who have, or haven’t, triggered a (geotrigger)campaign earlier. You can for example use this feature to send notifications to users that have been to your store earlier or to a store of a competitor.

You specify a Campaign Id segmentation property in the dashboard just like device properties. You have to specify the campaign id, the number of times the user has triggered that campaign and in what time frame these triggers must have occurred. You do not have to set any properties for this on the device.

Our full documentation further explains this in a technical way.

Custom Reporting

For customers with our Gold or Platinum plan it is possible to make the segments you define in your app part of your custom reports. Contact us for more information.