Privacy · September 27, 2026
Analytics cookies and consent: a practical guide for site owners
When does website analytics need a consent banner? A plain-language guide to the three ways you can run Deeplitic and what each means for consent.

The rule behind the banners
In the EU, EEA, and UK, storing or reading information on a visitor’s device — a cookie, local storage, or similar — generally requires the visitor’s consent unless it is strictly necessary for a service they asked for. Analytics is usually not considered strictly necessary, which is why so many sites show a banner. Some national regulators allow narrow exemptions for limited first-party audience measurement, with conditions.
This guide explains the options; it is not legal advice. Your own legal counsel should confirm what applies to your site and audience.
Three ways to run Deeplitic
Standard mode sets a first-party visitor cookie for a year and a visit cookie for 30 minutes of inactivity. It recognises returning visitors and powers per-visitor timelines. In the EU, EEA, and UK, plan to ask for consent for this mode.
Consent mode (add data-consent="required" to the snippet) starts without cookies and switches to cookies only after you call deeplitic.consent(true) from your banner’s Accept button. Calling deeplitic.consent(false) removes them again. Visits before consent are still counted, without cookies.
Cookieless mode (add data-cookieless) never sets cookies. Each browser tab gets a random identifier that disappears when the tab closes, so visits are not linked across days. This is the closest to the “no banner” analytics model; check with your counsel whether it fits your jurisdiction.
What Deeplitic never stores
In every mode, IP addresses are not stored, country comes from your CDN rather than the IP, user-agent strings are reduced to a browser and OS name, query strings other than UTM tags are dropped, and nothing links a visitor across different websites.
Write it down
Whichever mode you choose, describe it in your privacy notice: which cookies are set and for how long, what is collected, and how long it is kept. Deeplitic’s own privacy policy lists all of this and can be linked from yours.
Visitors can ask you to delete their data. You can find a visitor from the Visitors page and erase them, with all their visits, in one click.