Since SDK version 4.9, Upsight provides methods to set default privacy settings and consent status for all users. These allow you to indicate whether or not potential Personally Identifiable Information (PII) should be captured for users, in case they have yet to consent to collection.
setEnhancedPrivacyApplicability allows you to set a specific level of enhanced privacy for the user. There are three levels which are indicated by the
kEnhancedPrivacyApplicibility_Auto; With this, Upsight's servers will determine whether or not a user applies for enhanced privacy (eg they are in a country that must comply to GDPR). With this on, certain Upsight features, such as mediation, may not be available for users in areas where enhanced privacy applies.
kEnhancedPrivacyApplicibility_YES; Enhanced privacy applies to the user.
kEnhancedPrivacyApplicibility_NO; Enhanced privacy does not apply to the user.
getEnhancedPrivacyApplicability will return the current status of a user's privacy applicability as an
NSInteger that coincides with the appropriate
EnhancedPrivacyApplicibiltyLevel enum value.
setEnhancedPrivacyConsentGranted allows you to indicate to Upsight whether or not a user has consented for additional data collection. This should be changed at any time a user either consents or revokes consent. Your application is responsible for requesting and properly passing in the current consent status to the Upsight SDK. By default this is set to
isEnhancedPrivacyConsentGranted returns the current status of whether or not a user has given consent.
If this returns
false, that represents that the user has not consented or revoked consent to the collection of Personally Identifiable Information. If this returns
true, that represents that the user has consented to the collection of Personally Identifiable Information.
|EnhancedPrivacyApplicibiltyLevel||Within EU?||Consent Granted?||Upsight Data Collection||Upsight Mediation|
|AUTO||YES||NO||Limited||Networks initialized without consent|
|YES||YES||NO||Limited||Networks initialized without consent|
|NO||YES||NO||Normal||Networks initialized without consent|
Upsight allows you to manually set both a user's home location and current location rather than relying on IP address. This is especially applicable for countries covered by the GDPR. If current or home country are manually set, they override any derived country information that would otherwise attribute a user to a specific country for reporting and targeting purposes.
setCurrentCountry allows you to specify any 3-character country code to set as the user's current country. If you would like to clear this value, simply pass
getCurrentCountry returns the set current country string of the user or
nil if none was set.
Current country takes precedence over any derived country information (eg from IP).
setHomeCountry allows you to specify any 3-character country code to set as the user's home country. If you would like to clear this value, simply pass
getHomeCountry returns the set home country string of the user or
nil if none was set.
Home country takes precedence over current country and any derived country information.