Almost every website has a cookie banner, but very few get it right. Many load Google Analytics or the Facebook pixel before the visitor makes a choice, others only offer an accept button. In this guide we explain what Portuguese law and the GDPR require about cookies, in plain language.
Sources GDPR, Article 83. Law 41/2004, Article 5. Google, Consent Mode v2.
01 · THE BASICSWhy cookies come with rules
Cookies are small files a website stores in the visitor’s browser. Some are essential, like the ones that keep a shopping cart or a login session alive. Others measure visits, show ads or connect the site to social networks, and those make it possible to follow what each person does.
In Portugal the rule sits in Article 5 of Law 41/2004. Storing or reading information on a user’s device requires prior consent, with clear information about what is being done. Consent follows the GDPR standard, so it must be freely given, informed and expressed through a clear action. The authority in charge is the CNPD.
02 · THE TYPESWhich cookies need consent
Strictly necessary
Session, cart, security and the cookie choice itself. No consent needed.
Analytics
Google Analytics and similar tools. They need consent before loading.
Advertising and remarketing
Meta pixel, Google Ads tags and the like. Always need consent.
Third party content
YouTube videos, maps, Instagram feeds. Many set cookies and follow the same rule.
Chat and support
Depends on the tool. If it collects data for other purposes, it needs consent.
Preferences
Language or theme chosen by the visitor. When they only serve the user’s request, they are usually exempt.
The exemption is narrow. It only covers cookies used solely to transmit a communication and those strictly necessary to provide a service the user asked for. Audience measurement, however useful, is not part of it.
03 · THE BANNERWhat a compliant cookie banner looks like
- It appears before any optional cookieNo analytics or ads loading in the background.
- Accept and reject sit side by sideSame prominence, same number of clicks.
- It allows choices by categoryAnalytics, advertising and external content separately.
- Everything starts switched offOptions cannot be ticked in advance.
- It explains what each cookie doesAnd who sets it, with a link to the cookie policy.
- It lets people change their mindAn icon or link to review the choice at any time.
Carrying on browsing does not count as consent. Blocking the website for people who refuse is also a problem, because consent is no longer freely given.
04 · THE RISKSThe most common mistakes
Analytics loading before the click
The banner shows up, but the analytics cookies are already set.
Only an accept button
With no visible way to refuse, consent is not free.
A copied cookie policy
It mentions tools the site does not use and forgets the ones it does.
Videos and maps left unchecked
Embedded YouTube or Google Maps set cookies without asking anyone.
Beyond the law there is a practical cost. Without a banner ready for Google Consent Mode, Google Ads campaigns lose conversion and remarketing data for European visitors.
A good cookie banner is not only about the law. It shows visitors that the website respects them.
05 · COMPARISONConsent platform or simple banner
Consent management platform
A tool that manages cookies and blocks whatever has not been authorised.
- Blocks scripts until consent is given
- Choices by category
- Records the choices made
- Works with Google Consent Mode
- Cookie list kept current automatically
Right for any website that uses analytics or ads.
Simple banner
A bar with some text and a button.
- Easy to install
- Blocks nothing
- Usually only has accept
- No record of consent
- Incomplete Google Ads data
Only enough for sites with no optional cookies.
06 · CHECKLIST7 quick checks for your website
- Open the site in a private windowAnd see which cookies appear before you click.
- Look for the reject buttonIt must be on the first screen of the banner.
- Reject and browseAnalytics and pixels must not load.
- Review your cookie policyIt must list the tools you use today.
- Test videos and mapsThey should wait for consent.
- Confirm Consent ModeIf you use Google Ads or Analytics.
- Check the link to change the choiceVisible on every page.
07 · FAQCookies and GDPR questions
My website does not sell anything. Do I need a cookie banner?
If it only uses strictly necessary cookies, you do not need to ask for consent. But a single Google Analytics tag, YouTube video or Instagram feed is enough to change that.
Is a privacy policy enough?
No. The policy explains what you do with data, but consent for optional cookies must be asked before you use them.
Can I use Google Analytics without consent?
In a standard setup, no. Analytics cookies measure audiences and are not covered by the strictly necessary exemption.
Who enforces this in Portugal?
The national data protection authority, CNPD, which can receive complaints and issue fines.
How often should I review the banner?
Every time you add a new tool to the site and at least once a year.
The cookie banner is one of the tasks we include in website maintenance. If your website also has to meet accessibility rules, read our guide on mandatory web accessibility.
Shall we talk?
Want your website in line with the GDPR?
We review the cookies, the privacy policy and the consent banner on your website.







