Skip to content
Measuring visitors without Google or cookies, and still seeing where they drop off

Measuring visitors without Google or cookies, and still seeing where they drop off

· Bert Altena

An in-house measurement that sends nothing to Google, sets no cookie and records no sessions. You still see, step by step, where visitors drop off on the way to a booking.

Anyone who wants to know where visitors leave their website usually pastes in a script from Google. It works, but it costs a cookie banner, half of the visitors click it away, and the data sits with someone else. So for a booking platform I built a measurement of its own. It sends nothing out and sets no cookie.

What is not in it

It starts with what the measurement deliberately does not do. No cookie, no browser storage, no session recording, nothing to Google, Meta or any other party. If Do Not Track or Global Privacy Control is switched on, the script measures nothing at all. Bots are blocked and only counted.

Without a cookie, a visit is recognised by a day code: a hash of the IP address and the browser, with a secret that changes every day. Yesterday's secret is deleted at night. So a visitor from Monday cannot be found again on Tuesday, not even by us.

What does come in is stripped down. A URL arrives without its query string, any run of six or more digits becomes a hash sign, and email addresses are removed from all text. The country comes from the device's time zone, not from the IP address.

What you do see

Despite those limits you see almost everything you need to improve:

  • The steps to a booking. Page viewed, calendar in view, date chosen, form past step 1, clicked Book, saved, paid. Per step the share that drops off, and the difference with the previous period.
  • What gets read. Per page the time on screen and how far people scroll, in steps of 25 percent.
  • Where visitors come from. Search engine, ad, newsletter, social media or direct. The value of a click ID never arrives.
  • What goes well. Channels and countries that book at least 30 percent more often than average, and the routes that most often end in a booking.
Booked and paid are real numbers from the server. The percentages before them are an approximation, and the screen says so. Someone who looks on a phone and books on a laptop counts as two visits.

Light on the server

The script only sends a page once it leaves the screen, in one small message of at most 8 kB. The receiving address opens no session and always returns an empty response. When it gets busy, you measure a sample of 50, 25 or 10 percent of visitors; the percentages stay correct.

After 90 days the individual pages are summarised per day and removed. A nightly check looks for any email address or long number that slipped into the data, and confirms that yesterday's key is really gone.

What I take from this

You do not need a third party to see where your website loses customers. An in-house measurement is smaller than Google Analytics, but it answers exactly the question that matters: at which step do they leave. And because nothing goes out, you do not have to ask anyone's consent for something they do not understand.

An earlier piece was about searching and booking on a phone; this measurement shows whether changes like that work. Want something similar for your own site? Have a look at the contact page.

Frequently Asked Questions

Do you need a cookie banner for this measurement?
The measurement sets no cookie and stores nothing in the browser. A line in the privacy statement is needed, though; that is why it is off by default until that line is in place. If in doubt about the wording, that is a question for a lawyer.
How do you know which country a visitor is from without the IP address?
From the time zone of the device. A Belgian with a Dutch time zone counts as the Netherlands, and someone on a VPN counts as their device is set. For a picture per country that is more than enough.
Can you still advertise with Google or Meta?
Yes. With the visitor's consent, a purchase can be sent to those parties from the server. To find out where visitors drop off you do not need that; that is what this measurement is for.
Chat met ons