Privacy Integration

This is the integration document for the privacy integration of GroundTruth Location SDK for Android.

Prerequisites

GDPR Compliance (General Data Protection Regulation)

GroundTruth is compliant with General Data Protection Regulation (GDPR). Publishers are required to update GroundTruth whether a user is subjected to GDPR as well as his consent.

If the user is from the EU/EEA the publisher must set GDPR to true, otherwise it should be set to false. When the user is from EU/EEA consent must include a value, if not it should be set to null. If nothing is provided, tracking will be enabled.

Option 1: Using IAB Certified CMP Tool
Location SDK is compatible with IAB Certified third-party Consent Management Platform(CMP) tool. SDK will read the consent from the CMP tool, no further integration is required.

Option 2: During Location SDK Initialization
Publishers are required to provide the GDPR consent during the initialization of the Location SDK.
Here's an example of how to initialize the Location SDK with the GDPR consent in an Activity:

override fun onCreate(savedInstanceState: Bundle?) {
	...
	// Initialize the SDK
	LocationSDK.Builder(this)
			.with(ACCESS_KEY, AES_PASSWORD)
                  
			// Set the GDPR Consent String
			.setConsent(Consent.GDPR, "<GDPR Consent String>")
                 
			.start()
	...
}
@Override
protected void onCreate(Bundle savedInstanceState) {
	...
	// Initialize the SDK
	new LocationSDK.Builder(this)
			.with(ACCESS_KEY, AES_PASSWORD)
    
			// Set the GDPR Consent String
			.setConsent(Consent.GDPR, "<GDPR Consent String>")
 
			.start();
	...
}

Option 3: After Location SDK Initialization
Publishers also have an option to share the GDPR consent later when they receive it from the user.
Here's an example of how to provide the GDPR consent in an Activity:

override fun onCreate(savedInstanceState: Bundle?) {
	...
	LocationSDK.getInstance(this).setConsent(Consent.GDPR, "<GDPR Consent String>")
	...
}
@Override
protected void onCreate(Bundle savedInstanceState) {
 	...
	LocationSDK.getInstance(this).setConsent(Consent.GDPR, "<GDPR Consent String>");
	...
}

CCPA Compliance (California Consumer Privacy Act)

GroundTruth is compliant with California Consumer Privacy Act (CCPA). Publishers are required to update GroundTruth whether a user is subjected to CCPA as well as his consent. If nothing is provided, tracking will be enabled.

Option 1: Using IAB Certified CMP Tool
Location SDK is compatible with IAB Certified third-party Consent Management Platform(CMP) tool. SDK will read the consent from the CMP tool, no further integration is required.

Option 2: During Location SDK Initialization
Publishers are required to provide the CCPA consent during the initialization of the Location SDK.
Here's an example of how to initialize the Location SDK with the CCPA consent in an Activity:

override fun onCreate(savedInstanceState: Bundle?) {
	...
	// Initialize the SDK
	LocationSDK.Builder(this)
			.with(ACCESS_KEY, AES_PASSWORD)
                  
			// Set the CCPA Consent String
			.setConsent(Consent.CCPA, "<CCPA Consent String>")
                 
			.start()
	...
}
@Override
protected void onCreate(Bundle savedInstanceState) {
	...
	// Initialize the SDK
	new LocationSDK.Builder(this)
			.with(ACCESS_KEY, AES_PASSWORD)
    
			// Set the CCPA Consent String
			.setConsent(Consent.CCPA, "<CCPA Consent String>")
 
			.start();
	...
}

Option 3: After Location SDK Initialization
Publishers also have an option to share the CCPA consent later when they receive it from the user.
Here's an example of how to provide the CCPA consent in an Activity:

override fun onCreate(savedInstanceState: Bundle?) {
	...
	LocationSDK.getInstance(this).setConsent(Consent.CCPA, "<CCPA Consent String>")
	...
}
@Override
protected void onCreate(Bundle savedInstanceState) {
 	...
	LocationSDK.getInstance(this).setConsent(Consent.CCPA, "<CCPA Consent String>");
	...
}

COPPA Compliance (Children's Online Privacy Protection Act)

GroundTruth is COPPA Compliant. Users age can be passed to the SDK, and the SDK will not be initialized for users under the age of 13.
If no birthdate is specified, tracking will be enabled.

override fun onCreate(savedInstanceState: Bundle?) {
	...
	// Initialize the SDK
	LocationSDK.Builder(this)
			.with(ACCESS_KEY, AES_PASSWORD)
                  
			// Set the Birth Date
			.setBirthday(1988, Month.APR, 15)
                 
			.start()
	...
}
@Override
protected void onCreate(Bundle savedInstanceState) {
	...
	// Initialize the SDK
	new LocationSDK.Builder(this)
			.with(ACCESS_KEY, AES_PASSWORD)
    
			// Set the Birth Date
			.setBirthday(1988, Month.APR, 15)
 
			.start();
	...
}

LAT (Limit Ad Tracking)

Limit Ad Tracking (LAT) is a privacy feature that allows users to limit what data advertisers receive about activity generated by their devices. If this feature is turned on by the user, Location SDK will stop working.