- Session Tracking: When the user lands on a page, the tracking code assigns a unique session ID to the user. This session ID is stored in a cookie on the user's browser.
- Sending Data: When the user interacts with a tracked element, such as clicking a button, the event tracking code captures the event details and sends them to Google Analytics.
- Hit Data: The event details (i.e., event category, action, label, and value) are packaged into a "hit" data format. This hit data is sent to Google Analytics servers for processing.
- Data Processing: Google Analytics processes the received hit data and matches it with the user's session using the stored session ID in the cookie. It also analyzes other parameters like user location, device, and source to provide comprehensive analytics insights.
- Reporting: The processed data is displayed in your Google Analytics account as reports, allowing you to analyze the user behavior, conversions, and other metrics related to the tracked events.
By utilizing this process, Google Analytics can track events as users navigate to other pages within the same domain.