# Users & Segments

Users & Segments section includes:

* [Users](#users)
* [Segments](#segments)

## Users

In the Users report, you can find information about every user and their activity.&#x20;

{% embed url="<https://youtu.be/-gm50dFalrU?feature=shared>" %}
Users overview
{% endembed %}

### Filter user list

You can filter users by adding filters to some user properties. Click `Add filters` to set a condition and then `View result` to see a table with users.&#x20;

In the filter, you can set various user properties and parameters, as well as events and performance windows. For example, filter out premium US users who added two friends in the last month and reached a certain level:&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FBjXY7yLR59vXg7NjNdWa%2Fimage.png?alt=media&#x26;token=fa0659bb-e939-45b5-b407-883729f5324d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can also save a custom filter template and then select it when creating a [push campaign](https://docs.devtodev.com/reports-and-functionality/project-related-reports-and-fuctionality/experiments/push-notifications).
{% endhint %}

### Export user list

Click the `Export to CSV` button to get a table with users (first 1000 lines) or a specific user profile. If no specific user is selected, this will export the users that match the current filters.&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FoNV18buR2tSVF0HlWyBU%2Fimage.png?alt=media&#x26;token=866f275e-5425-4c97-bb73-15f6ae9b174c" alt=""><figcaption></figcaption></figure>

You can also select the user profiles in the table and click the `export profiles` button.

### User card

Click any row in the table to view user profile details. The User card consists of basic properties, custom properties (any additional parameters added during integration), and statistics on user actions performed in the app.&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FQIdeNDXNxoIt4FeI242m%2Fimage.png?alt=media&#x26;token=19fc5042-1858-4e90-8a52-bbe8f4bf9731" alt=""><figcaption></figcaption></figure>

Use tabs to toggle between basic and custom properties:&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FSjmTeqedevvtngSpgGwu%2Fimage.png?alt=media&#x26;token=61381791-372b-44d7-bdf4-fd7ce1e5859c" alt=""><figcaption></figcaption></figure>

You can delete or download user data by clicking the three dots on the user card:&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FTs71NNWuKOU6trGg8MDV%2Fimage.png?alt=media&#x26;token=0bd87854-c1ad-4f6e-aa77-1faeab051f12" alt=""><figcaption></figcaption></figure>

### Cross-platform specifics

In [cross-platform type projects](https://docs.devtodev.com/getting-started/cross-platform-application) user has the same devtodev ID on all platforms.&#x20;

In the Basic properties tab you will see a dedicated list of properties for each platform and general information about the user in the General section. For example, *Install date* and device information are platform-specific, so they will be different for each platform section.&#x20;

The General section stores the *Install date* of the first-ever platform and updates the *Last seen* field according to the latest data from any platform.&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FbZQhmWXGgTBqOwyc5jHG%2Fimage.png?alt=media&#x26;token=ba4ebd1d-cacf-4943-9a1c-32469b12eec1" alt=""><figcaption></figcaption></figure>

#### Mark as Cheater or Tester

You can flag a cheater or a tester if needed. This action will remove the user's transactions and events for the last 7 days from the reports (the payments will be visible in the [Real-time dashboard](https://docs.devtodev.com/reports-and-functionality/project-related-reports-and-fuctionality/smart-view/real-time-dashboard)).&#x20;

If you lift the Tester/Cheater mark, their previous transactions will not become valid.&#x20;

{% hint style="info" %}
Please note: the events will not be excluded from reports immediately.&#x20;
{% endhint %}

Cheater/Tester marks are connected to the User card and are **not** platform-specific. If you mark a user for a cheat transaction on one platform, the user becomes a cheater on **all platforms** and their transactions become invalid.&#x20;

### Last user activity

Here you can see user activity days and the events with parameters that they performed in your project during the entire data retention period.

* **Filter.** You can specify the events that you want to display in the list of user activities. The rest of the events will be hidden, but you can expand them to view.
* **Highlight.** You can specify the events that need to be highlighted so that you can quickly find them in the complete list of events.
* **Calendar.** You can select a specific day to see what events the user performed on that particular day.&#x20;

By clicking `Show next` or `Show previous` you can load more recent days of user activity or more of the past actions.

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FI1ABw8daWWhmvL9QX61G%2Fimage.png?alt=media&#x26;token=9a2b7caf-6cbd-4cc9-b3b3-e9df1a7f303e" alt=""><figcaption></figcaption></figure>

### Payments and Subscriptions

#### Payments

In the payments section, you can see the goods purchased by the user, as well as the transaction ID, date, and cost of the goods in USD and in original currency.&#x20;

If you use [automatic transaction / refunds tracking](https://docs.devtodev.com/integration/autocapture), you will see a flash icon <img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FmAbo0ByyCiFqVvveihVo%2Fimage.png?alt=media&#x26;token=88aecaec-5bb2-46df-9b57-97ac6c5e31cc" alt="" data-size="line">next to such transaction.&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2Fp4qMNpIViQIPuAyxRlpn%2Fimage.png?alt=media&#x26;token=e1807a48-e315-4fa3-ac6b-60989afd0e22" alt=""><figcaption></figcaption></figure>

#### Subscriptions

Section with the information related to the subscription purchases.&#x20;

If you use [automatic transaction / refunds tracking](https://docs.devtodev.com/integration/autocapture), you will see a flash icon <img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FmAbo0ByyCiFqVvveihVo%2Fimage.png?alt=media&#x26;token=88aecaec-5bb2-46df-9b57-97ac6c5e31cc" alt="" data-size="line">next to such transaction.&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FR2GRIDIyS4L5xlISoXnf%2Fimage.png?alt=media&#x26;token=beb75619-acd5-4286-b80a-019510f3f247" alt=""><figcaption></figcaption></figure>

### Session replays

This tab shows all available session replays. Simply click on a session to view the recording.&#x20;

{% content-ref url="users/session-replays" %}
[session-replays](https://docs.devtodev.com/reports-and-functionality/project-related-reports-and-fuctionality/users/session-replays)
{% endcontent-ref %}

## **Segments**

{% embed url="<https://youtu.be/xRU5pbRC07U>" %}
Segments overview
{% endembed %}

This page shows an overview of created user segments. You can customize them, delete or add new ones. These segments can help you target a specific group of users, separating them by any action they make (e.g. skip tutorial, pay for a subscription) or any property.

There are two types of segments: **static** and **dynamic**. \
**Static segment** consists of a specific list of users, who perform a distinct number of events. Moreover, it cannot be supplemented. The static segment can be created using the reports that contain data on the number of users.&#x20;

The user list in a **dynamic segment** is refreshed every time new users perform a certain event or they obtain a property defined in the segment parameters. You can also define the parameters needed for a user to leave the segment and the parameters needed to re-enter the segment.&#x20;

Once segments are identified, they can be used in your reports and dashboards the same way as filters.

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2F9AJ63lCzGUvVH6FWKC6z%2Fimage.png?alt=media&#x26;token=c3182582-bdc4-42fb-b245-50e9b1e7586a" alt=""><figcaption></figcaption></figure>

Each segment has five parameters: name, type, current audience, date of creation, expiration date. Click on existing segment to adjust it.

You can filter your segments in ascending or descending order by any parameter.

### Creating a Static Segment

![](https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FYjnxcOuTaWEEfICEEUe2%2Fimage.png?alt=media\&token=bcebc5ae-d43a-4f62-b208-2eff1363008d)

You can upload a CSV file with a list of user identifiers manually. To do that, create a **Static segment** and follow the instructions.

* **Conversion funnel report**. After building a user experience funnel, you can add the user list to a static segment. The segment will start from the selected step, e.g. users who installed the app, viewed an offer and made a purchase.<br>

  <figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FCDLxshKCWqtnckd1XLIz%2Fimage.png?alt=media&#x26;token=6985a250-576e-4e89-a2f5-000347e78cca" alt=""><figcaption></figcaption></figure>
* You can use **SQL** to create a static segment if your query results in a user ID list:<br>

  <figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FmORvBDH8SsoHqygHbZnr%2Fimage.png?alt=media&#x26;token=0cb6225a-7260-442f-80cd-48dc4f4fd600" alt=""><figcaption></figcaption></figure>
* You have the option to create a static segment using the **Paying status prediction** report:

  <figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FrxbXE7PTB4MIZ7Bybssh%2Fimage.png?alt=media&#x26;token=2a5906b7-5c5d-4c1e-9b41-09a0c779b30d" alt=""><figcaption></figcaption></figure>
* You can use **RFM analysis** to create a static segment:<br>

  <figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FFbgy9ON7iy5KlzbHKSPD%2Fimage.png?alt=media&#x26;token=a00d962a-d888-4d0a-b328-097c90c61c24" alt=""><figcaption></figcaption></figure>
* Or you can open the **Users** section to add the filtered user list to a segment:

![](https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FSdIrPsCZgfCj7ICmteN9%2Fimage.png?alt=media\&token=815edda1-1c16-4556-8e7a-c1af1db376eb)

### Creating a Dynamic Segment

You can create a new dynamic segment by clicking **Add segment** button in the upper right corner. Then you should fill in:

1. **Name**
2. **Segment entry condition**

   Here you can add customized conditions describing in details those users who will be in new segment.

   You can choose entry conditions for the segment:&#x20;

   * **User card parameters**. \
     Define the properties and their values that are necessary for a user to enter the segment. Use AND/OR operators to manage the segment entry conditions with more flexibility.\
     &#x20;\
     For example, you can select the users who view your ads AND don’t buy anything in the app; an audience that installed version 1 OR version 2 of the app; users acquired through an ad campaign from Facebook AND a certain country, etc.&#x20;

     <figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FXAtsbecKOaOevLFkrPIG%2Fimage.png?alt=media&#x26;token=e342dbf8-e48c-4c27-8895-ee38b129afb0" alt=""><figcaption></figcaption></figure>
   * **Event conditions**.\
     Specify a time frame and events the user has to perform to enter the segment. Here you can also define parameters of the event and/or user properties at the time of the specified event occurrence.

     Use AND/OR operators to add a new condition or a group of conditions for flexible segmentation. Users enter the segment when devtodev receives specified events at the current stage. All events that conform to conditions must occur within no more than 30 days. The order of events specified at this stage is irrelevant.<br>

     For example, you can create a segment of unauthorized users from Brazilia who attempted to complete N levels in 4 days and analyze them later.

     <figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FttakbYBNR9Js6sAn8qYj%2Fimage.png?alt=media&#x26;token=39658988-dc2b-4a9c-a78a-1b00855c02d6" alt=""><figcaption></figcaption></figure>
3. **Segment exit condition.** \
   At this stage, you can specify whether or not the user can exit the segment. \
   Open the relevant tab: \
   **User can’t leave segment** – users will be accumulated in the segment. \
   **Entry condition changed.** If the user does not fit the entry conditions anymore, they are excluded from the segment. You can also set a condition that will trigger users's exit from the segment.\
   **Special exit condition.** Here you can specify exit conditions that must be met to exit the dynamic segment: by event conditions or by parameters specified in the user card. <br>

   <figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FmAxDDQg9yyZ6Y4bpzD66%2Fimage.png?alt=media&#x26;token=7a82e1fa-4c27-432b-bc0f-6a783a535327" alt=""><figcaption></figcaption></figure>

   For example, you want to build a segment of users who viewed special offers and opened in-app sore within 30 days but didn’t make a purchase. Then, in the **Segment exit condition** tab you can specify Purchase event and then all the users who did make a purchase will exit the segment. \
   \
   If at this stage you set up the segment exit conditions, the next stage will open up.
4. **Allow repeated entry.** \
   Check the box if you want the users to re-enter the segment in case they conform to conditions listed at stage 2. \
   Click **Apply** to create a segment with the specified criteria.&#x20;

   <figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FqliS3IFdfAYATzbw0nRK%2Fimage.png?alt=media&#x26;token=81a41d21-3f21-47fc-b481-b0be385c2bdd" alt=""><figcaption></figcaption></figure>

### Copying a segment

You can also copy and edit an existing **dynamic** segment. Simply select a segment you would like to edit and cllick on the **Copy** button that will appear in the upper right corner.

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FCBMXyxPYSB2EtcQxjfxD%2Fimage.png?alt=media&#x26;token=57acf277-1249-49be-92eb-b687f9dad890" alt=""><figcaption></figcaption></figure>

A new segment will be created with the same entry/exit conditions, all you need is to give it a new name.&#x20;

<figure><img src="https://2105883905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnGcP_ZeRJ1ipj9O8dF%2Fuploads%2FOjfMSrTKdKuNdtHIja07%2Fimage.png?alt=media&#x26;token=f2f0460d-8df8-441a-a977-ab25acac6ef6" alt=""><figcaption></figcaption></figure>

### Limitations

You can not use historical data to create **dynamic segments** therefore we recommend you create the segments in advance. In case you want to analyze new features, for example, you can create a dynamic segment right after the release so that there is enough time to add users to it before you start analyzing the metrics that may be affected by new features.

The **static segment** is applied to the historical data for the period up to three months from the segment creation. For example, metrics for the past 90 days in the **Basic Metrics** report or any other report where you can use segments as a filter.

**Expiration date** – the date when the segment will be terminated.\
The Expiration date of the segment is calculated automatically and cannot be changed manually. If the segment is not used in the reports, then the segment will expire in two months. Otherwise, the Expiration date is prolonged. If the segment expires, the user can restore it within one month but before it’s restored, it can’t be used in the reports.
