Segments are subsets of your player base, split apart by key differentiators, such as country, platform, experience level, or spending patterns. View existing segments and create new ones on the Segment Builder page.
Use segments in the Data ExplorerA Unity Analytics Dashboard page that allows you to build, view and export reports on your Analytics metrics and events. You can also see how metrics and custom events change over time. More info
See in Glossary and Funnel Analyzer to compare metrics across segments. For example, if you publish your game on both Android and iOS, you can use segments to compare player behavior by platform.
Unity AnalyticsAbbreviation of Unity Analytics
See in Glossary defines the following categories of segments:
Life Cycle | Segments based on the number of calendar days since a player first used your app. These segments are automatically populated based on core analytics eventsEvents dispatched to the Analytics Service by instances of your applications. Analytics events contain the data that is processed and aggregated to provide insights into player behavior. More info See in Glossary. |
GeographyPlayer segments based on country. More info See in Glossary |
Segments based on where the player is located in the world. These segments are automatically populated based on analysis of the player’s IP address and other geolocation techniques. |
Monetization | Segments based on a player’s verified in-app purchases (IAP). These segments are automatically populated if you use Unity’s IAP service. Otherwise, you can report verified IAP purchases using the Analytics.Transaction function. Note that IAP verification is only supported by the Apple App store and Google Play store. |
Platform | Segments based on the player’s platform. These segments are populated automatically based on the Unity build. |
Custom | Any segments you define. |
The Segment Builder page lists all the existing segments and shows the current segment population.
You can change the name or delete existing segments, but you cannot change the rules that make up the segment definition. (To use different rules, create a new segment.)
Create your own segments on the Segment Builder page of your Analytics dashboard.
Important: Unity AnalyticsA data platform that provides analytics for your Unity game. More info
See in Glossary
evaluates the rules defined in a segment as it processes incoming data.
Existing data is not re-evaluated when you create a new segment. Only data received after you create it appears in that segment in Data Explorer and Funnel Analyzer reports.
To create a segment:
For each custom segment, define one or more rules to determine whether a player is included in a segment. Once a player is included in a custom segment, they are considered part of that segment for up to 90 days even if no further qualifying events are received. When designing segments, take into consideration that there is no way for a player to leave a segment. For example, avoid creating a segment like “Players who have played fewer than 5 levels.” Because players do not leave the segment, they will still be included when they have played more than 5. A better approach might be a set of segments like “Players who have played 1, 2, …, n levels” (at whatever level of detail you find useful).
You can define multiple rules for a segment. You can combine the rules such that ALL the rules must apply, ANY rule must apply, or NONE of the rules can apply for a player to join a segment.
The rules themselves can be derived from core, session-based Analytics events (similar to the standard segments) or can be based on Standard and Custom Events.
The standard segments use rules based on the core Analytics events. You can create segment rules using these same criteria by setting the Rule type to any option other than Event. For example, if you wanted platform-based segments beyond the standard Android and iOS segments, you could choose the rule type, User platform is_ and then choose one of the available platforms:
Each of the rule types has its own set of options.
To create a segment based on Standard and Custom EventsCustom events are freeform events that you can dispatch when an appropriate standard event is not available. Custom events can have any name and up to ten parameters. Use standard events in preference to custom events where possible. More info
See in Glossary
, leave the Rule type as Event and choose the event name from the Event name list. Only events that have already been received from your game appear in the list. Thus, before creating event-based segments, you should dispatch at least one instance of the event (which you can do while running your game in the Unity Editor). Remember that events dispatched by your game do not show up in the dashboard for several hours.
In addition to the event name, you can set one or more restrictions on the allowed parameter values. If you do not specify any parameter restrictions, then dispatching the event with any parameter values, or no parameters at all, is enough to satisfy the rule.
2017–08–29 Page published
2018–06–04 - Removed Demographics Segments, which are no longer supported.
New feature in Unity 2017.1
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.