Documentation

Developers

API References
Data Subject Request API

Data Subject Request API Version 1 and 2

Data Subject Request API Version 3

Platform API

Platform API Overview

Accounts

Apps

Audiences

Calculated Attributes

Data Points

Feeds

Field Transformations

Services

Users

Workspaces

Warehouse Sync API

Warehouse Sync API Overview

Warehouse Sync API Tutorial

Warehouse Sync API Reference

Data Mapping

Warehouse Sync SQL Reference

Warehouse Sync Troubleshooting Guide

ComposeID

Warehouse Sync API v2 Migration

Bulk Profile Deletion API Reference

Calculated Attributes Seeding API

Custom Access Roles API

Data Planning API

Group Identity API Reference

Pixel Service

Profile API

Events API

mParticle JSON Schema Reference

IDSync

Client SDKs
AMP

AMP SDK

Android

Initialization

Configuration

Network Security Configuration

Event Tracking

User Attributes

IDSync

Screen Events

Commerce Events

Location Tracking

Media

Kits

Application State and Session Management

Data Privacy Controls

Error Tracking

Opt Out

Push Notifications

WebView Integration

Logger

Preventing Blocked HTTP Traffic with CNAME

Linting Data Plans

Troubleshooting the Android SDK

API Reference

Upgrade to Version 5

Direct Url Routing

Direct URL Routing FAQ

Web

Android

iOS

Cordova

Cordova Plugin

Identity

iOS

Initialization

Configuration

Event Tracking

User Attributes

IDSync

Screen Tracking

Commerce Events

Location Tracking

Media

Kits

Application State and Session Management

Data Privacy Controls

Error Tracking

Opt Out

Push Notifications

Webview Integration

Upload Frequency

App Extensions

Preventing Blocked HTTP Traffic with CNAME

Linting Data Plans

Troubleshooting iOS SDK

Social Networks

iOS 14 Guide

iOS 15 FAQ

iOS 16 FAQ

iOS 17 FAQ

iOS 18 FAQ

API Reference

Upgrade to Version 7

Flutter

Getting Started

Usage

API Reference

React Native

Getting Started

Identity

Roku

Getting Started

Identity

Media

Xbox

Getting Started

Identity

Unity

Upload Frequency

Getting Started

Opt Out

Initialize the SDK

Event Tracking

Commerce Tracking

Error Tracking

Screen Tracking

Identity

Location Tracking

Session Management

Xamarin

Getting Started

Identity

Web

Initialization

Configuration

Content Security Policy

Event Tracking

User Attributes

IDSync

Page View Tracking

Commerce Events

Location Tracking

Media

Kits

Application State and Session Management

Data Privacy Controls

Error Tracking

Opt Out

Custom Logger

Persistence

Native Web Views

Self-Hosting

Multiple Instances

Web SDK via Google Tag Manager

Preventing Blocked HTTP Traffic with CNAME

Facebook Instant Articles

Troubleshooting the Web SDK

Browser Compatibility

Linting Data Plans

API Reference

Upgrade to Version 2 of the SDK

Web

Alexa

Media SDKs

Android

iOS

Web

Quickstart
Android

Overview

Step 1. Create an input

Step 2. Verify your input

Step 3. Set up your output

Step 4. Create a connection

Step 5. Verify your connection

Step 6. Track events

Step 7. Track user data

Step 8. Create a data plan

Step 9. Test your local app

HTTP Quick Start

Step 1. Create an input

Step 2. Create an output

Step 3. Verify output

iOS Quick Start

Overview

Step 1. Create an input

Step 2. Verify your input

Step 3. Set up your output

Step 4. Create a connection

Step 5. Verify your connection

Step 6. Track events

Step 7. Track user data

Step 8. Create a data plan

Java Quick Start

Step 1. Create an input

Step 2. Create an output

Step 3. Verify output

Node Quick Start

Step 1. Create an input

Step 2. Create an output

Step 3. Verify output

Python Quick Start

