Do I need a cookie banner for analytics?

It depends on everything your site stores and where you operate. Banners are triggered by storing or reading data on a visitor's device and by processing personal data. Analytics that sets no cookies and stores no IP addresses removes one common trigger, but fonts, embeds, chat widgets and ad tags can each bring it back. This is not legal advice.

Last updated 26 November 2026. By Paul Badarau.

Priya has a fictional portfolio with a contact form, an embedded video of a talk she gave, and an analytics script that sets cookies. Her site shows a banner, and she wants it gone. Swapping the analytics script is the obvious first step. It is only the first one, because the video player can set cookies of its own.

Before you decide about the banner, take stock of the whole page:

  1. List everything that runs a script or loads from another domain: analytics, fonts, video and map embeds, chat, share buttons, ad and conversion tags.
  2. Open the site in a private window and look at the developer tools. For each item, note whether it stores or reads anything on the device, such as cookies, local storage or session storage.
  3. Note what each item receives about the visitor, such as an address, an identifier or form contents.
  4. Remove what you do not need, and replace what you can with a version that stores nothing. Then ask someone qualified where you operate whether what is left needs consent.

PostDeploy Analytics is built to leave nothing for step 2 to find. Its script sets no cookies and keeps only in-page memory. Analytics does not store IP addresses or user agents. Visitors are counted per day with a salted hash, the salt changes every day, and old salts are deleted. New Projects respect Do Not Track and Global Privacy Control by default.

No cookies is not the same as no personal data. To count a daily visitor, the server combines the request's IP address and user agent with the day's salt, keeps the hash, and does not write the address or the user agent. Whether that processing needs consent where you operate is a question for a lawyer. PostDeploy does not claim compliance with any law.

Whatever you decide about the banner, your privacy policy should still say which analytics you run and what it stores.

The product page for this is Analytics.

Start your 14-day free trial