Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OneSignal Push Notifications Segmenting users

I have created an app in OneSignal.com . Now I need to segment users but i dont know how to do that using android using onesignal as i am new to android.

So How do I segment users in Android OneSignal so that to send push notifications to specific users in that segment.

like image 886
ViPa Avatar asked Apr 06 '16 13:04

ViPa


People also ask

Can you send specific notifications push users?

Using Firebase tools, you can send individual push notifications without needing a dedicated server, or a third-party service. Two major reasons for sending display notifications are: For marketing purposes - this is when you send a push notification to all users or a subset of users that have something in common.

How do you engage users with push notifications?

Personalize Messages The personalized message also increases user engagement and interest in your website or app. If done correctly, this is probably one of the most effective push notification strategies. So, while sending the notification, especially for re-engagement, make sure to personalize the messages.

How do you create a segment on OneSignal?

Creating SegmentsIn Audience > Segments select New Segment.


2 Answers

You need to use tag feature in your onesignal app sdk where in you will tag a student with class 1 like OneSignal.sendTag("class",1); Then in your one signal panel create a segment class1 students and in filter type select "User Tag".

In key type "class" and select equal to in value type 1. then click on save. now all the students in class == 1 will be included in this segment

like image 182
Vishnu Prasad Avatar answered Sep 27 '22 21:09

Vishnu Prasad


You can segment users by creating a new segment on the Segments page with the filters of your choice.

For instance, if you wanted to create a segment that matched all users that were not active in the last 2 days, you could create a segment with the filter "last active is more than 48 hours ago".

You can also create segments with filters based on tags that you assign using SetTags in your app.

like image 31
Gdeglin Avatar answered Sep 27 '22 20:09

Gdeglin