Important: Chrome will be removing support for Chrome Apps on all platforms. Chrome browser and the Chrome Web Store will continue to support extensions. Read the announcement and learn more about migrating your app.
|Learn more:||Chrome Platform Analytics|
The Google Analytics Platform lets you measure user interactions with your business across various devices and environments. The platform provides resources to collect, store, process, and report on user interactions. Chrome Platform Analytics (CPA) is a client library that lets you collect user interactions in Packaged Apps and Extensions, and send them to the Google Analytics Platform.
Google Analytics Policies require you to give users notice about analytics tracking and the option to opt out of tracking. The CPA library makes it easy to build privacy-friendly apps by providing library-level support for user opt-out.
The CPA library is hosted on GitHub: chrome-platform-analytics.
The library is google-analytics-bundle.js.
Documentation for the CPA library is aslo on GitHub. See specifically:
For an illustration of how to use the CPA library to measure user interactions in an app, see the examples.