If one person appears as three users, every retention curve and DAU figure is wrong. The usual cause is an unstable device ID, and it is easy to miss because nothing breaks on screen.
Two recent Amplitude-Swift releases touch this directly. Version 1.19.0 (10 September 2026) lets you set the user ID and device ID from Configuration. Version 1.19.2 (28 September 2026) ignores a redacted MAC address as the device ID on macOS 27. Both changes make it worth measuring how stable your identifiers really are.
Data Points to Track
- device_id_source: generated, configuration or restored
- device_id_changed: true when the ID differs from the last session
- device_id_age_days: days since the ID was first created
- user_id_set_at: timestamp when a user ID was attached
- id_set_via_configuration: true when you passed IDs at start-up
- redacted_hardware_id_ignored: true when a placeholder value was skipped
- os_version: iOS, macOS or tvOS version
- sdk_version: Amplitude-Swift version
- reinstall_detected: true on first launch with a known user ID
- users_per_person_estimate: distinct device IDs per logged-in user
Setup Steps
- Upgrade to Amplitude-Swift 1.19.2 or later, and ideally 1.19.3.
- Decide who owns the ID. Either let the SDK generate it or pass your own in
Configuration. - Store your own ID in the Keychain if you set it yourself, so it survives reinstalls where appropriate.
- Send
device_id_sourceas an event property on the first event of each session. - Log a
device_id_changedevent whenever the ID differs from the previous launch. - Test on macOS 27 and confirm no placeholder hardware value becomes the ID.
- Create a chart of devices per logged-in user, by SDK version.
- Review it after every release.
Actionable Insights
More than one device per user is normal, since people own phones and tablets. A rising average after a release is not, and usually means IDs are resetting.
If many users show a changed ID on launch, check whether your start-up code sets the ID too late, after the first event has already gone out.
A cluster of users sharing one device ID is a red flag for a placeholder value. Look at the OS version for the pattern.
Fixing ID stability will make your active user numbers fall. That is a correction, not a loss, so tell your team before the chart changes.
How to Check Your History
Pick a week before the upgrade and a week after. Compare unique users, new users and returning users. A one-off drop in new users together with a rise in returning users is the signature of cleaner IDs.
Common Pitfalls
Do not set the user ID before consent where your policy requires it.
Do not reuse one hard-coded device ID in test builds that reach production.
Do not merge profiles without keeping a record of the old ID.
Who Should Own This Metric
Assign one person to look after identity quality. Without an owner, ID problems surface only when finance asks why monthly active users fell. Put the devices-per-user chart on your regular product review and note every SDK upgrade next to it, so changes in the line always have an explanation.