Privacy and GDPR

Android

Starting from v.5.1.0 the myTarget SDK contains following methods for managing the user's personal data:

MyTargetPrivacy.setUserConsent(boolean);
Sets the user has consented(true) or not consented(false) on collect data. In case of not consented, no personal data will be collected and sent to the server.

MyTargetPrivacy.setUserAgeRestricted(boolean);

If the user is known to be in an age-restricted category (i.e., under the age of 16) please set the following flag to true.

iOS

Starting from v.4.7.9 the myTarget SDK contains following methods for managing the user's personal data:

[MTRGPrivacy setUserConsent:(BOOL)];

Sets the user has consented(YES) or not consented(NO) on collect data. In case of not consented, no personal data will be collected and sent to the server.

[MTRGPrivacy setUserAgeRestricted:(BOOL)];

If the user is known to be in an age-restricted category (i.e., under the age of 16) please set the following flag to YES.

Unity

Starting from v.1.1.0 the myTarget SDK contains following methods for managing the user's personal data:

MyTargetPrivacy.UserConsent = Boolean;
Sets the user has consented(true) or not consented(false) on collect data. In case of not consented, no personal data will be collected and sent to the server.

MyTargetPrivacy.UserAgeRestricted = Boolean;
If the user is known to be in an age-restricted category (i.e., under the age of 16) please set the following flag to true.
Was this article helpful?