Google Analytics Data

Learn how to properly mock part of the popular Google Analytics system.

Why do we mock Google Analytics?

Google Analytics (GA) is a system that captures and analyzes user and request analytics from our applications. We instrument our codebase with it, which means we add its functionality throughout our code in order to capture this information in a way that is suited to our needs. Once captured, the data is sent to Google Analytics for persistence and access through the GA dashboard. Additionally, Google Analytics can generate data reports.

Get hands-on with 1400+ tech skills courses.