Since Umajin 3.3.1, we support using the Advertising ID on iOS and Android.
Correct Usage & App Store Policies
These IDs can be used for either actual advertising, or for analytics tracking app installs and usage. Although Umajin does not enforce correct usage, this is a high-profile issue on the app stores and you will need to make sure your app does comply to Apple and Google policies.
This is only available in published apps, not in Umajin Editor Lite.
This is because use of the advertising ID requires a privacy and usage commitment from the person publishing the app, when submitting to the store. Umajin cannot make that commitment on your behalf.
How to obtain Advertising ID and “Tracking Limited”
use the Javascript API getGlobal to get the properties:
- advertising_id
- advertising_tracking_limited
You may also find it useful to get some other related properties
- device_id – corresponds to the IDFV and ANDROID_ID
- is_published – returns true if the app has been published (ie standalone, not running inside Umajin Editor or Umajin Editor Lite)
Device ID
The getGlobal( “device_id”) property uniquely identifies a device (phone, tablet, PC, mac). It is available on all platforms, but the uniqueness varies across platforms. This can change over time due to platform upgrades, especially on mobile where privacy is a big concern.
Platform | Returns the value from… | Uniqueness |
Windows | Security ID of the PC | Unique to each PC, the same across all apps. |
Mac | Mac serial number | Unique to each Mac, the same across all apps. |
iOS | Identifier for Vendor (IDFV) | Unique to each device and to each app publishing organization. |
Android | ANDROID_ID | Unique to each device and to each app publishing organization.
|