Step 1. Create an input

Step 2. Create an output

Step 3. Verify output

Web

Overview

Step 1. Create an input

Step 2. Verify your input

Step 3. Set up your output

Step 4. Create a connection

Step 5. Verify your connection

Step 6. Track events

Step 7. Track user data

Step 8. Create a data plan

Server SDKs

Node SDK

Go SDK

Python SDK

Ruby SDK

Java SDK

Tools

Linting Tools

Smartype

mParticle Command Line Interface

Guides
Partners

Introduction

Outbound Integrations

Outbound Integrations

Firehose Java SDK

Inbound Integrations

Kit Integrations

Overview

Android Kit Integration

JavaScript Kit Integration

iOS Kit Integration

Compose ID

Data Hosting Locations

Glossary

Migrate from Segment to mParticle

Migrate from Segment to mParticle

Migrate from Segment to Client-side mParticle

Migrate from Segment to Server-side mParticle

Segment-to-mParticle Migration Reference

Rules Developer Guide

API Credential Management

The Developer's Guided Journey to mParticle

Guides

Getting Started

Create an Input

Start capturing data

Connect an Event Output

Create an Audience

Connect an Audience Output

Transform and Enhance Your Data

Platform Guide
The New mParticle Experience

The new mParticle Experience

The Overview Map

Observability

Observability Overview

Observability User Guide

Observability Span Glossary

Introduction

Data Retention

Connections

Activity

Live Stream

Data Filter

Rules

Tiered Events

mParticle Users and Roles

Analytics Free Trial

Troubleshooting mParticle

Usage metering for value-based pricing (VBP)

Analytics

Introduction

Setup

Sync and Activate Analytics User Segments in mParticle

User Segment Activation

Welcome Page Announcements

Settings

Project Settings

Roles and Teammates

Organization Settings

Global Project Filters

Portfolio Analytics

Analytics Data Manager

Analytics Data Manager Overview

Events

Event Properties

User Properties

Revenue Mapping

Export Data

UTM Guide

Query Builder

Data Dictionary

Query Builder Overview

Modify Filters With And/Or Clauses

Query-time Sampling

Query Notes

Filter Where Clauses

Event vs. User Properties

Group By Clauses

Annotations

Cross-tool Compatibility

Apply All for Filter Where Clauses

Date Range and Time Settings Overview

Understanding the Screen View Event

Analyses

Analyses Introduction

Segmentation: Basics

Getting Started

Visualization Options

For Clauses

Date Range and Time Settings

Calculator

Numerical Settings

Segmentation: Advanced

Assisted Analysis

Properties Explorer

Frequency in Segmentation

Trends in Segmentation

Did [not] Perform Clauses

Cumulative vs. Non-Cumulative Analysis in Segmentation

Total Count of vs. Users Who Performed

Save Your Segmentation Analysis

Export Results in Segmentation

Explore Users from Segmentation

Funnels: Basics

Getting Started with Funnels

Group By Settings

Conversion Window

Tracking Properties

Date Range and Time Settings

Visualization Options

Interpreting a Funnel Analysis

Funnels: Advanced

Group By

Filters

Conversion over Time

Conversion Order

Trends

Funnel Direction

Multi-path Funnels

Analyze as Cohort from Funnel

Save a Funnel Analysis

Explore Users from a Funnel

Export Results from a Funnel

Cohorts

Getting Started with Cohorts

Analysis Modes

Save a Cohort Analysis

Export Results

Explore Users

Saved Analyses

Manage Analyses in Dashboards

Users

Getting Started

User Activity Timelines

Time Settings

Export Results

Save A User Analysis

Journeys

Getting Started

Event Menu

Visualization

Ending Event

Save a Journey Analysis

Dashboards

Dashboards––Getting Started

Manage Dashboards

Organize Dashboards

Dashboard Filters

Scheduled Reports

Favorites

Time and Interval Settings in Dashboards

Query Notes in Dashboards

User Aliasing

