Google CMP
Handle consent using Google User Messaging Platform
Last updated
Handle consent using Google User Messaging Platform
Last updated
Obtain a Google app ID by following the .
Set the Google appID in the Info.plist file:
Integrate GoogleCMP:
Cocoapods:
Add pod 'AATKit/GoogleCMP'
to your Podfile.
Swift Package Manager:
Follow the same SPM steps .
Repeat the last step, and add AATKit-GoogleCMP
.
Create an instance of AATCMPGoogle
(AATCMPGoogle
conforms to AATCMPProtocol
).
Pass the created AATCMPGoogle
instance while initializing the AATManagedConsent using the public init?(cmp: AATCMPProtocol?, delegate: AATManagedConsentDelegate)
method.
Make sure, your Google CMP has been set up at its backend dashboard. Our support recommends certain vendors to be included in your server-side setup in order to yield optimal revenues. We also recommend that CMP should be geographically targeted to "Everywhere", for handling of opt-out consent scenarios. Please also refer to your .
Follow the instructions in the Managed Consent .