The principle of hits is fundamental to digital data collection. When a page loads, it sends requests to a remote server which sends back a transparent image file measuring 1 pixel. The server counts the number of pixels sent to determine how many pages were viewed.
The hits that your page emits when it loads are visible in your browser console. Hits can be classified into several types depending on analytics tools used. For instance, Google Analytics sends page view hits, event hits, and timing hits. Each hit “carries” an amount of information which is then visible in web analytics reports (referrer, page URL, page title, browser, user ID etc.).
Hit
A hit happens when a website file is requested from the server. These requests load external resources such as images (pixels), videos, or remote JavaScript files.