Analytics Resources

The Demo Environment

Keyboard Shortcuts

Tutorials

Analytics for Marketers

Analytics for Product Managers

Compare Conversion Across Acquisition Sources

Analyze Product Feature Usage

Identify Points of User Friction

Time-based Subscription Analysis

Dashboard Tips and Tricks

Understand Product Stickiness

Optimize User Flow with A/B Testing

User Segments

APIs

User Segments Export API

Dashboard Filter API

IDSync

IDSync Overview

Use Cases for IDSync

Components of IDSync

Store and Organize User Data

Identify Users

Default IDSync Configuration

Profile Conversion Strategy

Profile Link Strategy

Profile Isolation Strategy

Best Match Strategy

Aliasing

Data Master
Group Identity

Overview

Create and Manage Group Definitions

Introduction

Catalog

Live Stream

Data Plans

Data Plans

Blocked Data Backfill Guide

Personalization
Predictive Audiences

Predictive Audiences Overview

Using Predictive Audiences

Predictive Attributes

Predictive Attributes Overview

Create Predictive Attributes

Assess and Troubleshoot Predictions

Use Predictive Attributes in Campaigns

Introduction

Profiles

Calculated Attributes

Calculated Attributes Overview

Using Calculated Attributes

Create with AI Assistance

Calculated Attributes Reference

Audiences

Audiences Overview

Real-time Audiences

Standard Audiences

Journeys

Journeys Overview

Manage Journeys

Download an audience from a journey

Audience A/B testing from a journey

Journeys 2.0

Warehouse Sync

Data Privacy Controls

Data Subject Requests

Default Service Limits

Feeds

Cross-Account Audience Sharing

Approved Sub-Processors

Import Data with CSV Files

Import Data with CSV Files

CSV File Reference

Glossary

Video Index

Analytics (Deprecated)
Settings

Debug Console

Data Warehouse Delay Alerting

Identity Providers

Single Sign-On (SSO)

Setup Examples

Introduction

Developer Docs

Introduction

Integrations

Introduction

Rudderstack

Google Tag Manager

Segment

Data Warehouses and Data Lakes

Advanced Data Warehouse Settings

AWS Kinesis (Snowplow)

AWS Redshift (Define Your Own Schema)

AWS S3 Integration (Define Your Own Schema)

AWS S3 (Snowplow Schema)

BigQuery (Snowplow Schema)

BigQuery Firebase Schema

BigQuery (Define Your Own Schema)

GCP BigQuery Export

Snowplow Schema Overview

Snowflake (Snowplow Schema)

Snowflake (Define Your Own Schema)

APIs

Dashboard Filter API (Deprecated)

REST API

User Segments Export API (Deprecated)

SDKs

SDKs Introduction

React Native

iOS

Android

Java

JavaScript

Python

Object API

Developer Basics

Aliasing

User Segments

A user segment is a group of users who share a common characteristic or behavior (event property, user property, or event completion). They may be one-time (a one-time group that meets a set of fixed criteria, for example, “Users who logged in on Friday, May 29th”) or they may be refreshed daily (an ever-changing group that meets a set of relative criteria, for example, “Users who created an account within the last 30 days”). You may create user segments from within any Analytics tool and the segments may be used within the tools for further analysis, within Users to review the individuals in that segment, or for export via the User Segments Export API. This article describes how to create a user segment, view or manage user segments, and how to use user segments for analysis.

Note: In the User Export Segments API, the value representing one-time is Static and the value for daily is Dynamic.

Available in: Segmentation, Funnel, Cohort

Create a user segment

Segmentation

You may create a user segment in Segmentation from any result that contains at least one user. To create a user segment, click on any data point, series, or table cell within your query results, then select “Create User Segment”.

Create user segment from segmentation

  • A user segment created from a point will only include users from that particular data point.
  • A user segment created from a series will include all users from all of the data points in the selected analysis results.

Funnel

