Compliant with GDPR, CCPA, COPPA, LGPD, PECR, PDPA, PIPEDA, and more.
Adjust is a certified Google Mobile Measurement Partner (MMP) and App Attribution Partner (AAP). This guide explains how to integrate the UniConsent Consent Management Platform (CMP) with the Adjust SDK to ensure proper consent signal handling for privacy-compliant mobile attribution.
UniConsent CMP automatically detects the presence of the Adjust SDK and transmits consent signals using Adjust's SDK API.
Refer to the AdJust Android SDK Initialization Guide for full setup details. Disable the SDK and don't send any data to Adjust’s servers.
val appToken = "{YourAppToken}"
val environment = AdjustConfig.ENVIRONMENT_SANDBOX
val config = AdjustConfig(this, appToken, environment)
config.setLogLevel(LogLevel.VERBOSE)
//...
Adjust.initSdk(config)
Adjust.disable()
handle(Event event)
CallbackMake sure to enable AdJust within the CMP callback, once user consent is available:
@Override
public void handle(Event event) {
Adjust.enable()
}
Sending consent signal to Adjust
com.uniconsent.sdk.aap
, you should observe confirmation messages like: Successfully set consent signal to Adjust: {AD_USER_DATA=GRANTED, AD_STORAGE=GRANTED, AD_PERSONALIZATION=GRANTED, ANALYTICS_STORAGE=GRANTED}
These logs confirm that UniConsent CMP has successfully passed user consent preferences to the Adjust SDK, ensuring your app remains compliant with privacy regulations while maintaining accurate attribution tracking.
To ensure that user consent is available, make sure to call your MMP/AAP API within the override fun handle(event: Event?)
(Android) or public func onDismiss()
(iOS) callback of the CMP.
Learn more about the UniConsent SDK API in the following guides: