Instance Property

isAdvertisingTrackingEnabled

A Boolean value that indicates whether the user has limited ad tracking.

Declaration

var isAdvertisingTrackingEnabled: Bool { get }

Discussion

Check the value of this property before performing any advertising tracking. If the value is false, use the advertising identifier only for the following purposes: frequency capping, attribution, conversion events, estimating the number of unique users, advertising fraud detection, and debugging.

See Also

Getting the Advertising Identifier

var advertisingIdentifier: UUID

An alphanumeric string unique to each device, used only for serving advertisements.

func clearAdvertisingIdentifier()

Clears the app's current advertising identifier, forcing the creation of a new advertising identifier the next time you need one.