Segmentation
Game of Whales allows you to create segments of players and use them for analysis and push notifications or special offers sending.
All segments are displayed on the User Segmentation page.
To open this page, select your game, go to INTERACT (1) and then click on User Segmentation section (2).

User Segmentation page contains information about all segments of the selected game.
You can create a new segment, edit existing or delete it.

To create a new segment:
- Click on Create a Segment.

-
Enter the segment's settings and click on SAVE SEGMENT.
Segment card
Segment card contains 4 sections:
- Segment’s title (1)
- Segment's description (2)
- Segment’s audience (3)
- Conditions (4)

Segment's audience
In the Segment’s audience section you can find information about the number of players entering this segment.
Information contains two parts: a push enabled audience and a total audience.

Push Enabled audience – the number of players who can receive push notifications and meet the segment’s conditions. Players can receive notifications when the system has special information about them (their devices IDs and so on).
Total audience - the number of players who meet the segment’s conditions.
Segment's audience doesn't contain control group players. Control group is a special group of players which is needed to calculate the campaign effectiveness. The control group’s players don’t receive push notifications within campaigns and special offers. A group to which a player belongs, is defined automatically when the player joins to the game.
Conditions
By default, all game's players except developers and cheaters are included in the segment.

To set a condition to include a player in the segment click on + ADD CONDITION button (1). New condition will be added. Choose an attribute (2), a condition (3) and a values (4).

You can set conditions by values of following attributes:
- Country
- Store
- Platform
- Version
- IAP Revenue
- Ads Revenue
- Revenue Badge
- Session Badge
- Frequency Badge
- Last Login
- Last Purchase
- Session count
- Purchases count
- Multiple Games
- User created
- User type
- Custom fields
To delete a condition click on Delete icon near the condition.

Conditions by Last login and Last purchase
If you want to select all users who didn’t make purchases during last 30 days you should check that their last purchase was before 30 days from today. So to set this condition you should add the following:
Last Purchase before 30.

If you want to select all users who made purchases during last 30 days should add the following:
Last Purchase after 30.
You can imagine the following picture when you set the condition:

Condition by Last login works the same.
Conditions by custom fields
Game developers can send detail information about their players to Game of Whales and then use it for segmentation. For example, they can provide the data about player level, device's name, etc.
In order to do this it's needed to use profile method of GOW SDK. You can find more details about the method in the implementation guides:
Pay attention that Game of Whales supports custom fields only with "string" and "flag" types.
In order to select players by custom field you need to do the following steps:
- Add a new condition to the segment by using + ADD CONDITION button.
- Select the type of custom fields in the first field of condition.

- Specify another field's values: a custom field's name, a condition and values.

Groups of conditions
By default, all conditions are combined by logical AND. It means that a player will be included in the segment only if he meets all the segment's conditions.
For example, it's needed to include in the segment only players from France with Whale revenue badge. The segment will look like this:

You can change the rule for combining conditions by using the root element of the tree of conditions.

For example the segment which includes all players except players from France with Whale revenue badge will look like this:

Segments management
To save segment’s settings click on SAVE SEGMENT.

To duplicate a segment click on Clone on the segment page.

The copy has the same title as the original with *CLONE* word. The other settings are the same. You can change all settings if you need.
To delete a segment click on Delete on the segment page.

Confirm the opetation.

To export a list of players who meet the segment’s conditions click on Export on the segment page.

You also can export a segment on the User Segmentation page by clicking on Export icon near the segment.

The User Segmentation page shows information about all segments, their audience and conditions. To edit the segment select it and click on it or use EDIT link near the segment.

Use User Segmentation button to return from the segment's card to the list of segments.

CREATE PUSH AND SPECIAL OFFER
You can create a new push notification or special offer by using Push Notification or Special Offer options on the segment's page.

In this case the segment will be selected in Push Audience Segmentation field or Special Offer Audience Segmentation field by default. You can change these fields if you need.
The options are available if segment doesn't have unsaved changes.

You can also create a push notification or a special offer on the Push Notifications or Special Offers pages.