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.
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.
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.
Creating SegmentsIn Audience > Segments select New Segment.
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With