Is cookieless tracking GDPR compliant? What the law actually says

Apr 28, 2026
8 min read
TL;DR

Understand cookieless analytics by separating device access, personal data and consent, then verify the collection and controls in your implementation.

Is cookieless tracking GDPR compliant? What the law actually says

An open notebook rests against a laptop displaying line charts and a circular chart.

The short answer: not automatically. Two different sets of rules apply, and "cookieless" only touches one of them.

  • The ePrivacy rules (Article 5(3) of the ePrivacy Directive, and PECR in the UK) govern storing or reading anything on a visitor's device. They cover localStorage, sessionStorage, pixels and scripts, not only cookies. Consent is required unless an exemption applies.
  • GDPR governs personal data, wherever it is stored. A hashed or random visitor ID, an IP address or a URL with an email in it can be personal data even if no cookie was ever set.

A cookieless tool helps with the first question only when it stores nothing on the device or qualifies for an exemption. It helps with the second only when what it sends and keeps is not personal data, or is handled lawfully.

Cookieless tracking can be part of an appropriate analytics implementation, but the absence of cookies does not decide whether consent is needed or whether the processing satisfies GDPR. Review device access, personal data, purpose, configuration and the rules that apply to the deployment.

Keep two questions separate

First, determine what the implementation stores on or accesses from a device. The UK's ICO guidance on storage and access technologies includes web storage, pixels, scripts and fingerprinting techniques. Review the relevant conditions and exceptions rather than assuming that localStorage or server-side collection is outside the rules. In the EU, the EDPB's guidelines on the technical scope of Article 5(3) (final version, 16 October 2024) work through use cases including URL and pixel tracking, tracking based on IP address alone, and unique identifiers.

Second, determine whether the information processed is personal data and what requirements follow. The EDPB explains the difference between pseudonymisation and anonymisation: replacing a name with a hash or opaque identifier does not automatically make the result anonymous.

How common cookieless methods fare on each question

"Cookieless" covers several techniques. They land differently on the two questions:

MethodStores or reads on the device?Personal data?
Aggregate counts with no visitor identifierUsually no storage, though the script still runs on the deviceOften limited, but URLs, IP handling and custom properties still need review
Server-side identifier hashed from IP address and user agent with a rotating saltNo storage on the deviceIP addresses are inputs, so the processing can involve personal data even if only the hash is kept
Random visitor ID in localStorageYes, so Article 5(3) or PECR appliesThe ID is a pseudonymous identifier
Fingerprinting from browser characteristicsReads information from the deviceDesigned to single out a device

Databuddy uses the third: a random visitor ID in first-party localStorage, hashed with a rotating daily salt at ingestion by default. The collection reference lists what it stores and sends.

Some regulators accept narrow analytics exemptions from the consent requirement. Each one has conditions the deployment has to meet, and none of them is triggered by the word "cookieless".

France. CNIL's audience measurement guidance exempts trackers used only for audience measurement or A/B testing when you:

  • limit the tracker to a single site or app publisher,
  • do not cross-check the data with other processing, such as customer files or visits to other websites,
  • limit tracker lifetime to 13 months,
  • truncate the last byte of the IP address,
  • tell users about the trackers and let them object.

CNIL notes that most large audience measurement offerings do not fall within the exemption, and that national rules can vary.

United Kingdom. Since 5 February 2026, PECR Schedule A1 allows storage or access for statistical purposes without consent when:

  • its sole purpose is collecting statistics about how your service or website is used, so you can improve it,
  • the information is not shared except to help you make those improvements,
  • users get clear and comprehensive information about the purpose,
  • users get a simple, free way to object, and have not objected.

Both exemptions are limited to measuring your own service. CNIL allows only audience measurement and A/B testing with no cross-checking, and the UK exception requires statistics as the sole purpose, so advertising, profiling and cross-site tracking fall outside them. Under the UK exception, an identifier that also feeds a remarketing audience fails the sole-purpose condition; under CNIL's, that is cross-checking.

