The Reporting API
Reporting API brings a common infrastructure for the browser to send reports for various issues: CSP violations, deprecations, browser interventions, network errors, and feature policy violations.
content-security-policy
interventions
deprecations
removals
feature-policy
reporting-observer
analytics
reporting
ReportingObserver: know your code health
ReportingObserver gives developers insight into what their code is doing in the wild. ReportingObserver surfaces information on issues like deprecations and interventions, messages that were previously only available in the DevTools console.
chrome69
reporting-observer
analytics
interventions
deprecations
Offline Google Analytics Made Easy
The sw-offline-google-analytics library gives you everything you need.
serviceworker
analytics
offline
indexeddb
Send beacon data in Chrome 39
Chrome 39 implements the Beacon API, which allows to send small async HTTP requests during the page unload events.