This tutorial demonstrates how to track the usage of your extension using Google Analytics. You can find a working Google Analytics 4 sample on Github, where google-analytics.js includes all the Google Analytics related code. Requirements This tutorial assumes you are familiar with writing Chrome extensions. If you need information on how to write an extension, please read the Getting Started tuto