Cookieless analytics: counting visitors without a cookie banner

Some sites show a cookie banner they do not need, and measure worse because of it. Here is how to pick a way of measuring that fits what you actually want to know.

A cookie banner is not proof that you are doing things right. It is often a patch on a problem you can remove instead: measuring without putting anything on your visitor’s device. This article lays out the options, what each one requires, and where to get the official answer.

Why a banner rarely pays off

A consent prompt costs you three things at once. It slows down the first screen a visitor sees, it asks for a decision before anyone knows whether your site is worth it, and it leaves your numbers incomplete: you only measure the share of people who click accept.

On top of that, a banner that does not work properly is worse than no banner. A prompt without a real reject button, or one where the tracking scripts have already loaded before anyone chooses, gives false comfort. You get the downsides of a banner without the protection.

So the honest question is not “which cookie notice should I use”, but: which data do I actually need, and can I collect it without asking for consent? Whether the answer is yes depends on what you measure and which tool you use.

Across the EU the rule comes from the ePrivacy Directive; in the Netherlands it sits in article 11.7a of the Telecommunications Act. In short: storing information on a visitor’s device, or reading information from it, requires clear information and consent. There are exceptions, including for what is needed to carry out the communication and for what is strictly necessary to deliver the service the visitor asked for. Check the wording at the source: the law itself. Note who supervises what: in the Netherlands the ACM enforces article 11.7a of the Telecommunications Act, while the Autoriteit Persoonsgegevens supervises personal data under the GDPR.

Two layers sit on top of each other:

  • The cookie rules are about the device. If you store or read something, the consent rule applies with its exceptions, whether or not the data is personal.
  • The GDPR is about personal data. An IP address, a visitor ID or a fingerprint usually qualifies. You then need a lawful basis, a purpose, a retention period and agreements with your supplier.

Statistics do not automatically fall under an exception. Dutch law exempts cookies that only measure the quality or effectiveness of the service and have no or hardly any privacy impact (article 11.7a(3) of the Telecommunications Act); the rules differ per country. Those conditions cover how the tool is configured, whether data is shared with third parties, and whether you use the measurement for anything beyond your own statistics. Read them yourself before you remove the banner; this article is not legal advice.

If you do ask for consent, it has to be freely given, specific, informed and unambiguous. In practice that means:

  • An active choice. Pre-ticked boxes or “by continuing you agree” do not count.
  • Refusing is as easy as accepting. One click to accept and three screens to refuse is not a free choice.
  • Nothing loads before the choice. If your analytics script fires on first load, the prompt is decoration.
  • Consent can be withdrawn. Provide a link or button to change the choice later.
  • You can show what was chosen. Store the choice, not the person behind it.

If you measure on the basis of consent, remember that your numbers are a sample. That is fine, as long as you know it and compare trends with trends.

Four ways to count visitors

1. A full analytics suite with consent

You get plenty: campaigns, goals, links to ad platforms. You pay in complexity: a working consent solution, a data processing agreement, clarity about transfers outside the EU and a privacy statement that matches reality. Worth it if you advertise seriously. Overkill if you just want to know which pages get read.

2. A hosted tool without cookies, processing in the EU

Such tools can count visits without storing anything on the device; check per tool whether that is really the case and whether profiles are built. You get visitors, pages, referrers and countries. You give up cross-session analysis. Check per supplier: where the servers are, which sub-processors are involved, how long raw data is kept and what the processing agreement says.

3. Self-hosted on your own server

Same numbers, but the data stays with you. No processing agreement with an analytics vendor (you still need one with your host), but you do take on maintenance: updates, backups and disk space. This fits sites that are already covered by maintenance, so it rides along with the usual update and check cycle.

4. Server logs

The dullest option and often the most honest. Your web server records requests anyway. A log parser turns that into visit counts, popular pages and error reports. Bots blur the picture and you see nothing about behaviour inside a page, but you have to ask no one for anything. For a brochure site with a contact form, that is often enough.

What to arrange besides the tool

Picking a tool is the smallest part. This belongs with it:

  • Data processing agreements. With every party processing data on your behalf: the analytics vendor, your host, your mail provider. Article 28 GDPR sets out what such an agreement must contain.
  • Transfers outside the EU. Know where the data sits and which sub-processors are used. Write it down, even if the answer is “everything stays in the EU”.
  • Retention. Keep raw data for the shortest period you still find useful. Aggregated figures can stay longer.
  • Data minimisation in the measurement itself. Do not send full URLs containing tokens, email addresses or search queries. That is a setting, not a legal problem.
  • Privacy statement. Describe what you measure, why, for how long and with whom. Review it whenever you switch tools.

Hosting and log files: the collection you forget

Even without analytics, your site collects data. The web server logs IP address, timestamp, requested URL and browser. A CDN or firewall does the same, often somewhere else. Forms store submissions and send mail. Third-party spam filters and captchas send visitor data to an external domain — exactly the kind of processing your visitor never notices.

So ask your host which logs are kept and for how long, and put that in your privacy statement. Then look hard at external scripts: fonts, maps, video embeds and chat widgets usually pull in more than you expect.

This site is an example: a WordPress block theme with a custom plugin, where the forms handle antispam without an external service and mail goes out through Microsoft Graph. That keeps the number of parties small. If you want to know how this works out for your site, see web design or book an intro call.

Decision tree: do you need a banner?

  1. Does your site store or read anything on the visitor’s device beyond what is strictly necessary for the service requested? If not, no consent is needed for that part.
  2. Do you process personal data, such as IP addresses or visitor IDs? If so, arrange a lawful basis, retention period and processing agreement — cookies or not.
  3. Do you share data with an ad platform, or use it for profiles or remarketing? Then you ask for consent, and the prompt has to genuinely work.
  4. Unsure at step 1 or 2? Put your concrete setup to a lawyer, instead of adding a banner that solves nothing.

Checklist

  • Write down which questions your statistics should answer. Drop the rest.
  • Pick the lightest tool that answers them.
  • Check the statutory exception (in the Netherlands article 11.7a(3) Tw) before measuring without consent.
  • Processing agreements in order, including host and mail provider.
  • Retention periods set and documented.
  • Privacy statement updated after every change.
  • Log files and external scripts mapped.
  • If you do run a banner: refusing as easy as accepting, and nothing loads beforehand.

Treat this as maintenance, not a one-off project. Put it next to the checks you already do, such as your WordPress maintenance round and the accessibility work for a web shop. Then it stays a short annual check instead of a surprise.

Frequently asked questions

Can I use Google Analytics without a cookie banner?
Not by default: the tool stores data on the device and shares it with a third party. If you want to measure without consent, check the statutory exception for analytics with no or limited privacy impact (in the Netherlands article 11.7a(3) Tw), or choose a cookieless tool.
Is an IP address personal data?
An IP address can be personal data, certainly in combination with other details. Assume it is, and arrange a lawful basis, a retention period and agreements with your supplier.
How much do I lose without an analytics script?
You lose in-page behaviour and sessions spanning multiple visits. You keep visit counts, popular pages and referrers. Whether that is enough depends on the decisions you want to make.
What should my privacy statement say about analytics?
Which data you collect, why, how long you keep it, who you share it with and where those parties process it. Update the text as soon as you switch tools or hosts.

This article was written with the help of AI, based on WeMeekIt's hands-on experience.

Book an intro call

Half an hour, free and with no obligation. Pick a time that suits you, and you'll get a confirmation within one business day.

Which day?
What time?
How would you like to meet?
Or call directly: +31 6 39220022