Page tree
Skip to end of metadata
Go to start of metadata
  1. Setting tags
    1. Setting tags through the SDK
    2. Setting tags through the Admin Console
  2. Creating your first segment and sending the notification

Setting tags

Before you start using segments you need to define your application's tags. 

Tag is a way to distinguish between users in your app, and a set of tags with conditions between them can create a segment.

Tags can come in 4 types:

  • Date
  • String
  • Number
  • Boolean


Let's say your app is a game and you have set the tags "In App Purchase" of type Date, to set the date of the user's last in app purchase  and "Level 1" and "Level 2" of type Boolean, to set if the user has passed each of this levels. 

You can create the segment "In App Purchase" Happened within the last 30 days AND "Level 1" Is True AND "Level 2Is False - this segment will include users that have made an in app purchase in your app in the last 30 days and passed level 1 but didn't pass level 2 in your game 

Now, you might want to motivate these users to come back and play again by sending them a tip on how to finish level 2.

Setting tags through the SDK

To set tags through our SDK please refer to:

The tags you set through the SDK will appear in the Admin Console automatically.

Setting tags through the Admin Console

  1. Go To My Apps -> Main
  2. Compose your message as seen in Sending notifications and select By Segments under To Whom?
  3. Click on Add new segment to list
  4. Click on Add New Tag

  5. Select Date type and call the tag identifier "In App Purchase" and click on Add, and then do the same for Boolean with "Level 1" and "Level 2". Notice the automatic tags you get from us, you can also use them if you want.

  6. You are done, you can proceed to the next step to create your first segment.

Creating your first segment and sending the notification

  1. Choose the tags you have created in the previous step and set the conditions you desire using the Add Condition or Add Inner Condition buttons. Once done, name your segment and click on Save.
  2. You will see the new segment you have created as the selected one for this notification
  3. Finish your notification's setting, for example let's create a weekly notification ( we also recommend to check the According to device'd time zone check box ), and save it.
  4. That's it. you will be able to view you notification in the Running notifications section