Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Respecting User Privacy

Steve McKay edited this page Jun 14, 2013 · 16 revisions

Use of the Chrome Platform Analytics library has privacy implications for users of your application. Information collected using this library may be sent to the Google Analytics servers. In order to use the library you must abide by Google Analytics Policies. Those policies address such issues as:

  1. Notifying users about your tracking practices.
  2. Obtaining consent from your end users, or providing them with the ability to opt-out of tracking.
  3. Not uploading personally identifying information.

The Chrome Platform Analytics library provides support for runtime opt-out from tracking. That means you can implement tracking in your code, then invoke a single method config.setTrackingPermitted(boolean) to opt a user in or out of tracking. This means you don't need to pepper your code with conditions to block tracking when a user is opted out.

EXAMPLES:

Clone this wiki locally