目录
此内容是否有帮助?

# Unity SDK Compliance Guide

# 1.1 Collection and Acquisition

Complete the following as appropriate in the Collection and Access to Your Personal Information section of the Privacy Policy.

When you are active, Thinking Data collects your device information (IDFV, AndroidID, operating system, device model, device manufacturer, system version, etc.) for statistical analysis of how you use it within App.

# 1.2 Share with Authorized Partners

Complete the following as appropriate in the Sharing with Authorized Partners section of the Privacy Policy.

Thinking Data SDK: Collect your device information (IDFV, AndroidID, operating system, device model, device manufacturer, system version, etc.) and networking information for data analysis to improve our products and services.

# II. SDK Compliance Steps

ThinkingData SDK requires you to ensure that users initialize the SDK after agreeing to the Privacy Policy

// Judging whether to open data acquisition according to privacy protocol
if (Authorized Privacy Policy) {
    string appId = "YOUR_APP_ID";
    string serverUrl = "YOUR_SERVER_URL";
    ThinkingAnalyticsAPI.TAMode mode = ThinkingAnalyticsAPI.TAMode.NORMAL;
    ThinkingAnalyticsAPI.TATimeZone timeZone = ThinkingAnalyticsAPI.TATimeZone.Local;
    ThinkingAnalyticsAPI.Token token = new ThinkingAnalyticsAPI.Token(appId, serverUrl, mode, timeZone);
    ThinkingAnalyticsAPI.Token[] tokens = new ThinkingAnalyticsAPI.Token[1];
    tokens[0] = token;
    ThinkingAnalyticsAPI.StartThinkingAnalytics(tokens);
}

WARNING

You need to check Start Manuallyin the ThinkingAnalytics