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

Data Planning API

Custom Access Roles 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

Cordova

Cordova Plugin

Identity

Direct Url Routing

Direct URL Routing FAQ

Web

Android

iOS

Flutter

Getting Started

Usage

API Reference

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

React Native

Getting Started

Identity

Roku

Getting Started

Identity

Media

Unity

Upload Frequency

Getting Started

Opt Out

Initialize the SDK

Event Tracking

Commerce Tracking

Error Tracking

Screen Tracking

Identity

Location Tracking

Session Management

Xbox

Getting Started

Identity

Web

Initialization

Content Security Policy

Configuration

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

Xamarin

Getting Started

Identity

Web

Alexa

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

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

Python Quick Start

Step 1. Create an input

Step 2. Create an output

Step 3. Verify output

Media SDKs

Android

iOS

Web

Server SDKs

Node SDK

Go SDK

Python SDK

Ruby SDK

Java SDK

Tools

Linting Tools

mParticle Command Line Interface

Smartype

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

Glossary

Data Hosting Locations

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

Journeys

Getting Started

Event Menu

Visualization

Ending Event

Save a Journey Analysis

Users

Getting Started

User Activity Timelines

Time Settings

Export Results

Save A User Analysis

Dashboards

Dashboards––Getting Started

Manage Dashboards

Dashboard Filters

Organize Dashboards

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 Attributes

Predictive Attributes Overview

Create Predictive Attributes

Assess and Troubleshoot Predictions

Use Predictive Attributes in Campaigns

Predictive Audiences

Predictive Audiences Overview

Using Predictive Audiences

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)
Identity Providers

Single Sign-On (SSO)

Setup Examples

Settings

Debug Console

Data Warehouse Delay Alerting

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

Snowflake (Snowplow Schema)

Snowplow Schema Overview

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

Data Retention

mParticle provides data retention policies for the data you store. Two main data classes provide information about your users and the events they trigger: profile data and event data.

Profile data

Data about users are stored as attributes of individual profiles. These attributes include identities, device types and IDs, and several custom attributes such as membership status and demographic information. An attribute value may not be current, depending on how often it is updated.

For more information about how profile data is associated with users, see Store and Organize User Data.

Event data

Events describe actions that your users have taken. Event data is stored as attributes of event types. The value of an event data attribute is valid at the moment the event was triggered. For example, the event “Sign up” could have an event attribute of “membership tier,” the membership status at the time of signing up.

A complete description of the mParticle event schema is in JSON Schema.

Data retention limits

The maximum period that mParticle stores profile and event data is governed by your long-term data retention policy, which is defined in your contract. Usually, the long-term data retention policy is the same for event and profile data. However, you can have different ranges for added control and flexibility for events and profile data. For example, during org and account setup, you can set long-term data retention for events at two years and reduce the time profile data is available to 12 months.

Retention Limit
Description
Features Affected
Long-term retention for events The date range during which events are stored in mParticle.
Scope: org
Default values: none
Event connections
Data replays
UAV - events view
Standard audiences
Event data for Personalization features (calculated attributes, audiences, journeys) with Unlimited Lookback
Long-term retention for profiles The date range during which profiles are stored in mParticle and available for real-time data evaluation.
Scope: account
Default value: long-term retention for events. Can be changed upon request.
Real-time profile enrichment
Profile API
UAV profile search and view
Membership lifetime in audiences and calculated attributes

Another factor may affect the data that is available for audiences: the Real-Time Audience Storage Lookback specified in your contract. Typically it is set to 30, 60, or 90 days, but can be changed. It is also overridden by Unlimited Lookback. See Data retention and Unlimited Lookback for details.

Data retention and Unlimited Lookback

Unlimited Lookback is a premium feature that extends your audience and calculated attribute lookback to your long-term retention for events. Without this feature, audience lookback is limited to the Real-Time Audience Storage Lookback specified in your contract.

Data retention for personalization features (audiences, journeys, and calculated attributes) behaves differently depending on whether or not your account has the Unlimited Lookback feature enabled:

  • Unlimited Lookback:

    • Uses long-term data retention for events.
    • All events in the date range for your long-term data retention for events are available for data evaluations.
    • In the criteria builder, the number of days you specify for recency can go back to the long-term data retention for events.
    • When a personalization feature (journey, audience, or calculated attribute) is activated, it is initialized using data available for the entire range specified by your long-term data retention for events. For the initialization of personalization items, a longer lookback usually means larger data volume, which may incur an additional expense.
    • To help with cost estimation, you can set an estimated lookback value. This informational value alerts anyone creating a calculated attribute when a specified date range exceeds that organization’s expected date range.
  • Without Unlimited Lookback:

    • mParticle uses the Real-time Audience Storage Lookback for real-time evaluation, which is specified in your contract and is often set to 30, 60, or 90 days.
    • The behavior described for Unlimited Lookback features is not available.

Examples with no Unlimited Lookback

  • If your long-term retention for events is set to two years, you can view events that occurred up to two years ago.
  • If your long-term retention for profiles is set to seven days, if a user has no activity for more than seven days, then the profile data for that user expires and isn’t available for calculated attributes, journeys, or real-time profile enrichment.

Examples with Unlimited Lookback

  • If your long-term retention for events is set to two years, audiences, journeys, and calculated attributes are initialized using data up to the long-term retention for events and long-term retention for profiles.
  • When choosing a recency or frequency value in the criteria builder for audiences or journeys, you can specify a value up to the long-term retention for events.

Date range measurement

mParticle determines the beginning of a date range for retention purposes differently for event and profile data:

  • Event data: The event batch timestamp (timestamp_unixtime_ms) added to the top level of every batch, representing the time the batch was received by mParticle. Note this is different from the timestamp associated with an individual event.
  • Profile data: The last time a profile was updated by an inbound data stream. For example, a profile may be created, attributes may be added, updated, or deleted, or other profile information may change. Each change triggers a timestamp change.

Events and profiles need different ways of calculating age because an event isn’t usually updated. Since several processes may modify a profile’s timestamp, the date is measured differently than event data.

Date range example

Assume the following facts:

  • A screen view event (screen_view) occurred and is time-stamped 1657934165001 (6 June 2023, at 21:29:24).
  • This event was received by mParticle (ingested) in a batch time-stamped 1657934165102 (6 June 2023, at 21:30:55).
  • Your long-term data retention for events is two years.

In this example, mParticle keeps the event available until 1749270655 (6 June 2025, at 21:30:55).

Was this page helpful?

    Last Updated: December 20, 2024