The rule is about devices, not cookies
Article 5(3) of the EU ePrivacy Directive asks for consent before anything is stored on, or read from, a visitor's device, unless it is strictly necessary for a service the visitor asked for. Cookies are the best-known case, not the only one. The European Data Protection Board's Guidelines 2/2023 (final version adopted in October 2024) say the same rule reaches tracking pixels, tracking links, device fingerprinting and some kinds of local processing. So "we use no cookies" is a good start, but on its own it is not a legal exemption.
Where analytics can run without consent in France
The French regulator, the CNIL, lets audience measurement run without prior consent when it stays narrow: the data serves only the site that collects it, it produces aggregate statistics, it is not combined with other processing or passed to third parties, it does not follow people across sites, the last byte of the IP address is removed, trackers live no longer than 13 months and the data is kept no longer than 25 months. Visitors must be told and must be able to object. Other EU regulators publish their own guidance and several are stricter, so check the authority in the country where your audience lives.
The UK changed its rules in 2026
The Data (Use and Access) Act 2025 amended the UK's PECR rules, and the main changes took effect on 5 February 2026. Storage and access used only for statistics that help you improve your own website no longer need prior consent, as long as visitors are told and can opt out easily. The exception does not cover data that feeds advertising or profiling. The ICO's guidance on storage and access technologies explains the details.
What BYOViral collects, exactly
The script is under 1 KB. On each pageview it sends five things: the page address (without the #fragment), the referrer, the page title, the screen resolution and, if you use custom events, the event name. It sets no cookies and writes nothing to local storage. On the server, BYOViral works out country, region, city, browser, operating system and device from the IP address and user agent, and counts unique visitors with a one-way key built from them. By default the per-site visitor log keeps the full IP address, the network and the user agent so you can spot bots and abuse; the free plan keeps the latest 500 entries. If you switch on Shorten IP addresses in the website settings, the last part of every address is removed before anything is saved (203.0.113.0 instead of 203.0.113.42); location, network and bot checks still run on the full address at the moment of the visit. That covers the CNIL's IP-truncation condition. Either way, treat BYOViral as personal-data processing and say so in your privacy notice.
What to write in your privacy notice
Name the tool and what it is for (counting visits and filtering bots), list the data it receives (page, referrer, title, screen size, IP address, user agent), say how long it is kept, and say who to contact to object or ask for deletion. If you rely on legitimate interests under the GDPR, write down your balancing test. Keep it short and specific; vague wording is what regulators pick on.
The banner usually comes from the other tools
On most small sites the consent banner is there because of advertising, Google Analytics 4, social pixels, embedded videos or chat widgets, not because of the visitor counter. Swapping only your analytics rarely removes the banner by itself. List every script your pages load, and decide tool by tool.