Outside these regimes, the rules differ by country. A German or Dutch site, for example, needs its own regulator's position. Do not carry one country's exemption to visitors in another.

Seven checks for your implementation

Run these before launch, in a test session with synthetic data. Each one answers part of the two questions above for your actual configuration rather than the product category.

1. List everything in browser storage

Check cookies, localStorage, sessionStorage, and other device access used by the application and tracker. Record the purpose and lifetime of each relevant value.

Databuddy avoids analytics cookies but uses browser storage and sends analytics requests to a collector. Identification and custom properties can change the context processed. It is incorrect to describe this as a guarantee that no personal data leaves the device. Keep application session cookies distinct from analytics identifiers.

2. Read the request payloads

Inspect the actual payloads for a pageview, custom event, and any enabled diagnostic event. Check URLs and query strings for email addresses, tokens, search terms, or other unexpected values. A password-reset link such as /reset?email=jane@example.com puts an email address in a pageview unless the query string is stripped.

Use a property allowlist for custom events. Collect the minimum information needed for a stated question and verify that your application does not send entire form or request objects by mistake.

3. Trace identifiers and account linking

Write down how the tracker distinguishes activity and what happens when you identify an account. Determine which values persist across visits and which are transformed or rotated.

An opaque or hashed identifier is not automatically anonymous. If your reporting needs account-linked behavior, document why and test login, logout, and a second user on the same browser. See the tracker helpers for Databuddy's identity APIs.

4. Test the collection decision

Where your configuration requires consent, verify acceptance, refusal, and withdrawal. Where an exemption or opt-out is being used, document its basis and test the objection mechanism the exemption requires. Do not change a visitor's refusal merely to improve a report.

5. Check optional features one by one

Review replay, diagnostics, identification, advertising integrations, and connected AI services separately. Enabling a feature can change payloads, destinations, and the purpose of collection, and a changed purpose can take a setup outside an exemption.

Record who may enable these features and what verification is required first. The SDK configuration reference gives the available controls; a configuration option is not evidence that it is set correctly on your live site.

6. Verify access, retention and deletion

Test report permissions and scoped keys with synthetic team members. Document retention, supported exports, deletion, and backup handling. Review actual processing regions, subprocessors, and contractual arrangements.

Self-hosting makes your team responsible for deployment and operations, but infrastructure, backup or support suppliers may still be involved. A regional server location alone is not a complete transfer or compliance assessment. Use the ownership checklist when you need a repeatable acceptance test for portability and access.

7. Keep evidence and repeat it after changes

Save the tested tracker version, enabled configuration, expected events, observed requests and storage, and the review owner. Keep production personal data out of the record. Revisit the review when you change storage, identification, custom properties, optional features, destinations, or hosting.

Run the same inventory for advertising, embedded media, chat, experiments and diagnostic services. Replacing a website analytics script does not remove requirements for other services. An exemption, where available, has conditions; a provider's product name or general marketing statement does not establish that those conditions hold on your website.

Frequently asked questions

Yes. Article 5(3) and PECR cover any information stored on or read from the device, not only cookies. The EDPB guidelines name local storage alongside cookies as information stored on the device, and the ICO lists web storage in its guidance. Moving an identifier from a cookie to localStorage does not change which rule applies.

Is an IP address personal data?

It can be. Under the pre-GDPR Directive 95/46, the Court of Justice of the EU held in Breyer (C-582/14) that a dynamic IP address can be personal data for a website operator that has legal means to identify the person behind it. Truncating or discarding it after use reduces what you keep, but the collection itself still involves it.

Does a cookieless tool remove the need for a privacy notice?

No. Both the CNIL and UK exemptions require you to tell users about the analytics and let them object. An exemption removes the consent step, not the information duty.

For the practical question of whether your website can drop its banner, read can you run analytics without a cookie consent form. To compare products on these points, use the GDPR analytics tools comparison. Neither a script label nor this guide is a legal determination about an entire installation.