How should a proper cookie banner work?
The banner should offer a real choice, and the website should carry it out: a refusal that is easy to find, separate purposes, scripts blocked after refusal and a permanent link for changing the decision. A short checklist using GA4, Meta Pixel and GTM as examples.

Latest posts
- Google merged the Google tag with Tag Manager – what it changes for cookie consent
- Advertising on Google or measuring traffic? Check whether you need a cookie banner
- How to prepare your website for consetgo – pre-installation checklist
- Cookies in an online shop – a practical checklist
- How to choose a cookie consent management tool – 8 criteria
A visitor opens a website that uses GA4 for statistics and Meta Pixel for advertising. In a typical setup, where these tools store or read information on the visitor's device for analytics and advertising purposes, the website should wait for consent. In the EU, the basis is Article 5(3) of the ePrivacy Directive and the national laws implementing it. For obtaining consent, these rules refer to data protection law, i.e. the GDPR.
1. Show users what they are choosing
On the first screen, briefly describe the purposes, e.g. measuring traffic and ad performance. Next to “Accept all”, show “Reject all” and provide access to the settings. Refusal should be easy to find. In the settings, let users choose purposes separately and leave optional categories switched off by default.

2. Check that the website carries out this choice
In the example described, GA4 and Meta Pixel wait for the decision. After refusal, both remain blocked. If the visitor chooses analytics only, GA4 may start while Meta Pixel keeps waiting. A message saying that the settings have been saved does not by itself confirm that the integrations respect the choice.
Consent Mode v2 and Google Tag Manager
Before the decision, set the default state of Google's optional consent types to denied. After a choice or a change of settings, update the state to match the user's decision. For Meta Pixel in GTM, set a separate firing condition. The pixel should fire only after consent to marketing. Check how it works in GTM preview mode. Google documentation · consetgo guide to GTM
3. Let users return to the settings
Add a permanent “Cookie settings” link, e.g. in the footer. A user who previously consented to analytics should be able to come back, switch it off and save their choice. Withdrawing consent must be as easy as giving it. Also make sure you can demonstrate when, for which purposes and on the basis of what information the user gave consent.

If the website only uses operations covered by an exemption, e.g. storing an identifier needed to run a shopping cart the user has requested, Article 5(3) of the ePrivacy Directive does not require consent for those operations. What counts in the assessment is the function of the specific technology.
Checklist at a glance
- Before a choice and after refusal: open the website in a new private window and check that optional cookies and scripts requiring consent remain blocked.
- After consent to analytics only: check that GA4 runs and Meta Pixel remains blocked. Repeat the test after moving to another subpage.
- After withdrawing consent: go back via the “Cookie settings” link, save the change and check that the website has stopped using the technologies covered by the withdrawn consent.
How to check cookies before consent
Sources
ePrivacy Directive, Art. 5(3) · National implementing laws · GDPR, Art. 4(11) and Art. 7 · EDPB report on cookie banners