viakite
Dashboard

Guides/Privacy and setup/Privacy

Privacy

No cookies: what is sent, added and dropped

Viakite Analytics sets no cookies, stores nothing on the visitor's device and keeps no IP addresses. This page lists exactly what the browser sends, what the server adds, what it drops, and how visitors are counted without cookies, so you can describe it in your own privacy policy.

What the browser sends

Each page view, event and engagement is one small JSON request with these fields:

FieldWhat
typepageview, event, engagement or identify
idA unique id made in the browser, so a retry isn't counted twice
urlThe page address, with only the allowed query parameters. The fragment is dropped unless hash mode is on
referrerThe page that linked here, without its query and fragment, and only when it is another site
titleThe page title, only when data-title is on
screenThe screen's width and height
languageThe browser's language
ts, sentWhen it happened and when it was sent, to correct the browser's clock
name, propsFor custom events: the name and properties you send
user_id, traitsOnly after you call identify

Page URLs keep only these query parameters: utm_source, utm_medium, utm_campaign, utm_term, utm_content, ref, gclid, fbclid, msclkid, li_fat_id, q, query, search, s, and the ones you add with data-params or in tracking settings. Every other parameter is removed in the browser, and again on the server. The server then stores the page's path without its query, and keeps from the parameters only the UTM fields and ref (as campaign data), which ad platform a click id came from, and the site-search term.

What the server adds

When an event arrives, the server adds the visitor and the visit, the country, region and city, the device type, browser and operating system, the screen size group, the source and channel, which ad platform a paid click came from (never the click id itself), and whether it was a bot.

Location comes from the country and city headers of the edge that receives the request. Viakite never looks up an IP address itself.

How visitors are counted without cookies

A visitor id is a hash of a daily salt, your project's id, the IP address and the user agent, made when the event arrives. The IP address and the user agent are then dropped; only the hash is stored.

The salt is random, one per project per day. It changes at midnight in your project's time zone, and the old one is deleted when the next day's salt is made. Without the salt the hash can't be traced back to anyone.

What this means for your numbers:

  • The same browser on the same day is one visitor. The next day it is a new one.
  • Over a range of several days, a person who comes back on different days counts once per day. Visitors over 30 days is higher than the number of different people.
  • A visit ends after 30 minutes without an event (your project's session timeout), and a new visit starts at midnight.
  • Funnels can follow a visitor for 1 day at most. Signed-in users you identify can be followed for 30 days.

What is never kept

  • No cookies, and no identifier stored on the device: not in localStorage, not in sessionStorage.

  • No IP address and no full user agent. The server keeps only the browser, the operating system and the device type.

  • E-mail addresses, phone numbers and long tokens found in paths, referrers, titles, search terms and property values are replaced with [email], [phone] and [token] before anything is stored. /reset/rahul@gmail.com is stored as /reset/[email].

  • identify drops a user id that looks like an e-mail address or phone number, and keeps the id in memory for one tab only.

  • Your own personal-data patterns, set in tracking settings, replace what they match with [redacted] in the same places, before the built-in rules run.

When nothing is sent

The script sends nothing when:

  • the browser is automated (navigator.webdriver), as in headless test runs;
  • the site runs on localhost, 127.0.0.1 or file://, unless data-localhost is on;
  • you excluded your own visits in this browser, with localStorage (see Debugging).

The server drops, without storing or billing them:

  • known bots and crawlers, scripts such as curl, and headless browsers, by their user agent;
  • events from the addresses of data centres and cloud providers (AWS, Google Cloud, Azure, Oracle, DigitalOcean, Hetzner, OVH, Linode, Vultr, Contabo, Scaleway), where people don't browse from, using the address lists those providers publish;
  • page views and events whose referrer is a known referrer spam site;
  • events from hostnames your project doesn't allow, and from excluded IP ranges and paths (see Tracking settings);
  • events from visitors who set Do Not Track or Global Privacy Control, when your project respects them.

Bots, data-centre addresses and referrer spam are counted as Filtered on the Overview. Events sent with a secret key from your own server are never checked against the data-centre list, since your server runs in one.

Viakite downloads the providers' address lists again every day, so new data-centre ranges are filtered soon after they are published.

Do Not Track is applied on the server

When Respect Do Not Track and Global Privacy Control is on (Analytics settings → Tracking, or respect_do_not_track through the API), the browser still sends the event and the server drops it on arrival, so it is never stored.

Where the data lives

Your data is stored and processed in your organization's region, the United States (us) today. Data from test keys is kept apart from live data and left out of every report. See Concepts.

To delete one visitor's or user's data on request, record it in Settings → Privacy requests. A scheduled job deletes their events within a few minutes. See Projects.

Events older than your plan keeps are deleted by a daily job. See Billing.

Next steps