Skip to content

Advertising Identifier in the IOLib

IOLib Android requires the Advertising ID (AD_ID) to determine all INFOnline Measurement key figures (clients/visits). This ID is used to ensure measurement across all sites.

Android 13: Permission required

All apps with targetSDK version 33 (Android 13) and higher must actively declare the permission for the AD_ID in the manifest in order to be allowed to retrieve the advertising identifier from Google Play Services.

If this (install) permission is not given, a null AD_ID is passed.

If the AD_ID is not available to the IOLib, other identifiers can be used in a fallback, but these are significantly less precise and cannot be used for cross-site measurement.

Therefore, we strongly recommend to enable the Permission for the AD_ID as follows:

1
2
3
4
5
6
7
8
<manifest ...>
  <!-- Required only if your app targets Android 13 or higher. -->
  <uses-permission android:name="com.google.android.gms.permission.AD_ID"/>

  <application ...>
    ...
  </application>
</manifest>

Last update: July 18, 2023