Describes device attributes.
Attribute | Type | Description | Examples | Stability |
---|---|---|---|---|
device.id |
string | A unique identifier representing the device [1] | 123456789012345 ; 01:23:45:67:89:AB |
|
device.manufacturer |
string | The name of the device manufacturer [2] | Apple ; Samsung |
|
device.model.identifier |
string | The model identifier for the device [3] | iPhone3,4 ; SM-G920F |
|
device.model.name |
string | The marketing name for the device model [4] | iPhone 6s Plus ; Samsung Galaxy S6 |
[1] device.id
: The device.id
SHOULD NOT be used in most user-facing applications due to privacy regulations.
Consequently, instrumentations that provide it MUST provide it as an opt-in feature.
Its value SHOULD be identical for all apps on a device and it SHOULD NOT change if an app is uninstalled and re-installed. However, it might be resettable by the user for all apps on a device. Hardware IDs (e.g. vendor-specific serial number, IMEI or MAC address) MIGHT be used as values.
More information about Android identifier best practices can be found here.
Warning
This attribute contains sensitive (PII) information. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply,
ensure you do your own due diligence.
See app.installation.id
as a more privacy-preserving alternative.
[2] device.manufacturer
: The Android OS provides this field via Build. iOS apps SHOULD hardcode the value Apple
.
[3] device.model.identifier
: It's recommended this value represents a machine-readable version of the model identifier rather than the market or consumer-friendly name of the device.
[4] device.model.name
: It's recommended this value represents a human-readable version of the device model rather than a machine-readable alternative.