Skip to content
Privacy

Cookieless analytics, explained

2 min read · Updated · By the Reveata team

Analytics tools usually store a random id in a cookie so they can tell a new visitor from a returning one. Cookieless tracking counts visitors without storing anything in the browser.

How it works in Reveata

Instead of a stored id, the server computes a hash from a random salt that changes every day, your website, the visitor’s IP address and their browser’s user agent. The same person on the same day gets the same hash, so sessions and pages are counted correctly. The next day the salt is different and the hash changes. Old salts are deleted, so a hash cannot be traced back to an IP address. The IP address itself is never stored.

What stays the same

  • Pageviews, sessions, sources, campaigns, pages, countries and devices.
  • Goals and funnels within a day.
  • Revenue attribution for payments you can match by identify or email.

What changes

  • Returning visitors: someone who comes back on another day counts as a new visitor, so unique visitors over long periods are higher than with cookies.
  • Linking payments: there is no visitor id in the browser to pass to your checkout, so payments are matched through identify or email instead.
  • Cross-domain journeys: a visitor moving between two of your domains cannot be carried along.

Do you need it?

That depends on where your visitors are, what your privacy policy says and how your legal advisor reads the rules that apply to you. Some site owners turn on cookieless mode to avoid storing anything on visitors’ devices; others keep cookies for more accurate returning-visitor and revenue numbers and handle consent instead.

You can switch at any time in Settings → General. See Privacy, cookies and cookieless mode for the details.

Do it in Reveata

In the dashboard

  1. Open Site settings → General.
  2. Under Tracking code, turn on Cookieless mode, then copy the snippet again: it now includes data-cookieless="true", so the browser stores nothing. Until you replace it, the server already counts visitors the cookieless way.
  3. If you take payments, add identify after sign-in so payments still find their visits.

With the API

Compare new and returning visitors before and after the switch:

bash
curl -G https://reveata.com/api/v1/websites/example.com/analytics/new-vs-returning \
  -H "Authorization: Bearer $REVEATA_TOKEN" \
  --data-urlencode "period=last_30d"

With an AI assistant

With the MCP server connected, ask:

Use get_timeseries for the last 90 days with visitors and sessions per week, and tell me whether the ratio changed after I turned on cookieless mode.

Try it in your dashboardOpen your website in Reveata and follow the steps above with your own numbers.
Open dashboard →
Was this guide useful?

Next guides