Data Subject Request API Version 1 and 2
Data Subject Request API Version 3
Platform API Overview
Accounts
Apps
Audiences
Calculated Attributes
Data Points
Feeds
Field Transformations
Services
Users
Workspaces
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
Custom Access Roles API
Bulk Profile Deletion API Reference
Data Planning API
Group Identity API Reference
Calculated Attributes Seeding API
Pixel Service
Profile API
Events API
mParticle JSON Schema Reference
IDSync
AMP SDK
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 Plugin
Identity
Direct URL Routing FAQ
Web
Android
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
Getting Started
Identity
Upload Frequency
Getting Started
Opt Out
Initialize the SDK
Event Tracking
Commerce Tracking
Error Tracking
Screen Tracking
Identity
Location Tracking
Session Management
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
Getting Started
Identity
Web
Alexa
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
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 1. Create an input
Step 2. Create an output
Step 3. Verify output
Node SDK
Go SDK
Python SDK
Ruby SDK
Java SDK
Introduction
Outbound Integrations
Firehose Java SDK
Inbound Integrations
Compose ID
Data Hosting Locations
Glossary
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
Create an Input
Start capturing data
Connect an Event Output
Create an Audience
Connect an Audience Output
Transform and Enhance Your Data
The new mParticle Experience
The Overview Map
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)
Introduction
Sync and Activate Analytics User Segments in mParticle
User Segment Activation
Welcome Page Announcements
Project Settings
Roles and Teammates
Organization Settings
Global Project Filters
Portfolio Analytics
Analytics Data Manager Overview
Events
Event Properties
User Properties
Revenue Mapping
Export Data
UTM Guide
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 Introduction
Getting Started
Visualization Options
For Clauses
Date Range and Time Settings
Calculator
Numerical Settings
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
Getting Started with Funnels
Group By Settings
Conversion Window
Tracking Properties
Date Range and Time Settings
Visualization Options
Interpreting a Funnel Analysis
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
Saved Analyses
Manage Analyses in 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
The Demo Environment
Keyboard Shortcuts
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
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
Overview
Create and Manage Group Definitions
Introduction
Catalog
Live Stream
Data Plans
Blocked Data Backfill Guide
Predictive Attributes Overview
Create Predictive Attributes
Assess and Troubleshoot Predictions
Use Predictive Attributes in Campaigns
Predictive Audiences Overview
Using Predictive Audiences
Introduction
Profiles
Warehouse Sync
Data Privacy Controls
Data Subject Requests
Default Service Limits
Feeds
Cross-Account Audience Sharing
Approved Sub-Processors
Import Data with CSV Files
CSV File Reference
Glossary
Video Index
Single Sign-On (SSO)
Setup Examples
Introduction
Introduction
Introduction
Rudderstack
Google Tag Manager
Segment
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)
Aliasing
Event
Event
Audience
Audience
Event
Feed
Event
Cookie Sync
Audience
Audience
Audience
Audience
Event
Feed
Event
Event
Audience
Event
Data Warehouse
Event
Event
Event
Event
Audience
Event
Feed
Event
Event
Event
Event
Event
Audience
Event
Event
Feed
Event
Event
Audience
Feed
Event
Event
Event
Custom Feed
Data Warehouse
Event
Event
Audience
Audience
Audience
Event
Audience
Event
Event
Event
Event
Event
Audience
Audience
Event
Audience
Data Warehouse
Event
Event
Cookie Sync
Audience
Event
Event
Event
Event
Event
Feed
Feed
Event
Event
Event
Audience
Event
Event
Audience
Event
Event
Event
Audience
Feed
Audience
Event
Event
Audience
Audience
Event
Audience
Audience
Event
Audience
Event
Event
Event
Event
Event
Feed
Event
Event
Event
Event
Audience
Feed
Event
Event
Event
Event
Event
Event
Event
Feed
Audience
Event
Event
Custom Pixel
Feed
Event
Event
Event
Event
Event
Audience
Event
Event
Event
Data Warehouse
Event
Audience
Audience
Audience
Audience
Event
Audience
Audience
Cookie Sync
Event
Feed
Event
Audience
Event
Audience
Audience
Event
Event
Event
Event
Cookie Sync
Audience
Cookie Sync
Audience
Feed
Audience
Event
Adobe provides analytics and optimizations for mobile and web apps and brings together all marketing capabilities across Adobe Experience Cloud.
Adobe Analytics tracks Metrics, which count actions in your app and are similar to events in mParticle, and Dimensions, a broad category that covers data that in mParticle would be considered “device information”, “application information”, “event attributes”, and “user attributes”.
When setting up this integration, it’s important to understand that mParticle and Adobe take different approaches to accepting data. mParticle allows you freedom to capture custom attributes for your users and events. New event and attribute names can be added to your implementation at any time. All you have to do is send in new data.
Adobe, on the other hand, explicitly demands and enforces a data plan. Apart from a set of standard metrics and dimensions (covered below), every data point you want to track must be created in the Adobe Analytics dashboard. In particular there are four types of data points that you may need to create in Adobe:
Also unlike mParticle, where an event or attribute name can be almost any string, Adobe gives you a specific allotment of each data type with predefined keys. For example, eVars are keyed eVar1
, eVar2
, etc.
Before you start trying to set up an mParticle -> Adobe connection, you need to consider how you want to organize your data in Adobe and create the appropriate data points. A few useful Adobe resources include:
Connect your iOS, Android, or Web workspaces to Adobe Marketing Cloud. You will need to provide:
Your Tracking Server - this can be created one of two ways:
On iOS and Android, mParticle supports Adobe Analytics through a combination of an “embedded kit”, and server-side forwarding to the Data Insertion API.
Reference the Apple SDK and Android SDK guides to read more about kits.
The embedded kit supports tvOS and Fire TV apps as well as iOS and Android phones.
mParticle publishes the Adobe Marketing Cloud Kit as separate iOS and Android libraries which have a transitive dependency on the mParticle core libraries. You can add them to your app via Carthage, Cocoapods, or Gradle:
# Sample Podfile
source 'https://github.com/CocoaPods/Specs.git'
target '<Your Target>' do
# To send media data to Adobe, you must use CocoaPods since their SDKs do not support Carthage
pod 'mParticle-Adobe/AdobeMedia'
# Otherwise uncomment below for the previous non-media Adobe integration, you can integrate via Carthage or CocoaPods
# pod 'mParticle-Adobe/Adobe'
end
// Sample build.gradle
dependencies {
// To send media data to Adobe, you must use the adobemedia-kit, which also contains all functionality of the adobe-kit
compile 'com.mparticle:android-adobemedia-kit:5.31.0'
// Otherwise uncomment below for the non-media Adobe integration
// compile 'com.mparticle:android-adobe-kit:5.31.0'
}
The source code for each kit is available on Github:
mParticle’s Adobe Analytics integration supports Adobe’s Marketing Cloud ID Service. As long as you have the mParticle web SDK enabled on your website, you do not need to add any additional code to your site. The mParticle web Adobe integration will load the required Adobe javascript files — visitorAPI.js
and appmeasurement.js
— when you have set up the integration in the Dashboard.
This integration requires that data be attached to a Marketing Cloud ID (MID), which is used to send data server-side via Adobe’s Data Insertion API.
For web and native integrations, mParticle will store the MID for each device in the user’s profile. This allows for us to enrich future data with the MID, should it be omitted.
Depending on the OS, the MID is retrieved in different ways.
For iOS and Android, the embedded Adobe Marketing Cloud Kit
is able to both retrieve the user’s MID, as well as keep Adobe’s record up-to-date with all available identifiers.
MPIAdobeApi *adobe = [[MParticle sharedInstance] kitInstance:MPKitInstanceAdobe];
if (adobe) {
//access the MID
NSString *mid = adobe.marketingCloudID;
}
final AdobeApi adobe = (AdobeApi) MParticle.getInstance().getKitInstance(MParticle.ServiceProviders.ADOBE);
if (adobe != null) {
//access the MID
String mid = adobe.getMarketingCloudID();
}
On Web, you can retrieve the MID by accessing Adobe’s visitorAPI.js
directly. Since multiple instances can be active on a page at once, you will need to get an instance using the appropriate Marketing Cloud Organization ID and use the getMarketingCloudVisitorID() method.
For other OSs — such as Roku — the MID will either need to:
integration_attributes
field. For S2S requests, the JSON Reference Docs will have more information.For the native integrations, the embedded kit retrieves the Adobe Marketing Cloud ID (MID) for the user, but sends no data directly to Adobe. All data forwarding is done server-to-server via GET
requests to Adobe’s Data Insertion API.
On web, the Marketing Cloud ID is always retrieved using client-side code, but you can choose to send data to Adobe either client-side or the server-side, via the Forward Web Requests Server Side Connection Setting. If you are using a snippet to load the mParticle web SDK, simply clicking this setting is enough to send data server side. If you are self-hosting, there is an additional step. We offer 2 different npm modules, one to send data to Adobe client-side, and another to send it server-side. To send data server side in a self-hosting environment, you must both check the setting and use the server-side kit. Checking the setting and using the client side kit may result in duplicate data, with the client sending the data, and then our servers also sending the data.
Once you have created your data plan in Adobe, you need to map mParticle event and attribute names to their counterparts in Adobe. Mapping for a limited set of standard events and attributes are handled automatically. We’ll cover these later. Your custom events and attributes need to be mapped manually.
There are two basic approaches you can take:
Our recommended approach for new implementations is to send as much data as possible using Context Variables and rely on Processing Rules in Adobe to map mParticle data to Adobe. We recommend this approach for three reasons:
eVar1
, eVar2
, etc) but to know what eVar1
is, you need to go to the Adobe dashboard. Your mapping will be easier to set up and maintain if you do it with Processing Rules, where all the information you need is available.To use this approach, just don’t create any event or variable mappings in the Connection Settings dialog. Once data starts flowing into Adobe, you can use Context Variables to map mParticle data to your Adobe Metrics and Dimensions. See below for the variable names mParticle uses to forward data to Adobe.
It is also possible to directly map mParticle event and attribute names to Adobe events, eVars, props and hiers. You can create these mappings in the Connection Settings.
‘Metrics’ in Adobe are similar to events in mParticle. They count the number of times something happens in your app. mParticle uses data collected by our Application State Transition and Crash Report events to forward a complete set of standard mobile metrics to Adobe.
Note that some of these metrics will automatically be available in your reporting suite, others will require a Processing Rule.
Adobe Metric | Adobe Context Variable | Processing Rule Required | mParticle mapping |
---|---|---|---|
First Launches | a.InstallEvent |
No | Forwarded when mParticle detects an install or reinstall |
Upgrades | a.UpgradeEvent |
Forwarded when mParticle detects a version number change | |
Daily Engaged Users | a.DailyEngUserEvent |
Yes | Forwarded the first time the application is used on a given device on a given calendar day |
Monthly Engaged Users | a.MonthlyEngUserEvent |
Yes | Forwarded the first time the application is used on a given device in a given calendar month |
Launches | a.LaunchEvent |
No | Forwarded on every App Init or Foreground that is not an install or upgrade. |
Crashes | a.CrashEvent |
No | Forwarded every time mParticle receives a Crash Report event. |
Previous Session Length | a.PrevSessionLength |
No | Whenever an Application Init or Foreground starts a new session, mParticle forwards the total foreground length of the previous session in seconds. |
For Android and FireTV installs, mParticle forwards UTM Referrer information to Adobe:
Adobe Dimension | Adobe Context Variable | mParticle mapping |
---|---|---|
Campaign | a.referrer.campaign.name |
application_info.install_referrer |
Campaign Content | a.referrer.campaign.content |
application_info.install_referrer |
Campaign Medium | a.referrer.campaign.medium |
application_info.install_referrer |
Campaign Source | a.referrer.campaign.source |
application_info.install_referrer |
Campaign Term | a.referrer.campaign.term |
application_info.install_referrer |
For Web page view events, mParticle forwards UTM Referrer information to Adobe. The data should be sent in a custom flag with the following format: utm_campaign=my_campaign&utm_source=google&utm_medium=cpc&utm_term=my_keyword&utm_content=ad_variation1
.
Adobe Dimension | Adobe Context Variable | Custom Flag |
---|---|---|
Campaign | a.referrer.campaign.name |
Adobe.UTM |
Campaign Content | a.referrer.campaign.content |
Adobe.UTM |
Campaign Medium | a.referrer.campaign.medium |
Adobe.UTM |
Campaign Source | a.referrer.campaign.source |
Adobe.UTM |
Campaign Term | a.referrer.campaign.term |
Adobe.UTM |
For Web page view events, mParticle forwards Referrer URL information to Adobe:
Adobe Dimension | Adobe Variable | Custom Flag |
---|---|---|
Referrer | r |
Adobe.Referrer |
mp
VariablesmParticle forwards a common set of context variables with every native event. These context variables are prefixed with mp.
To display any of these variables in your reporting suite, you will need to create a Processing Rule.
Adobe Context Variable Name | mParticle mapping |
---|---|
iOS & tvOS | |
mp.AdvertisingIdentifier | device_info.ios_advertising_id |
mp.VendorIdentifier | device_info.idfv |
Android & Fire TV | |
mp.GoogleAdvertisingIdentifier | device_info.android_advertising_id |
Adobe Context Variable Name | mParticle mapping |
---|---|
mp.LocaleCountry | device_info.locale_country |
mp.LocaleLanguage | device_info.locale_language |
mp.DeviceManufacturer | device_info.device_manufacturer |
mp.DeviceName | device_info.device |
mp.AppName | application_info.application_name |
mp.PackageName | application_info.package |
mp.AppVersion | application_info.application_version |
mParticle always forwards the following user context variables if available:
FirstName
LastName
Gender
Age
Country
Zip
City
State
Address
Mobile
mParticle will always forward the HTTP user agent included in your Events API data. Adobe will surface user agent in reports and you can use Adobe’s IAB and custom bot filtering to filter your data based on this string.
Please see the Events API documentation for how to properly populate the user agent field in Event API uploads.
mParticle will forward timestamps to Adobe if you have configured Timestamps Allowed or Timestamps Optional in your Configuration Settings
Adobe Context Variable Name | mParticle mapping |
---|---|
ts |
The unix event timestamp in seconds |
t |
A string giving local time. See the Data Insertion API docs for format details. |
Note that since the client-side Web Integration actually sends data directly via Adobe’s javascript, mParticle does not pass a long list of automatically collected device information in the same way as the native integration. Instead, Adobe automatically collects the information it needs from the browser client. See Adobe’s Page Variables docs for more information
Once your Adobe integration is set up, logging an event in mParticle is roughly equivalent to a trackAction
call using the Adobe SDK. See Adobe’s track action docs for iOS and Android.
// Logging this event in mParticle...
MPEvent *event = [[MPEvent alloc] initWithName:@"Viewed Video"
type:MPEventTypeTransaction];
event.info = @{@"category":@"Destination Intro",
@"destination":@"Paris"};
[[MParticle sharedInstance] logEvent:event];
// ...is roughly equivalent to this trackAction call to the Adobe SDK
NSMutableDictionary *contextData = [NSMutableDictionary dictionary];
[contextData setObject:@"Destination Intro" forKey:@"category"];
[contextData setObject:@"Paris" forKey:@"destination"];
[ADBMobile trackAction:@"Viewed Video" data:contextData];
// Logging this event in mParticle...
Map<String, String> eventInfo = new HashMap<String, String>(2);
eventInfo.put("category", "Destination Intro");
eventInfo.put("destination", "Paris");
MPEvent event = new MPEvent.Builder("Video Watched", EventType.Other)
.info(eventInfo)
.build();
MParticle.getInstance().logEvent(event);
// ...is equivalent to this trackAction() call to the Adobe SDK
HashMap<String, Object> contextData = new HashMap<String, Object>();
contextData.put("category", "Destination Intro");
contextData.put("destination", "Paris");
Analytics.trackAction("Viewed Video", contextData);
/*
Assuming the following connection settings
"Viewed Video" -> "event1"
"category" -> "prop2"
"destination" -> "eVar2"
Forward Events Server Side = false
*/
// Logging this event in mParticle...
mParticle.logEvent('Viewed Video', mParticle.EventType.Other, {category: 'Destination Intro', destination: 'Paris'});
// ...is equivalent to this Adobe code
window.s.events = 'event1'
window.s.prop2 = 'Destination Intro'
window.s.eVar2 = 'Paris'
window.s.linkTrackVars = 'eVar2, prop1, events, pageName'
window.s.t();
window.s.clearVars();
/*
Assuming the following connection settings:
No Mappings
Forward Events Server Side = true
Data will be forwarded server side via the Insertion API with the following context variables:
"action" : "Viewed Video",
"category": "Destination Intro",
"destination": "Paris"
*/
Custom events are forwarded to Adobe as follows:
a.action = <event name>
.Once your Adobe integration is set up, logging a screen view in mParticle is roughly equivalent to a trackState
call using the Adobe SDK. See Adobe’s track state docs for iOS and Android.
// Logging this screen view in mParticle...
NSDictionary *screenInfo = @{@"rating":@"5",
@"property_type":@"hotel"};
[[MParticle sharedInstance] logScreen:@"Destination Details"
eventInfo:screenInfo];
// ...is equivalent to this trackState call to the Adobe SDK
NSMutableDictionary *contextData = [NSMutableDictionary dictionary];
[contextData setObject:@"logged in" forKey:@"myapp.login.LoginStatus"];
[contextData setObject:@"logged in" forKey:@"myapp.login.LoginStatus"];
[ADBMobile trackState:@"Destination Details" data:contextData];
// Logging this screen view in mParticle...
Map<String, String> screenInfo = new HashMap<String, String>();
screenInfo.put("rating", "5");
screenInfo.put("property_type", "hotel");
MParticle.getInstance().logScreen("Destination Details", screenInfo);
// ...is equivalent to this trackState() call to the Adobe SDK
HashMap<String, Object> contextData = new HashMap<String, Object>();
contextData.put("rating", "5");
contextData.put("property_type", "hotel");
Analytics.trackState("Destination Details", contextData);
/*
Assuming the following connection settings
"rating" -> "prop1"
"property_type" -> "eVar1"
Forward Events Server Side = false
*/
// Logging this page view in mParticle...
mParticle.logPageView('Destination Details', {rating: 'five', property_type: 'hotel'});
// ...is equivalent to this Adobe code
window.s.prop1 = 'five';
window.s.eVar1 = 'hotel';
window.s.pageName = 'Destination Details'; // if no pageName is provided, "PageView" will be sent to Adobe
window.s.t(); // logs the current window object with Adobe
window.s.clearVars(); //clears the current window object so the next event can be logged
/*
Assuming the following connection settings:
No Mappings
Forward Events Server Side = true
Data will be forwarded server side via the Insertion API with the following context variables:
"pageName" : "Destination Details",
"rating": "5",
"property_type": "hotel"
*/
Screen Views are forwarded to Adobe as follows:
screen view
event to a custom success
event in the Connection Settings, mParticle will forward it as the mapped event number, as if it were a custom event. If not, then the screen view
event in mParticle is mapped to the Page View
metric in Adobe, and the corresponding screen name
event attribute in mParticle is mapped to the pageName
context variable.mParticle’s Product Action values map to standard Adobe events and do not require Processing Rules to make them available in your reporting suite.
Adobe Metric | mParticle Commerce Product Action |
---|---|
prodView |
View Detail |
scAdd |
Add to Cart |
scRemove |
Remove from Cart |
purchase |
Purchase |
scCheckout |
Checkout |
Products are forwarded to Adobe as a specially formatted string, with the product’s attributes separated by the ;
character as follows:
<product.category>;<product.id (or product.name if unavailable)>;<product.quantity>;<product.total_product_amount>;<product incrementors>;<merchandising variables>
All fields are optional. We’ll deal with product incrementors and merchandising variables below. For now, an example of a products variable for 2 flights from New York to Ibiza, at $400 each, might look like this:
&&products=flights;JFK-IBZ;2;800
Adobe Context Variable Name | mParticle mapping |
---|---|
mp.transactionId |
product_action.transaction_id |
mp.couponCode |
product_action.coupon_code |
mp.affiliation |
product_action.affiliation |
mp.shippingAmount |
product_action.shipping_amount |
mp.tax |
product_action.tax_amount |
mp.revenue |
product_action.total_amount |
Product attributes can also be mapped to product-specific events. Product-specific events are generally of the ‘incrementor’ or ‘currency’ type. See Adobe’s docs on counter, incrementor and currency events for more info. To set a product specific event you will need to have set up the event number in Adobe beforehand.
Example:
mPtravel lets users earn reward cash when they make purchases. A custom product attribute — reward_cash
— is used to track the reward value of each product. These rewards can be tracked in Adobe using a product-specific event. In Mobile App settings, allocate event1
to “Reward Cash”, and set type to “Decimal Number”.
In the Product Incrementors section of the mParticle Connection Settings, map the reward_cash
variable to event1
. Now, a product variable forwarded to Adobe will look like:
&&products=flights;JFK-IBZ;2;800;event1=9.34
Merchandising Variables are eVars tied to products, that help you track revenue for segments or categories of products. You can map any Product Attribute to a Merchandising Variable in the Connection Settings. As with Product Incrementors, you need to have set these up in the Adobe dashboard.
Example:
mPtravel periodically puts flight packages on sale. A custom product attribute sale_name
is used to track when a product is part of a sale. By creating sale_name
as a Merchandising Variable in Adobe, it is possible to analyse the overall revenue generated by a particular sale.
In the Merchandising Variables section of the mParticle Connection Settings, map the sale_name
variable to evar1
.
Now, a product variable forwarded to Adobe will look like:
&&products=flights;JFK-IBZ;2;800;event1=9.34;evar1=Super Spring Sale
Custom Flag | Data Type | Description |
---|---|---|
Adobe.PageName |
string |
The value assigned to pageName in the payload sent to Adobe. If no value is passed for custom and commerce events, then window.document.title will be used. If no value is passed for logPageView calls, the event name passed to logPageView is used, otherwise PageView is sent. |
Adobe.LinkName |
string |
The value assigned to the linkName parameter (pev2 ). If no value is passed, this will remain empty. |
mParticle calculated attributes are supported for events. //If the integration also supports audience, modify to say that CA is supported for audiences and events.
For more information, see Calculated Attributes.
Setting Name | Data Type | Default Value | Description |
---|---|---|---|
Report Suite IDs | string |
The report suite ID from Adobe settings page. Multiple IDs can be entered, separated by commas | |
Tracking Server | string |
The URL of the Adobe tracking server | |
Experience Cloud Identity Server | string |
Set the domain name used by calls to the Experience Cloud Identity Service. By default this value is “dpm.demdex.net”. Enter the full value (ie. “YourSubdomainName.demdex.net”), and not just the subdomain. | |
Send Messages Securely | bool |
True | If enabled, mParticle will forward all data to Adobe using SSL |
Timestamp Enabled | enum |
Timestamps Optional | Matches your Reporting Suite’s timestamp settings. A report suite can have its timestamps configured as one of: not allowed, required, or optional. Timestamps Optional is the default setting for all new report suites. |
Setting Name | Data Type | Default Value | Platform | Description |
---|---|---|---|---|
User Identification | enum |
Marketing Cloud ID | All | Type of ID to forward to Adobe. Currently, only Marketing Cloud ID is supported. |
Marketing Cloud Organization ID | string |
All | Your Adobe Marketing Cloud Organization ID, available from your Adobe Marketing Cloud dashboard. | |
Adobe Launch App ID | string |
iOS, Android | Adobe Launch App ID is used to initialize and configure your Adobe Mobile Core and Media Analytics. You can find it within the Environment Tab of your Mobile property within the Adobe Launch Platform. | |
Media Tracking Server | string |
Web | Tracking server for media analytics. This is different from your analytics tracking server. When this is filled in, we will load Adobe Heartbeat. If you do not want Adobe Heartbeat functionality, leave this blank. | |
Context Variables | Custom Field |
All | Mapping of your application’s event attributes to Adobe context variables | |
Events | Custom Field |
All | Mapping of your application’s custom event names to Adobe event numbers | |
Props | Custom Field |
All | Mapping of your application’s custom event attributes to Adobe props | |
eVars | Custom Field |
All | Mapping of your application’s custom event attributes to Adobe eVars | |
Hier Variables | Custom Field |
All | Mapping of your application’s screen view attributes to Adobe hier variables | |
Product Incrementors | Custom Field |
All | Mapping of your application’s custom event names to Adobe product incrementor event numbers | |
Merchandising Variables | Custom Field |
All | Mapping of your application’s event attributes to Adobe product merchandising | |
Page Specific Product Actions (deprecated) | Custom Field |
iOS, Android, tvOS, FireTV | Allows you to log eCommerce events as trackState (screen view), rather than trackAction . This is mostly useful for Promotion or Impression events. |
|
Forward as Track State Events | Custom Field |
iOS, Android, tvOS, FireTV | Allows you to log eCommerce events as trackState (screen view), rather than trackAction . This is mostly useful for Promotion or Impression events. |
|
Extend Commerce Event Attributes | bool |
false |
All | When enabled, mParticle will add additional commerce and product action attributes to customer-mapped commerce events. |
Attach pageName to non-page view event logging | bool |
false |
Web | Attach pageName to non-page view event logging. |
Set Global Window Object | bool |
true |
Web | Set the instance of AppMeasurement created by this connection to the global window.s object. |
Set trackExternalLinks | bool |
false |
Web | Automatically track all exit links. |
Forward Web Requests Server Side | bool |
false |
Web | If enabled, mParticle will not initialize the full Adobe integration on the web client. Instead, web data will be forwarded to Adobe via server-to-server API. If self-hosting, it is required to use the Adobe server-side kit, along with this setting. See Data Mapping for more details. |