You may create a user segment in Funnel from any result that contains at least one user. To create a user segment for a funnel up to and including a particular step, click on the numerical user count located within the table along the bottom of the chart area, labeled “Count,” then select “Create User Segment”.

Create user segment from funnel

You may also select the number displayed within the circle that represents users who complete the step within the chart area, then click on the relevant path, and then select “Create User Segment.”

Create user segment from funnel step

Funnels with breakouts

There are two options for creating a user segment when the funnel query contains a group by:

  • A user segment created from a breakout selection will contain users in that particular breakout. User segment from breakout selection
  • A user segment created from the entire step will contain all users in this step, regardless of breakout. User segment from entire step

Funnels with optional steps

In a multi-path funnel, you must select a single pathway to create a user segment.

Cohort

You may create a user segment from any result that contains at least one user. A user segment created from a cohort generation will contain users in that particular cohort. This includes all of the users in the table row.

Create user segment from cohort

A user segment created from a cohort interval will contain users in the cohort who also completed the target behavior in the interval. This includes only the users in the table cell.

Create user segment from cohort interval

“Create a user segment” modal

Use the Create User Segment Modal to review the criteria that comprise your user segment, create a name, description, and category for the user segment, and select whether the segment never changes (One-time) or is updated daily (Daily).

Create user segment modal

  • This User Segment is composed of users who: … : This section describes the criteria for selecting users to be included in the segment.
  • Segment Name: Give your segment a name. It is recommended that the name be easily understood by any user within your organization.
  • Description: Provide additional context and notes here, for example, to describe how this user segment should be used or to provide business-specific context. The description will appear within the data dictionary, available within each tool.
  • Category: Define the category that your segment belongs to. For example, if the segment is related to marketing, type “Marketing.”
  • One-time vs. Daily: A user segment with an update cadence of One-time is never updated. It contains only the users that meet a set of fixed criteria. If the update cadence is Daily, the user segment is updated daily to include all users that meet a set of relative criteria. Users may enter or exit a dynamic user segment as it updates over time.

Note: A dynamic user segment will only update if it is defined by a relative date range, for example, “Users who created an account within the last 30 days.”

Analyze using a user segment

Filter where

Filter where

Filter where clauses allow you to filter an analysis by a specific value or values within an event property or user property. In the case of user segments, a “filter where” clause can be expressed in one of two ways:

  • Where users are in [segment name]: Will filter your query row to only include users who are also in the selected segment.
  • Where users are not in [segment name]: Will filter your query row to only include users who are not in the selected segment.

Group by

Group by

Group by clauses, also referred to as “breakouts,” allow you to segment data based on event properties, user properties and now user segments to better understand its context. In the case of user segments, only two values will be expressed when a “By” clause is selected:

  • [Query row name]: in [segment name]: Only includes users who are also in the selected segment.
  • [Query row name]: not in [segment name]: Only includes users who are not in the selected segment.

Manage user segments

To manage user segments, click Settings in the navigation bar, then select “User Segments.” Here, you will see all of the user segments created and saved by members of your project.

Manage user segments

  • Segment Name: A descriptive name. Analytics recommends that the name be easily understood by any user within your organization.
  • Description: Additional context and notes. For example, describing how this user segment should be used or providing business-specific context. The description appears in the data dictionary, available within each tool.
  • Category: The category that your segment belongs to.
  • Segment ID: A unique ID for use with the User Segments Export API.
  • Type: One-time or daily. A one-time user segment is never updated. It contains only the users that meet a set of fixed criteria. A daily user segment is updated daily to include all users that meet a set of relative criteria. Users may enter or exit a daily user segment as it updates over time.
  • Creator: The user who created the user segment.
  • Created (Time Zone): The time zone in which the user segment was created.

Hover over a user segment to view two additional options:

  • Open Query: Opens the original query that defines the cohort within the relevant Analytics tool.
  • View Users: Opens a list of users included in the user segment within the Users tool.

Was this page helpful?

    Last Updated: November 27, 2024