Version: 2018.2
COPPA 준수
Unity 애널리틱스 DataPrivacy API

Unity 애널리틱스와 EU 일반 개인정보보호 규정(GDPR)

일반 개인정보보호 규정(GDPR)은 EU 국민의 개인정보 보호를 위해 유럽연합에서 제정한 법입니다.

Maintaining compliance with GDPR when you use Unity Analytics is a shared responsibility. Unity collects data to help you improve the player experience with ads and gameplay. Some of that data includes personally identifiable information (PII) regulated under GDPR. Unity provides the tools to allow a player to opt out of the PII collection, and to manage the personal data that Unity collects about them, as required by the GDPR. Your responsibilities include adding an opt-out button to your ads, and providing a link to Unity’s privacy policy from your own privacy policy.

When your app uses use Unity Ads, Unity displays a notice to the player the first time an ad is shown on their phone, giving them the option to opt in or out of personally identifiable information collection. Subsequent ads also display a button that users can use to manage their data privacy options. For more information about GDPR and the Unity Ads SDK, see Unity Ads Knowledge Base: GDPR Compliance.

Unity 애즈와 애널리틱스를 둘 다 사용 중이라면 Unity 애즈의 개인정보 수집 거부 방식이 두 서비스 모두에 적용됩니다.

Unity 애즈는 사용하지 않고 Unity 애널리틱스, IAP, 멀티플레이어, 퍼포먼스 리포팅 등의 다른 Unity 서비스를 사용 중이라면 Unity Analytics Data Privacy 플러그인을 사용하여 플레이어에게 데이터 수집을 거부할 수 있는 옵션을 제공해야 합니다. 이 플러그인을 사용하면 플레이어가 자신의 개인정보 설정을 관리하는 Unity 웹 페이지를 여는 버튼을 게임에 추가할 수 있습니다. 플레이어는 게임별, 기기별로 원하는 환경 설정을 관리할 수 있습니다. Unity 애널리틱스는 동일한 플레이어가 Unity로 만들어진 게임을 2개 이상 플레이하는지 아니면 여러 기기에서 동일한 게임을 플레이하는지 여부를 추적하지 않습니다.

위 옵션은 광고와 플레이어 서비스를 커스터마이즈하기 위해 Unity가 수집하는 모든 데이터에 적용됩니다. 그러나 개발자가 직접 개인 식별 정보를 수집한다면 그렇게 수집한 데이터를 보호하고 관리하는 데 대한 책임은 개발자가 직접 져야 합니다.

베스트 프랙티스:

  • 법률 자문이 필요하시다면 직접 받으셔야 합니다. 이 문서의 어떠한 내용도 법률 자문을 목적으로 하지 않습니다.

  • 데이터 처리 부록(DPA)[PDF]을 읽고 내용을 이해하십시오.

  • 자체 개인정보 취급방침에 데이터를 수집하는 제3자로 Unity를 표시하고 Unity의 개인정보 취급방침 링크를 포함하십시오.

  • 스탠다드 이벤트나 커스텀 이벤트에서 개인 식별 정보를 Unity 애널리틱스로 전송하지 마십시오.

  • Analytics.SetUserGender() 또는 Analytics.SetUserBirthYear()를 사용하여 Unity 애널리틱스에 성별 및 나이 정보를 전송하지 마십시오. 이 API는 지원이 중단될 예정입니다.

Using the Unity Analytics Data Privacy Plug-in

You can obtain the Unity Analytics Data Privacy plug-in from the Unity Asset Store. The plug-in is available for Unity versions:

  • 4.7
  • 5.1+
  • 2017.1+
  • 2018.1+

이 플러그인은 다음 플랫폼을 지원하지 않습니다.

  • Linux
  • Windows Phone
  • Universal Windows Platform (UWP) prior to Unity 5.5
  • Tizen
  • Apple TV
  • Blackberry

The Unity Analytics service now deletes personally identifiable information sent from games running on those platforms automatically. Contact DPO@unity3d.com if you have questions.

Unity 애즈 네트워크의 광고가 게임에 표시되는 경우에는 Unity 애즈 SDK가 이미 플레이어에게 데이터 수집 거부 옵션을 표시하고 플레이어가 선택한 개인정보 보호 설정에 따라 Unity 애널리틱스를 설정합니다. Unity 애즈 서비스를 사용하지 않을 때에는 Unity 애널리틱스 개인정보 보호 플러그인을 사용해야 합니다.

Unity에서 애널리틱스 개인정보 보호 설정

If you do not use Unity Ads, then you can integrate the Unity Analytics Data Privacy plug-in, which gives your players control over Unity Analytics data collection.

To integrate the plug-in:

  1. Import the Unity Analytics Data Privacy Asset package into your Project.

  2. 버튼이나 기타 UI 컨트롤을 사용하여 플레이어에게 데이터 수집 거부 옵션을 제공합니다.

The Unity Analytics Data Privacy plug-in contains code that automatically queries the Unity Analytics Service to determine the opt-out status of the current player. The plug-in then configures Unity Analytics based on the player’s preferences. The plug-in also includes a Unity UI button prefab. This button opens a player’s personal data privacy page where they can opt-out of Unity’s data collection and view the data that Unity has collected in the past.

중요: 플레이어가 브라우저의 팝업 차단 기능을 사용 중이라면 브라우저에서 개인정보 보호 페이지가 열리지 않을 수 있습니다. 브라우저에 따라 페이지가 차단되었음을 알리는 경우도 있고, 아무런 알림을 표시하지 않는 경우도 있습니다. 팝업 차단 기능이 설정되어 있으면 페이지가 열리지 않을 수 있음을 플레이어에게 알리는 메시지를 사용자 인터페이스에 추가하는 것도 좋습니다.

