Explore packages
MeasurementIn-house

Server logs can count Google visits without a tracking script. The catch is that your own images carry a Referer too

Google's new traffic page lists the Referer values for Search and includes one easy-to-miss warning. Get the filter right and logs become a useful cross-check on Search Console.

Analytics tools miss visits for reasons Google lists openly: blockers, consent choices, redirects. Server logs don't depend on a script running in the visitor's browser, which makes them the natural cross-check on Search Console. The catch is that a log line is a request, not a visit, and the browser makes a lot of requests per page.

Referer values by source, per Google's page
SourceReferer value
Google Search on the webhttps://www.google.com/, or a local domain such as https://www.google.co.uk/
Google app on Androidandroid-app://com.google.android.googlequicksearchbox/https/www.google.com when the app opens the link in a browser tab, or the web values
Google app on iOShttps://www.google.com/, or a local domain
DiscoverThe same values as the surface where it was viewed, such as the Google app or Google Search on the web

The sentence that matters most

A browser that loads your page then fetches the images, stylesheets and scripts the page needs. For those requests, per the page, the Referer is your own page, not Google. Filter your logs for a Google Referer without also restricting to landing-page requests and your numbers will be wrong in a way that looks plausible. You will count each visit once, plus whatever else slipped through.

So the first job is a written definition of a landing-page request in your log format. For most setups that means requests for an HTML document, not assets. How you tell them apart depends on your server and log fields, and it is worth writing down once.

Log rows to keep and rows to drop
Kind of requestReferer you usually seeCount it as a Google visit?
Landing page request (HTML document)A Google value from the table aboveYes, if the Referer matches
Image, CSS or script fetched by that pageYour own page, per Google's pageNo
Request with a blank RefererNothingNot identifiable as Google from the Referer alone

Don't miss the Android app

The Android value is the one a lazy filter drops. When the Google app opens a link in a browser tab, the Referer is an android-app:// address. A pattern that only looks for google. in the Referer will miss those visits. Add the pattern, and say so in the method.

Some visits will never appear

The blank Referer list is long, and those visits are in your logs. They are just not identifiable as Google from the header. They are in Search Console's click count, because Search Console records the click when the user selects the link.

Why a visit may have no Referer
ReasonPrivate browsing
ReasonAnti-fingerprinting
ReasonNew tab, in some browsers
ReasonNative widget to browser
ReasonPrivacy extensions

The five reasons are as listed on Google's page, which also says JavaScript tracking may miss visits.

So a log count lower than Search Console is expected. A log count higher than Search Console deserves a look at what else you are counting. Google's page names one candidate: Search Console excludes Google Ads clicks, and other measurements may not.

The method

Treat it as a written, repeatable method, not a one-off query. The aim is to compare Google visits in logs with Search Console clicks for the same pages and days, and to record the gap without trying to close it.

The method in steps
StepWhat to do
1. Pick a windowA few complete days, in one time zone, matching the Search Console dates
2. Pick pagesA fixed list of landing pages, so you compare like with like
3. Filter requestsKeep only landing-page requests. Drop images, CSS and scripts
4. Match the RefererKeep rows whose Referer is one of Google's values, including the Android app value
5. CountVisits per page per day from logs, clicks per page per day from Search Console
6. Record the gapDon't adjust either number. Write down the difference and the date
The log-matching method
  1. 1Pick a window and pagesComplete days, one time zone, a fixed page list.
  2. 2Keep landing-page requests onlyDrop images, CSS and scripts.
  3. 3Match Google Referer valuesUse the values in Google's table, including the Android app value.
  4. 4Count per page per dayLogged visits beside Search Console clicks.
  5. 5Record the gap, do not adjustWrite down the difference and the date.

My method. The Referer values and the landing-page advice are from Google's page.

Time zones will quietly wreck this. Search Console reports in a time zone you should confirm for your property, and your logs may be in UTC or the server's local time. Compare across mismatched day boundaries and you get gaps that have nothing to do with tracking. Write the time zone next to every number, and compare complete days, because recent Search Console data can still change.

What to do with the gap

Never scale analytics to match Search Console. They measure different things at different points, and a scaled number looks tidy and means nothing. Keep the method running monthly and record the gap each time. A steady gap is a property of your setup. A sudden shift is worth an investigation, and you will only spot it if you have been recording.

Also be careful about what the Referer lets you say. It tells you a visit came from a Google surface. It does not give you the query, which Google's page says is absent, and it can't separate Search on the web from Google Images or Discover viewed on the web surface. Label a log count "Google surfaces", not "web search".

How we handle it at Offload

We keep the method document and the gap log side by side, so the question "did the gap move?" has an answer with dates behind it. Someone also has to own the comparison. Engineering owns the logs, marketing owns analytics and SEO owns Search Console, and the gap between them tends to belong to nobody. Naming an owner and a date for the next run is usually enough to keep it alive.

A checklist you can use today

  1. Copy the Referer values from Google's page into your method document with the page's last updated date.
  2. Confirm you can get server or CDN logs for the pages you care about, and who owns them.
  3. Define a landing-page request in your log format and write the rule down.
  4. Include the android-app:// pattern in your Referer filter.
  5. Choose complete days and confirm the time zone of both sources.
  6. Count logged visits and Search Console clicks per page per day and record the gap without adjusting either.
  7. Repeat monthly and flag any change in the size of the gap.

How this works as a task at Offload

This question belongs in a technical audit. Our Technical Audit task is a review of the site, delivered under your name. You tell us what access you can share and that you want the analytics versus Search Console question covered. We write up what we find, with the method and the gaps, and a named person at Offload checks it before it reaches you. You decide what to change. We don't set strategy, forecast traffic or promise rankings.

Technical Audit is $150 a site for sites up to 5,000 indexed URLs, as listed on offloadseo.com on Nov 23, 2026. Larger sites cost more; see the price list.

About the author

Portrait of Rahul Marthak

Rahul Marthak

Founder, Offload ยท Fractional Head of SEO, fSEO

I write these posts for in-house SEOs and agencies. Offload takes the recurring SEO tasks off your plate, at a published price per task, with a named person checking every deliverable, and hands them back under your name. I have spent over 7 years helping brands go from 0 to 1 with SEO, and through fSEO I work directly with startups as their fractional Head of SEO.

7+Years in SEO
$2M+Pipeline generated
12Startups scaled
10M+Monthly organic traffic, combined

Figures as stated on fractionalseo.services, across Rahul's fSEO work.

Keep reading

Hand us the recurring tasks. Keep your name on everything we deliver.

Pay a published price for each task, checked by a named person. We do not write content, build links, set strategy or promise rankings.