User consent
Manage user consent for your app.
Read time 1 minuteLast updated 2 days ago
As the owner and controller of your Developer Data, you are responsible for providing sufficiently clear, meaningful, and prominent notices to, making all required disclosures to, and obtaining the necessary consent or permission from any individual to whom such Developer Data relates regarding the collection, disclosure, transfer, use, and security of such data. Further, where you collect applicable consent signals, you are responsible for transmitting those signals to Unity. For services whose consent is managed via the UnityConsent API, consent must be granted for the services to function normally. If consent is denied and the service can’t access Developer Data, Unity restricts behavior of the service accordingly. For more information on the Developer Data that Unity collects, and its purposes of processing, please refer to:
Manage consent
The overall steps to manage user consent are:- Collect your users’ consent choices.
Obtain valid consent through a consent banner, in-app UI, or Consent Management Platform (CMP). - Set the user’s consent state in Unity.
- Set the UnityConsent API to provide default end-user consent values to apply unless specified otherwise.
- Declare each user’s current consent state for the appropriate uses.
- Update the user’s state any time their preferences change.
If no consent is set via the UnityConsent API, Unity interprets that you are managing consent via another mechanism, where available. If no consent is set via the UnityConsent API and no other applicable consent management mechanism is available, Unity will interpret the default values as follows:UnityConsent.SetConsentState(new ConsentState { analytics_intent = ConsentStatus.Granted, ads_intent = ConsentStatus.Denied });
analytics_intent = ConsentStatus.Granted
ads_intent = ConsentStatus.Denied
Manage consent for additional products
Some additional products for which you allow access to the Developer Data framework will collect their own sets of data. For these products, you are responsible for the following:- Manage consent through any product-specific or service-specific consent APIs.
- Provide information on any additional data that the product or service collects.