Data privacy and consent

Important notice: UGS Analytics requires that you implement a privacy solution which is separate from Unity Ads. Therefore, if you are using both Unity Ads and UGS Analytics, the Unity Ads opt-out mechanism will NOT apply to both services.

Analytics collects data to help you improve the player experience in your game. Some of that data includes personally identifiable information (PII) regulated under data privacy laws.

Some regions might require consent to collect personal data by law, most notably under GDPR and PIPL regulations, and others might require end-user notice and the opportunity to opt-out, most notably under CCPA regulations. However, consent and opt-out requirements extend beyond these use cases and should be applied in any region that requires it. By using these functions, you're taking responsibility for providing this consent correctly and for all regions.

Typically when a user does not consent to, or opts out of data collection and processing under a privacy regulation (for example GDPR, CCPA, or PIPL), this will prevent data from being collected about your users and will likely impact your Analytics and key metrics.

The Analytics package manages multiple data privacy laws by offering a set of functions for developers to forward on the data collection consent values as set by the player.

In this section, you will find the API classes that allow you, the developer, to provide consent statuses for your users.

What's covered: