Cookie consent

Cookie consent is the permission a site asks for before storing cookies or similar data on a visitor's device. In the EU, Article 5(3) of the ePrivacy Directive requires it for anything that isn't strictly necessary for a service the visitor asked for, which usually includes analytics and ad cookies. A tool that stores nothing on the device doesn't trigger that rule.

By the Onfus teamUpdated 17 November 2026

Cookie consent

Definition
A visitor's permission, usually given through a banner, to store cookies or similar data on their device.

When do you need a cookie banner?

When your site stores or reads non-essential information on the visitor's device, such as analytics or advertising cookies, and you have visitors from the EU, the UK or similar jurisdictions. Strictly necessary cookies, such as a login session, are exempt. This is general information, not legal advice.

Login session cookie
Typical answerNo, strictly necessary
Shopping cart cookie
Typical answerNo, strictly necessary
Analytics cookie
Typical answerUsually yes
Ad or retargeting cookie
Typical answerYes
Nothing stored (cookieless analytics)
Typical answerArticle 5(3) doesn't apply

Does it need consent under ePrivacy? (general guide)

Questions about cookie consent.

Does Google Analytics need cookie consent?

Google's EU user consent policy requires sites using its products to obtain consent for cookies where the law requires it. Google Analytics 4 sets cookies to identify users, so most sites with EU visitors ask for consent before loading it.

How does Onfus handle it?

Onfus sets no cookies and builds no fingerprints by default, and stores no IP addresses on its servers. Revenue attribution is the exception: it adds one first-party cookie and a matching localStorage key, so check whether your consent setup needs to cover it before turning it on.

Onfus vs Google Analytics

Can I remove my cookie banner with Onfus?

If Onfus was the only reason for it, the analytics part of the banner isn't needed for Onfus's default tracking. Other tools on your site may still need consent.

Is a cookie wall allowed?

Rules differ by country and change over time; check your regulator's guidance.

Sources

Read on 17 November 2026. Follow the links for the current wording.

Know what to fix by tomorrow.

Paste one line and start tracking in a minute. See where visitors drop off and what to fix. Free for 14 days, no cookie banner.