Lytical Docs
Browse the docs

Privacy, cookies and GDPR

Updated December 1, 2026

Lytical is built to collect useful analytics while respecting your visitors' privacy. This article explains what the tracking code (lyt.js) stores, when it switches to anonymous mode, and the settings you control.

This is product documentation, not legal advice. Talk to your own legal counsel about what your site needs.

What the tracking code stores

By default, lyt.js keeps three values in the visitor's browser local storage (not cookies):

Key What it is How long it lasts
lytical_vid A random visitor ID, so return visits are counted as the same visitor Until the visitor clears their browser storage
lytical_sid A random session ID 30 minutes of inactivity
lytical_sid_seen When the session was last active 30 minutes of inactivity

These IDs are random. They aren't derived from the visitor's IP address, device or any personal data.

Cookies are only used if you turn on Cross-subdomain tracking. In that case the same values are stored as first-party cookies on your root domain, so a visitor moving between www. and shop. keeps one ID. The visitor ID cookie lasts one year.

Lytical doesn't store visitors' IP addresses with your analytics data. Location (country, region, city) is looked up when an event arrives and only the location is saved.

Anonymous (cookieless) mode

In anonymous mode, lyt.js stores nothing in the browser and Lytical doesn't build a visitor profile. You still get pageviews, traffic sources, pages and campaigns, but:

  • No visitor ID is kept, so return visits and multi-page journeys can't be linked.
  • No location is stored.
  • lyt.identify() is ignored, and the visitor isn't matched to a company.
  • Behavior tracking such as engagement time is turned off.

A visit is tracked anonymously when any of these is true:

  1. Anonymous Tracking is turned on for the site (every visitor is anonymous).
  2. The visitor's browser sends Global Privacy Control or Do Not Track.
  3. The visitor is in the EU/EEA or UK (detected from their country or browser time zone), unless you've turned on GDPR override.
  4. Start anonymous until consent is on and the visitor hasn't consented yet.
  5. The browser blocks local storage.

Settings you control

Go to Settings → Website Settings and find Tracking & compliance:

Setting What it does
Bot Filtering Leaves known bots and crawlers out of your analytics. On by default.
Anonymous Tracking Tracks every visitor anonymously, everywhere, with nothing stored in the browser.
Start anonymous until consent Tracks anonymously until your consent banner says the visitor agreed, then switches to full tracking.
GDPR override Tracks EU and UK visitors normally instead of anonymously. Only turn this on if you collect consent another way.
Cross-subdomain tracking Uses first-party cookies so one visitor is recognized across your subdomains.

With Start anonymous until consent turned on, lyt.js detects consent from these platforms automatically:

  • Cookiebot: the visitor accepted the Statistics category.
  • OneTrust: the visitor accepted the Performance category (C0002).

When the visitor accepts, tracking switches to full mode on the spot, without reloading the page. Visits recorded before consent stay anonymous.

Data from identified visitors

When you call lyt.identify() with an email address or user ID, Lytical links that visitor's activity to the identity you sent. Only identify people your privacy policy covers. See Identify Users with lyt.identify.

Deleting data

To delete data Lytical imported from integrations, see the data deletion guide. To delete a whole website and all of its data, see Managing multiple websites. For a data subject request about a specific visitor, email support@lytical.ai.

Was this article helpful?

Still stuck?

Ask Quincy in the app, or email support@lytical.ai.