A “hit” refers to any request made to a web server from a user’s browser. This request can include various elements of a webpage, such as images, scripts, stylesheets, and individual components like buttons or icons. For example, if a web page contains 10 images, 5 scripts, and 3 stylesheets, loading the page would generate 18 hits (10 for images, 5 for scripts, and 3 for stylesheets).
The term “hits” can be somewhat misleading because it counts all requests to the server, not just visits or interactions by users. A single page view can generate multiple hits due to the various elements that need to be fetched from the server to render the page correctly.