How to get the Android Advertising ID or iOS IDFA through a mobile website?

ed9er picture ed9er · Sep 24, 2015 · Viewed 9.9k times · Source

I've been googling this for a while and can not find a definitive answer.

AAID or IDFA is the key of publisher monetization. Without it, publishers have to fall back to the old-fashion cookie matching, which is inefficient (in terms of latency and bandwidth usage) and inefficient (in terms of dataset, since mobile user behavior is mostly associated with AAID/IDFA now, instead of cookies)

One can expect that the default browser in Android/iOS (Chrome/Safari) should provide some Javascript interface for web pages to retrieve this crucial (for publisher) and insensitive (for user) ID. However, I failed to find such thing. Maybe they're pushing developers to native mobile app development.

So, is there any way that I can get AAID/IDFA in web pages? Or is there any other way I can associate the visitor with AAID/IDFA?

Answer