---
title: "Hit (analytics)"
description: "A hit is one piece of data counted by an analytics system. Requests vs hits vs pageviews, why logs and analytics disagree, and how URSY.com counts."
url: https://ursy.com/wiki/hit-analytics/
updated: 2026-11-26T15:39:44+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/hit-analytics/
---

# Hit (analytics)

> A hit is one piece of data counted by an analytics system. Requests vs hits vs pageviews, why logs and analytics disagree, and how URSY.com counts.

**A hit is one piece of data counted by an analytics system, and the word means different things in different tools.** In a server log, a hit is usually one request for one file. In old [Google](https://ursy.com/wiki/google/) Analytics, a hit was any data sent by the tracking code. A [pageview](https://ursy.com/wiki/pageview/) is narrower than both: one page shown to a person. Mixing the three is the most common reason two reports disagree.

## What does “hit” mean? {#what-does-hit-mean}

It depends who is talking.

- **Server log hit.**  One line in a [server log](https://ursy.com/wiki/server-logs/): one request, one answer. The [Apache documentation](https://httpd.apache.org/docs/2.4/logs.html) says its access log “records all requests processed by the server”.
- **[Universal Analytics](https://ursy.com/wiki/universal-analytics/) hit.**  Google’s legacy help page defines a hit as [“an interaction that results in data being sent to Analytics”](https://support.google.com/analytics/answer/6086082): page, event, ecommerce and social hits.
- **Google Analytics 4.**  There are no hit types any more. Google says [“every “hit” is an event”](https://support.google.com/analytics/answer/9964640).

## Requests vs hits vs pageviews {#requests-vs-hits-vs-pageviews}

| Word | What one of them is | Who counts it | Includes [bots](https://ursy.com/wiki/bot-web-robot/)? |
| --- | --- | --- | --- |
| Request | One file asked for and answered: a page, image, script, feed or API reply | The server, the CDN | Yes, all of them |
| Hit (log sense) | Usually the same as a request | Log tools | Yes |
| Hit (analytics sense) | One bundle of data sent by a tracking script | The analytics tool | Only bots that run the script and are not filtered |
| Pageview | One page shown in a browser and reported | The analytics tool | Rarely; Google Analytics 4 filters known bots |

## Why is one page many requests? {#why-is-one-page-many-requests}

MDN explains that a browser fetches the [HTML](https://ursy.com/wiki/html/), then makes [additional requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Overview) for scripts, styles, images and videos. So one page shown to a person can be dozens of requests. A bot that reads only the HTML makes one. That is why “hits” in a log can be 20 or 50 times higher than pageviews, and why the ratio changes with your design, your [images](https://ursy.com/wiki/image-seo/) and your [caching](https://ursy.com/wiki/caching/).

## Why does it matter for search? {#why-does-it-matter-for-search}

[Search engines](https://ursy.com/wiki/search-engine/) count requests, not pageviews. Google’s Crawl Stats report counts every crawl attempt, and says [“duplicate requests for the same URL are counted individually”](https://support.google.com/webmasters/answer/9679690). It includes images and other resources. That is the language of [crawl budget](https://ursy.com/wiki/crawl-budget/). If [search crawlers](https://ursy.com/wiki/search-crawler/) spend requests on [redirect chains](https://ursy.com/wiki/redirect-chain/), [soft 404s](https://ursy.com/wiki/soft-404/) or filter pages, fewer are left for the pages you care about.

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

AI crawlers show up only in requests. [GPTBot](https://ursy.com/wiki/gptbot/), [ClaudeBot](https://ursy.com/wiki/claudebot/) and [CCBot](https://ursy.com/wiki/ccbot/) fetch pages without running your analytics script, so they never make a pageview or an analytics hit. If you want to know which pages AI reads, how often, and which files, such as [llms.txt](https://ursy.com/wiki/llms-txt/) or a [sitemap](https://ursy.com/wiki/xml-sitemap/), you must count requests at the server or the [edge cache](https://ursy.com/wiki/edge-cache/).

## Where should requests be counted? {#where-should-requests-be-counted}

A [CDN](https://ursy.com/wiki/cdn/) answers many requests from its cache, so they never reach the [origin server](https://ursy.com/wiki/origin-server/). A log or plugin at the origin misses all of those. The CDN’s edge log sees them, including cache hits. To count every request once, you need both, joined so a request seen in both places is not counted twice.

## Does every request count as a read? {#does-every-request-count-as-a-read}

No. Look at the status code. A 200 means the file was sent. A 301 or 302 means “look elsewhere”, so nothing was read yet (see [301 vs 302 redirect](https://ursy.com/wiki/301-vs-302-redirect/)). A 304 means the reader already had a fresh copy. A 404 or 410 means the page is gone. A 403 or 429 often means a block or a [rate limit](https://ursy.com/wiki/rate-limiting/). When you report “pages AI read”, count only the answers that sent a page, and say so.

## Common mistakes {#common-mistakes}

- **Quoting “hits” as visitors.**  A million hits can be a few thousand people and a lot of images.
- **Comparing a log with analytics.**  They count different things. Both can be right.
- **Counting only the origin.**  Cached requests vanish, and with them most bots.
- **Counting a request twice.**  If you add edge and origin logs together without matching them, cache misses count double.
- **Leaving your own checks in.**  Uptime monitors and audit tools make requests too. Filter them out.
- **Ignoring attacks.**  Requests for secret files or login pages are not readers. See [web application firewall](https://ursy.com/wiki/web-application-firewall/) and [DDoS attack](https://ursy.com/wiki/ddos-attack/).

## A worked example {#a-worked-example}

One hour on a small site. The figures are made up to show the method.

| What happened | Requests | Analytics hits (events) | Pageviews |
| --- | --- | --- | --- |
| 20 people view 50 pages (30 files each) | 1,500 | about 50 page_view events, plus scrolls and clicks | 50 |
| [Googlebot](https://ursy.com/wiki/googlebot/) reads 40 pages and 60 images | 100 | 0 | 0 |
| GPTBot reads the same page 10 times | 10 | 0 | 0 |
| A scanner asks for /.env and /wp-config.php | 2 | 0 | 0 |
| **Total** | **1,612** | **50 page_view events plus other events** | **50** |

## How to check it {#how-to-check-it}

Links marked Pro are in URSY Pro, opening in stages. The rest are free and live today.

1. Look at one page’s response with our free [HTTP Header Checker](https://ursy.com/http-header-checker/). Note the status, the cache headers and any [X-Robots-Tag](https://ursy.com/wiki/x-robots-tag/). A page served from cache will not reach an origin log.
2. Find wasted requests. Run the free [Redirect Checker](https://ursy.com/redirect-checker/) on old addresses and the [Broken Link Checker](https://ursy.com/broken-link-checker/) on key pages. Every hop and every [404](https://ursy.com/wiki/404-and-410/) is a request that reads nothing useful.
3. Check the files bots ask for first. Test your [robots.txt](https://ursy.com/wiki/robots-txt/) with the free [Robots.txt Checker](https://ursy.com/robots-txt-checker/) and your sitemap with the free [XML Sitemap Checker](https://ursy.com/sitemap-checker/).
4. Open your server or edge log, or upload it to the [log file analyser](https://ursy.com/pro/log-file-analyser/) (Pro). Group requests by [user agent](https://ursy.com/wiki/user-agent/) and status code.
5. Check that the big bots are who they say. Use our free [Verify an AI Bot](https://ursy.com/verify-ai-bot/) tool, or the [fake bot detector](https://ursy.com/pro/fake-bot-detector/) (Pro), and read [verified bots](https://ursy.com/wiki/verified-bots/).
6. See how much your cache answers with the [edge cache report](https://ursy.com/pro/edge-cache-report/) (Pro), and the server time each bot costs with [bot cost](https://ursy.com/pro/bot-cost/) (Pro).
7. See where crawlers spend their requests with [crawl budget by bot](https://ursy.com/pro/crawl-budget-by-bot/) (Pro), and which AI files they read with [what AI reads](https://ursy.com/pro/what-ai-reads/) (Pro).
8. Watch for one page or one filter taking a large share of requests. The [scraper and flood detector](https://ursy.com/pro/scraper-and-flood-detector/) and [crawl trap guard](https://ursy.com/pro/crawl-trap-guard/) (both Pro) flag it. Read [rate limiting](https://ursy.com/wiki/rate-limiting/).
9. Compare requests with pageviews for your top pages. A page with many requests and no pageviews is read by machines only. Read [bot traffic in analytics](https://ursy.com/wiki/bot-traffic-in-analytics/).

## What URSY.com counts {#what-ursy-counts}

We count requests, not “hits”. A request is one answer the website gave: a page, file, image, feed or API reply. We count it from the CDN’s edge log and from the origin. A request seen in both has the same request ID and is counted once. A bot reading the same page 10 times is 10 requests; “pages read” figures use distinct paths. Our own checks are counted apart as test traffic and left out. Requests for secrets such as .env or wp-config, and scanner paths, are counted as attacks and never as people. Page views are separate: a person’s browser ran our counter. Full rules: [how URSY.com counts](https://ursy.com/methodology/).

## Questions {#questions}

### Is a hit the same as a visit? {#is-a-hit-the-same-as-a-visit}

No. A visit is a run of requests or pageviews. A hit is one of them.

### Does Google Analytics 4 still use hits? {#does-google-analytics-4-still-use-hits}

Not as a term. Google says every hit is now an event.

### Why are my log hits so much higher than analytics? {#why-are-my-log-hits-so-much-higher-than-analytics}

Because logs count every file and every bot. Analytics counts pages shown in browsers that ran its script. See [why analytics numbers are low](https://ursy.com/wiki/why-analytics-numbers-are-low/).

### Do cached requests count? {#do-cached-requests-count}

In an edge log, yes. In an origin log, no, because they never arrive.

### Why does URSY.com not say “hits”? {#why-does-ursy-com-not-say-hits}

Because the word has two meanings. “Request” and “page view” each have one.

## Related words {#related-words}

- [Server logs](https://ursy.com/wiki/server-logs/)
- [Edge cache](https://ursy.com/wiki/edge-cache/)
- [Crawl budget](https://ursy.com/wiki/crawl-budget/)
- [Google Analytics 4](https://ursy.com/wiki/google-analytics-4/)
- [User agent](https://ursy.com/wiki/user-agent/)
- [Cache purge](https://ursy.com/wiki/cache-purge/)
- [Time to first byte](https://ursy.com/wiki/time-to-first-byte/)
- [AI crawler](https://ursy.com/wiki/ai-crawler/)

## Sources {#sources}

- [Analytics Help: [UA] Hit](https://support.google.com/analytics/answer/6086082), checked 24 November 2026
- [Analytics Help: Universal Analytics versus Google Analytics 4 data](https://support.google.com/analytics/answer/9964640), checked 24 November 2026
- [Apache HTTP Server: Log files](https://httpd.apache.org/docs/2.4/logs.html), checked 24 November 2026
- [MDN: Overview of HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Overview), checked 24 November 2026
- [Search Console Help: Crawl Stats report](https://support.google.com/webmasters/answer/9679690), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
