https://ns.adobe.com/xdm/context/application
Details related to the application generated interactions. Application refers to a software experience, such as a mobile or desktop application that can be installed, run, closed, or uninstalled by an end user. Details are not intended to describe agents such as chatbots, browser-based plugins, or other experiences that do not apply to applications.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Stable | No | Forbidden | Permitted | datatypes/application.schema.json |
- Application
https://ns.adobe.com/xdm/context/application
- Extensibility base schema
https://ns.adobe.com/xdm/common/extensible
- Measure
https://ns.adobe.com/xdm/data/measure
- Extensibility base schema
{
"xdm:id": "A123",
"xdm:name": "Myapp",
"xdm:version": "1.0.1",
"xdm:isLaunch": true,
"xdm:userPerspective": "foreground"
}
{
"xdm:id": "A123",
"xdm:name": "Myapp",
"xdm:version": "1.0.1"
}
{
"xdm:id": "A123",
"xdm:name": "Myapp",
"xdm:version": "1.0.1",
"xdm:isClose": true,
"xdm:closeType": "close",
"xdm:sessionlength": 5030
}
Property | Type | Required | Defined by |
---|---|---|---|
xdm:applicationCloses | Measure | Optional | Application (this schema) |
xdm:closeType | enum |
Optional | Application (this schema) |
xdm:crashes | Measure | Optional | Application (this schema) |
xdm:featureUsages | Measure | Optional | Application (this schema) |
xdm:firstLaunches | Measure | Optional | Application (this schema) |
xdm:id | string |
Optional | Application (this schema) |
xdm:installs | Measure | Optional | Application (this schema) |
xdm:isClose | boolean |
Optional | Application (this schema) |
xdm:isInstall | boolean |
Optional | Application (this schema) |
xdm:isLaunch | boolean |
Optional | Application (this schema) |
xdm:isUpgrade | boolean |
Optional | Application (this schema) |
xdm:launches | Measure | Optional | Application (this schema) |
xdm:name | string |
Optional | Application (this schema) |
xdm:sessionLength | integer |
Optional | Application (this schema) |
xdm:upgrades | Measure | Optional | Application (this schema) |
xdm:userPerspective | enum |
Optional | Application (this schema) |
xdm:version | string |
Optional | Application (this schema) |
* |
any | Additional | this schema allows additional properties |
Graceful termination of an application.
xdm:applicationCloses
- is optional
- type: Measure
- defined in this schema
- Measure –
https://ns.adobe.com/xdm/data/measure
Type of application close, sent on application isClose. Type is 'close' on graceful termination of an application, or 'unknown' when application termination source is unknown.
xdm:closeType
- is optional
- type:
enum
- defined in this schema
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
close |
Close |
unknown |
Unknown |
Triggered when the application does not exit gracefully. Event is sent on application launch after a crash.
xdm:crashes
- is optional
- type: Measure
- defined in this schema
- Measure –
https://ns.adobe.com/xdm/data/measure
Activation of an application feature that is being measured.
xdm:featureUsages
- is optional
- type: Measure
- defined in this schema
- Measure –
https://ns.adobe.com/xdm/data/measure
Triggered on first launch after install.
xdm:firstLaunches
- is optional
- type: Measure
- defined in this schema
- Measure –
https://ns.adobe.com/xdm/data/measure
Identifier of the application.
xdm:id
- is optional
- type:
string
- defined in this schema
string
Install of an application on a device where the specific install event is available.
xdm:installs
- is optional
- type: Measure
- defined in this schema
- Measure –
https://ns.adobe.com/xdm/data/measure
Close of an application.
xdm:isClose
- is optional
- type:
boolean
- defined in this schema
boolean
Install of an application.
xdm:isInstall
- is optional
- type:
boolean
- defined in this schema
boolean
Launch of an application.
xdm:isLaunch
- is optional
- type:
boolean
- defined in this schema
boolean
Upgrade of an application.
xdm:isUpgrade
- is optional
- type:
boolean
- defined in this schema
boolean
Launch of an application. Triggered on every run, including crashes and installs. Also triggered on a resume from background when the session timeout has been exceeded.
xdm:launches
- is optional
- type: Measure
- defined in this schema
- Measure –
https://ns.adobe.com/xdm/data/measure
Name of the application.
xdm:name
- is optional
- type:
string
- defined in this schema
string
Length of the application session in seconds. Usually referred as the time the application was in foreground.
xdm:sessionLength
- is optional
- type:
integer
- defined in this schema
integer
- minimum value:
0
Upgrade of an application that has previously been installed. Triggered on first launch after upgrade.
xdm:upgrades
- is optional
- type: Measure
- defined in this schema
- Measure –
https://ns.adobe.com/xdm/data/measure
The perspective/physical relationship between the user and the app/brand at the time the event happened. The most common are the app being in the foreground with the user directly interacting with it vs the app being in the background and still generating events. Detached means the event was related to the app but didn't come directly from the app like the sending of an email or push notification from an external system. Understanding the perspective of the user in relation to the app helps with accuratly generating sessions as the majority of the time you will not want to include background and detached events as part of an active session.
xdm:userPerspective
- is optional
- type:
enum
- defined in this schema
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
foreground |
Foreground |
background |
Background |
detached |
Detached |
Version of the application.
xdm:version
- is optional
- type:
string
- defined in this schema
string