자세한 내용은 Unity 애널리틱스 DataPrivacy API를 참조하십시오.

Importing the Unity Analytics Data Privacy Plug-in into a project

To import the plug-in into your project:

  1. Go to the Unity Analytics Data Privacy plug-in page on the Unity Asset Store.

  2. 페이지에서 내 에셋에 추가(Add to My Assets) 버튼을 클릭합니다.

  3. Unity 프로젝트에서 Asset Store 창(메뉴: Window > General > Asset Store)을 엽니다.

  4. 창 상단의 다운로드(Downloads) 아이콘을 클릭합니다.

  5. 내 구매 내역(My Purchased) 을 선택합니다.

  6. Click the Download button for the Unity Analytics Data Opt-Out Plug-in.

  7. Unity 패키지 임포트(Import Unity Package) 창에서 임포트(Import) 를 클릭합니다.

플레이어에게 데이터 수집 거부 옵션 제공

The plug-in includes a Unity UI button prefab. When a player clicks this button, the Player Data Privacy page opens in a web browser. You can also provide your own user interface and open the Data Privacy page manually.

방법 1: Unity UI 사용

  1. 에셋 패키지를 프로젝트에 임포트합니다.

  2. If you are building your project with Unity 5.1 or earlier, you must call DataPrivacy.Initialize(). Newer versions of Unity call Initialize() call automatically.

  3. If you do not already have a Canvas GameObject in the Scene, add one. Unity automatically adds an EventSystem when you add the Canvas.

  4. Drag the DataPrivacyButton prefab to the Canvas GameObject in the Scene. Find the prefab in the Project window, in the DataPrivacy/Runtime folder.

  5. 버튼의 포지션, 그래픽스, 텍스트를 적절히 조절합니다.

  6. The button is already connected to the Data Privacy API, so that it opens the player’s personal data management page when the player clicks it. The page opens in a web browser.

방법 2: 자체 UI 사용

자체 사용자 인터페이스를 버튼에 사용하려면 사용자의 데이터 수집 거부 페이지의 URL을 요청한 후 그 URL을 브라우저 또는 웹 뷰에서 엽니다.

  1. 에셋 패키지를 프로젝트에 임포트합니다.

  2. 플레이어에게 데이터 수집을 거부할 수 있는 옵션이 있음을 알려주는 자체 UI 컨트롤을 만듭니다.

    Note: The Data Privacy plug-in includes an icon in the DataPrivacy/Runtime folder. Unity encourages you to use this icon on your data privacy button (or similar control) to provide a consistent graphical cue to players encountering data privacy controls in Unity games.

  3. If you are building your project with Unity 5.1 or earlier, you must call DataPrivacy.Initialize(). Newer versions of Unity call Initialize() automatically.

  4. In response to the player’s click or interaction with this control, call the DataPrivacy.FetchPrivacyUrl() function. This function takes an Action<string> object that invokes when the network request completes. You can optionally pass in a second Action<string> function to handle the failure case.

  5. In your handler for the FetchPrivacyUrl() request, use Application.OpenURL() to open the URL received in a browser.

예를 들어, 다음 스크립트는 게임 오브젝트 클릭에 대한 반응으로 플레이어 개인정보 보호 페이지를 엽니다.

using System;
using UnityEngine;
using UnityEngine.Analytics;
    
public class OptOutHandler : MonoBehaviour {

    static void OnFailure(string reason)
    {
        Debug.LogWarning(String.Format("Failed to get data privacy page URL: {0}", reason));
    }

    void OnURLReceived(string url)
    {
        Application.OpenURL(url);
    }

    public void OpenDataURL()
    {
        DataPrivacy.FetchPrivacyUrl(OnURLReceived, OnFailure);
    }
    
    void OnMouseOver(){
        if(Input.GetMouseButtonDown(0)){
            OpenDataURL();
        }
    }
}

Using the Data Privacy plug-in with older versions of Unity and Unity Analytics

Before Unity 5.2, Unity provided Analytics support through a Unity Asset Store asset package. You can use the Data Privacy plug-in with these older versions of Unity Analytics, but you must initialize the privacy plug-in before calling any of its other functions (and before your players have a chance to click the data privacy button). The best place to initialize the plug-in is right after you call UnityAnalytics.StartSDK() to initialize the Analytics plug-in:

using UnityEngine;
using UnityEngine.Cloud.Analytics;
using UnityEngine.Analytics;

public class UnityAnalyticsIntegration : MonoBehaviour {

    void Start () {
        const string projectId = "SAMPLE-UNITY-PROJECT-ID";
        UnityAnalytics.StartSDK (projectId);
        DataPrivacy.Initialize ();
    }
}

Note: Unity 5.2 and later versions call DataPrivacy.Initialize() automatically. You do not need to call the function yourself unless you are using the Asset Store package for Analytics support.

자세한 내용은 Unity 애널리틱스 DataPrivacy API를 참조하십시오.


  • 2018–05–18 일부 편집 리뷰를 거쳐 페이지 게시됨
  • 개인정보 보호 버튼을 삽입하기 위한 에디터 메뉴 커맨드를 제거함. 개인정보 보호 버튼 프리팹을 추가함.
  • Unity 2018.1의 새로운 기능
COPPA 준수
Unity 애널리틱스 DataPrivacy API