{"source":"semconv","version":"1.44.0","attribute":{"id":"device.id","type":"string","stability":"development","brief":"A unique identifier representing the device","note":"Its value SHOULD be identical for all apps on a device and it SHOULD NOT change if an app is uninstalled and re-installed.\nHowever, it might be resettable by the user for all apps on a device.\nHardware IDs (e.g. vendor-specific serial number, IMEI or MAC address) MAY be used as values.\n\nMore information about Android identifier best practices can be found in the [Android user data IDs guide](https://developer.android.com/training/articles/user-data-ids).\n\n> [!WARNING]\n>\n> This attribute may contain 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,\n> ensure you do your own due diligence.\n>\n> Due to these reasons, this identifier is not recommended for consumer applications and will likely result in rejection from both Google Play and App Store.\n> However, it may be appropriate for specific enterprise scenarios, such as kiosk devices or enterprise-managed devices, with appropriate compliance clearance.\n> Any instrumentation providing this identifier MUST implement it as an opt-in feature.\n>\n> See [`app.installation.id`](/docs/registry/attributes/app.md#app-installation-id) for a more privacy-preserving alternative.","examples":["123456789012345","01:23:45:67:89:AB"],"namespace":"device","definedIn":"model/device/registry.yaml","usedBy":[{"groupId":"entity.device","groupType":"entity","signalName":"device","requirementLevel":"opt_in"}]},"history":[{"version":"1.30.0","publishedAt":"2025-01-24T19:11:42Z","kind":"first-seen","detail":"Already present at v1.30.0, the oldest release tracked here (experimental)."},{"version":"1.31.0","publishedAt":"2025-03-11T00:53:13Z","kind":"stability-changed","detail":"Stability label respelled from experimental to development.","severity":"informational"}],"replaces":[]}