Skip to content
Privacy and compliance

What is cookie consent?

3 min read · Updated · By the Reveata team

Short answerCookie consent is the permission a website asks a visitor for before it stores or reads non-essential cookies, or similar data, on their device. Under EU and UK rules it must be given freely, clearly and before the cookies are set, and it must be as easy to refuse as to accept.

Person holding white iphone 5 c
Photo by Kelly Sikkema on Unsplash

Consent is the most visible part of web privacy, because it is the part visitors actually see. Behind the pop-up sit two rules: the ePrivacy Directive (or PECR in the UK), which says when you need consent to use a device's storage, and the GDPR, which says what valid consent looks like. This page explains the ideas; it is not legal advice.

The GDPR defines consent as freely given, specific, informed and unambiguous, given by a clear affirmative act. For cookies that usually means:

  • Before, not after. Non-essential cookies wait until the person agrees.
  • No pre-ticked boxes. The Court of Justice of the EU confirmed in the Planet49 case (C-673/17, 2019) that a pre-ticked box is not valid consent.
  • Specific. Separate choices for separate purposes, such as analytics and advertising.
  • Informed. The person knows what is set, by whom and why.
  • Reversible. Withdrawing consent must be as easy as giving it.

Cookies strictly necessary for a service the visitor asked for, such as a sign-in session or a shopping basket, are exempt. Reveata's own dashboard works this way: its Cookie Policy lists the sign-in cookies as strictly necessary, and says the marketing site sets no analytics or advertising cookies.

Analytics cookies are usually not treated as strictly necessary in the EU. The UK has added an exception for some statistical uses, with conditions; see PECR.

When analytics waits for consent, people who decline or ignore the banner are not counted. That gap is not random: it depends on your audience and your banner design. Revenue attribution suffers too, because a buyer who declined has no visitor id to link the payment to.

How Reveata fits in

Reveata gives you two ways to work, and you choose:

  1. With cookies (the default). The script sets two first-party cookies, _dt_v (a random visitor id, up to 400 days) and _dt_s (a session id, 30 minutes of inactivity). If your consent tool holds the script back until people accept, Reveata counts only those who accepted. Site-builder guides such as Wix show how to put the script in the analytics category.
  2. Cookieless. With data-cookieless="true", nothing is stored in the browser and visitors are counted per day with a hash whose salt is deleted after the day ends. Many sites use this mode to avoid analytics cookies altogether. Whether that is enough for your situation is a legal question for your adviser.

For mobile apps, the React Native SDK can wait for consent with requireConsent: true and record nothing until you call setConsent(true). When you connect Microsoft Clarity, Reveata can wait for the visitor's consent before loading it; see Clarity.

Reveata's terms leave the decision with you as the controller: you are responsible for any consent your visitors' laws require.

Frequently asked questions

Do I need cookie consent if I only use first-party cookies?

First-party or third-party makes no difference to the EU rule. What matters is whether the cookie is strictly necessary for a service the visitor asked for. First-party analytics cookies are less intrusive, but in most EU countries they still need consent.

Can I set analytics cookies and ask for consent afterwards?

No. Under the EU rules, consent has to come before non-essential cookies are stored or read. Loading the analytics script only after a positive choice is the usual way to respect that.

Does "by continuing to browse you accept cookies" count as consent?

Regulators generally say it does not, because carrying on browsing is not a clear affirmative act. A real choice with accept and reject options is the safer design.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is a cookie banner?A cookie banner is the pop-up or bar a website shows to tell visitors which cookies and similar technologies it uses and to collect their choice, so that non-essential cookies are only set after the visitor agrees.GlossaryWhat is the ePrivacy Directive?The ePrivacy Directive (Directive 2002/58/EC) is the EU law on privacy in electronic communications. Its Article 5(3) is the reason websites ask for cookie consent: storing or reading information on a person's device needs their consent unless it is strictly necessary for a service they asked for.GlossaryWhat is Google Consent Mode?Google Consent Mode is a feature of Google's tags (gtag.js and Google Tag Manager) that tells Google Analytics and Google Ads what a visitor agreed to in your cookie banner, so the tags adjust their behaviour, for example by not setting advertising cookies when consent is denied.GlossaryWhat is cookieless tracking?Cookieless tracking is website measurement that stores nothing in the visitor's browser: no cookies, no local storage. Visits are counted from what each request already carries, usually combined into a short-lived anonymous id on the server.GlossaryWhat is a data controller?A data controller is the organisation that decides why and how personal data is processed. A data processor is a separate organisation that processes the data on the controller's behalf and only on its instructions, such as an analytics or email provider.GlossaryWhat is a data processing agreement (DPA)?A data processing agreement (DPA) is the contract in which a company that processes personal data for you, such as an analytics or email provider, commits to handling it only on your instructions and with proper safeguards. The GDPR requires one whenever a processor handles personal data for a controller.