Skip to content
Statistikwerk

How Statistikwerk counts visitors without cookies

Statistikwerk sets no cookies and stores no IP addresses. Even so, it counts visitors reliably. Here you can see how that works and where the limits are.

Team Statistikwerk Last updated: 4 min read Also in: Deutsch, Français, Italiano, Español

In short

The server creates an anonymous value from the IP address, browser details, the website and a daily key. Statistikwerk does not store the IP address, and the daily key is deleted every night. That is why Statistikwerk only recognises a visitor on the same day and only on the same website.

Contents
  1. What happens on a page view
  2. The anonymous daily value
  3. What is stored and what is not
  4. A new key every night
  5. What this means for your numbers
  6. How long the data is kept
  7. Frequently asked questions

What happens on a page view

A small script of less than 2 KB runs on your website. On every page view, it sends the address of the page, the referring page and the width of the window to Statistikwerk. It also measures how long the page was visible. It stores nothing on your visitors’ devices.

As with every page view on the internet, the server also sees the IP address and the browser details, known as the user agent. Like every web server, our hosting provider’s web server writes them to an access log for technical reasons. It is only used to investigate faults and attacks, never for the statistics, and is deleted after 2 days at the latest.

The anonymous daily value

So that someone who looks at three pages does not count as three visitors, Statistikwerk needs a way to recognise them. Instead of a cookie, the server creates an anonymous value from the IP address, the browser details and a random daily key. The website is added to the mix as well, more on that below. A one-way function turns all this into a short string of characters that no longer contains the IP address.

Process: IP address, browser details and a daily key produce an anonymous daily value. The IP address is discarded, only the value remains, and the key is deleted at night.
The details become one anonymous value. The IP address is then discarded and the daily key is deleted at night.

Apart from that, Statistikwerk only uses the IP address to determine the country and the region, for example the canton or federal state. Statistikwerk does not use the town or city. Then the IP address is discarded.

What is stored and what is not

For each visit, Statistikwerk stores:

  • the pages viewed, without any additions to the address
  • the referring website, only the domain name
  • campaign details from UTM links
  • the country and region (for example the canton or federal state) and the browser language
  • the device type, browser and operating system, only roughly and without versions
  • the duration of the visit
  • clicks on phone numbers, email addresses, files and links to other websites, only the target of the link

IP addresses, cookies or other identifiers on the device, as well as names, email addresses or anything typed in by your visitors, are never stored. If someone clicks on an email address shown on your website, Statistikwerk stores this address as the target of the click.

A new key every night

The daily key is valid for one day only. During the night, Statistikwerk deletes it and creates a new one for the new day. From then on, yesterday’s value can no longer be linked to anyone, not even by us. The day follows Coordinated Universal Time (UTC), so in Switzerland it changes at 1 am, or at 2 am in summer.

What this means for your numbers

  • Someone who comes by on two days counts as two visitors. Over a week or a month, the number of visitors is therefore a little higher than with analytics that uses cookies.
  • Statistikwerk cannot tell new visitors from returning ones. That is the price of real anonymity.
  • Because the website is part of the value, nobody can be tracked across several websites, even if all of them belong to the same account.
  • Pageviews, sources and countries do not need recognition at all. And because no banner shuts visitors out, people who would reject a cookie banner are counted too.

What this means for the cookie banner is explained in Do I need a cookie banner for my web analytics?

How long the data is kept

By default, Statistikwerk keeps individual visits for 13 months. In the settings of each website, you can choose a shorter period under “Advanced settings”. After that, only daily totals remain, for example how many visitors a page had on a given day. That way you can still compare periods years later. The statistics data is stored with cyon in Switzerland.

Frequently asked questions

Are visitors with “Do Not Track” counted?

No. If someone has switched on “Do Not Track” or “Global Privacy Control” in their browser, Statistikwerk does not count the visit. This setting is active for every website from the start. You will find it in the website settings under “Advanced settings”.

Can I see who visits my website?

You see numbers, pages, sources, countries and regions, but never individual people, names or IP addresses.

Can I describe Statistikwerk as anonymous in my privacy policy?

Statistikwerk is built so that it does not recognise people: no stored IP addresses, no cookies, no recognition beyond the day. How you describe this in your privacy policy is best clarified with an expert. Either way, you should mention Statistikwerk there.

Share: Email LinkedIn Telegram X

Try it out with your own website.

Free, no credit card, set up in two minutes.

Start for free