Keewano Unity SDK
Loading...
Searching...
No Matches
Data Privacy

Default Privacy Compliance

By default, the Keewano SDK is fully compliant with privacy regulations and does not collect any personally identifiable information (PII).
No additional setup is required—analytics data will be collected automatically, without exposing user PII, in accordance with our privacy policy.

Optional User Consent

If your project or regional requirements demand explicit player consent before any analytics data is sent, you can enable a “Require Player Consent” mode.
When this mode is active, all events and metrics will be buffered locally until you explicitly grant or deny consent.

Configuring Consent Requirement

To enable the consent buffer:

  • Open your Unity Project Settings:
    Edit > Project Settings > Keewano
  • Check the Require Player Consent option.

Once enabled, no data leaves the device until you call KeewanoSDK.SetUserConsent(...).

SetUserConsent Method

Use KeewanoSDK.SetUserConsent call to inform the SDK whether the player has granted or denied consent, in compliance with GDPR, CCPA, and other privacy regulations.

If “Require Player Consent” is enabled:

  • Calling KeewanoSDK.SetUserConsent(true)
    1. Sends all buffered data to the server
    2. Resumes automatic data collection and reporting
  • Calling KeewanoSDK.SetUserConsent(false)
    1. Discards all buffered data without sending to the server
    2. Prevents any future data collection or transmission

If “Require Player Consent” is disabled, the SDK collects and sends data automatically on app launch.

See also
KeewanoSDK.SetUserConsent

Example Usage

// Show a custom consent popup at game start
bool consent = ShowConsentDialog();
// If consent was denied, no analytics data will ever be sent.
if (!consent) {
Debug.Log("Player opted out of analytics.");
}
Definition KeewanoSDK.cs:18
static void SetUserConsent(bool consentGiven)
Sets the user's consent for data collection and analytics.
Definition KeewanoSDK.cs:199