Skip to the content
Start free

Hit (analytics)

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 Analytics, a hit was any data sent by the tracking code. A 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? #

It depends who is talking.

Requests vs hits vs pageviews #

Word What one of them is Who counts it Includes bots?
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? #

MDN explains that a browser fetches the HTML, then makes additional requests 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 and your caching.

Search engines count requests, not pageviews. Google’s Crawl Stats report counts every crawl attempt, and says “duplicate requests for the same URL are counted individually”. It includes images and other resources. That is the language of crawl budget. If search crawlers spend requests on redirect chains, soft 404s or filter pages, fewer are left for the pages you care about.

Why does it matter for AI answers? #

AI crawlers show up only in requests. GPTBot, ClaudeBot and 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 or a sitemap, you must count requests at the server or the edge cache.

Where should requests be counted? #

A CDN answers many requests from its cache, so they never reach the 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? #

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). 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. When you report “pages AI read”, count only the answers that sent a page, and say so.

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 and DDoS attack.

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 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 #

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. Note the status, the cache headers and any X-Robots-Tag. A page served from cache will not reach an origin log.
  2. Find wasted requests. Run the free Redirect Checker on old addresses and the Broken Link Checker on key pages. Every hop and every 404 is a request that reads nothing useful.
  3. Check the files bots ask for first. Test your robots.txt with the free Robots.txt Checker and your sitemap with the free XML Sitemap Checker.
  4. Open your server or edge log, or upload it to the log file analyser (Pro). Group requests by user agent and status code.
  5. Check that the big bots are who they say. Use our free Verify an AI Bot tool, or the fake bot detector (Pro), and read verified bots.
  6. See how much your cache answers with the edge cache report (Pro), and the server time each bot costs with bot cost (Pro).
  7. See where crawlers spend their requests with crawl budget by bot (Pro), and which AI files they read with what AI reads (Pro).
  8. Watch for one page or one filter taking a large share of requests. The scraper and flood detector and crawl trap guard (both Pro) flag it. Read 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.

What URSY.com 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.

Questions #

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? #

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

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.

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”? #

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

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: Hit (analytics). URSY. Updated 26 November 2026. https://ursy.com/wiki/hit-analytics/ · Section links

Tools for this

All 871 wiki entries, A to Z →