When it comes to EU user personal information processing, SolarEngine SDK will automatically collect certain parameters such as GAID, IMEI, IMEI2, and Android ID. However, according to the EU privacy policy, if EU users disagree with their personal data collection, developers need to disable the sensitive data collection in their SDK.
Please follow the procedures below to set up GDPR during SDK initialization:
1. When users reject their sensitive information being collected, please disable related data collection function by adding isGDPRArea(true) in SDK initialization.
2. Ensure that users won't trigger any privacy-related events before obtaining their legally valid consent.
3. Clarify the EU users personal data processing policy and practice in your privacy policy.
As the lack of necessary information will affect attribution accuracy, only when users clearly reject their personal information being collected, you will need to set isGDPRArea(true) to stop SDK from collecting privacy-related fields.
If your product is operated within the EU region and advertised on Google, please make sure to send this parameter, so that you will comply with Google's EU user consent policy.
To comply with the upcoming Digital Markets Act (DMA), Google has updated their consent mode for traffic in European Economic Area (EEA). SolarEngine also took action to adapt to the new updates.
Sample Code
function buildInitialConfig():se_initial_config{
let config:se_initial_config = {
...
enableGDPR:true,
enablePersonalizedAd: true,
enableUserData: true,
...
};
return config;
}
async function Initiate(){
let appKey = "";
if (Platform.OS === 'ios') {
appKey = "07df077973a84ea7";
} else if (Platform.OS === 'android') {
appKey = "e62fe50b80fc6e5c";
}
let config:se_initial_config = buildInitialConfig();
let initiateOptions:SolarEngineInitiateOptions = {
config:config,
...
}
SolarEngine.initialize(appKey,initiateOptions,(result:InitiateCompletionInfo) => {
if (result.success) {
Alert.alert('SDK Initiate Complete!')
}
});
Parameter Description
se_initial_config related parameters | Google Parameter | Value (bool) | Meaning |
---|---|---|---|
enableGDPR | eea | true/false | Whether users allow their private information being collected. |
enablePersonalizedAd | ad_personalization | true/false | Whether users allow Google to use their data for ad personalization. |
enableUserData | ad_user_data | true/false | Whether users allow their personal data to be shared with Google. |
Function
export function setGDPRArea(isGDPRArea:boolean);
Parameter | Description | Type | Required |
---|---|---|---|
isGDPRArea | Whether it belongs to the GDPR region (Default false) | BOOL | YES |
Sample Code
SolarEngine.setGDPRArea(true);