This guide gives an overview; it does not replace legal advice suited to your situation.
The difference in one sentence
- Opt-in (prior consent): the tracker is off by default and only turns on after an active agreement from the visitor.
- Opt-out (right to object): the tracker is on by default and the visitor can ask for it to be switched off.
In practice the difference is huge: with opt-in, a visitor who ignores the banner is not tracked; with opt-out, they are.
In Europe: opt-in
Across the European Union, Article 5(3) of the ePrivacy Directive (Article 82 of the French Data Protection Act in France) requires consent before storing or reading a tracker that is not strictly necessary. Consent has the meaning the GDPR gives it (Article 4(11)): a freely given, specific, informed and unambiguous indication of wishes, through a statement or a clear affirmative action.
Two practical consequences:
- rejecting must be as easy as accepting, and withdrawing as easy as giving consent (GDPR Article 7(3));
- exempt trackers (basket, login, remembering the choice, exempt audience measurement) are set without asking: opt-in only covers the rest.
The UK follows the same logic, with its own exemptions: see UK cookie law.
Silence and pre-ticked boxes are not consent
On 1 October 2019, in the Planet49 case (C-673/17), the Court of Justice of the European Union ruled that a pre-ticked box the user has to untick to refuse is not valid consent to cookies. The GDPR already said so in Recital 32: silence, pre-ticked boxes and inactivity do not constitute consent.
The French regulator (CNIL) drew the consequences in its September 2020 guidelines, in line with other European authorities:
- “carrying on browsing” no longer counts as agreement: without a clear indication, the answer must be treated as a refusal;
- closing or ignoring the banner sets nothing;
- in the preferences panel, every purpose starts unticked.
In the US: mostly opt-out
There is no general federal cookie law in the United States. The rules come from the states, and the best known is California’s CCPA, strengthened by the CPRA. It is built on opt-out: a site may collect by default, but must offer a “Do Not Sell or Share My Personal Information” link to object to the sale of data or its sharing for targeted advertising.
Californian authorities also require businesses to honour the Global Privacy Control (GPC) signal, a browser setting that counts as an opt-out request. There are exceptions: for example, the law requires prior authorisation to sell the data of a consumer known to be under 16.
A European site that also gets American visitors does not have to choose: European opt-in protects at least as much, and it applies to anyone located in the Union.
With Optooki
Optooki works on an opt-in basis: non-exempt trackers stay blocked until the visitor accepts, no box is pre-ticked, and the “Reject all” button sits on the same level as “Accept all”. If the browser sends the Global Privacy Control signal, advertising stays denied by default. Every choice is stored in a timestamped consent log.