Managed Consent
Handle consent using AATKit managed consent
Introduction
let configuration = AATConfiguration()
configuration.delegate = self
let cmp = <INSTANCE OF AATCMPGoogle OR AATCMPSourcepoint OR AATCMPAppConsent>
var consent = AATManagedConsent(cmp: cmp, delegate: self, showIfNeededSetting: .always)
configuration.consent = consent
AATSDK.initAATKit(with: configuration)
consent?.showIfNeeded(<ROOT VIEW CONTROLLER>)AATConfiguration *configuration = [[AATConfiguration alloc] init];
configuration.delegate = self;
AATCMPGoogle *cmp = <INSTANCE OF AATCMPGoogle OR AATCMPSourcepoint OR AATCMPAppConsent>;
AATManagedConsent *consent = [[AATManagedConsent alloc] initWithCmp:cmp delegate:self];
configuration.consent = consent;
[AATSDK initAATKitWith:configuration];
[consent showIfNeeded:<ROOT VIEW CONTROLLER>];Managed Consent States
Re-asking for consent if rejected
Consent Opt-in Status
Code Examples
Last updated