Cookie banners and Quebec's Law 25: what yours has to do
A compliant banner blocks tracking tools until the visitor says yes, makes refusing as easy as accepting, and lets people change their mind. Here's how to check yours in five minutes.
On this page
Most Quebec websites now show a cookie banner. Many still don't do what Law 25 asks: tracking tools load before anyone chooses, the "Refuse" button is hidden, or the banner says that by continuing to browse, you agree. Here's what a banner has to do, the traps to avoid, and how to check yours.
Why your site needs a banner
Since Law 25, collecting personal information requires consent that is clear, free and informed, given for specific purposes. Cookies and measurement tools such as Google Analytics or the Meta pixel collect that kind of information.
The law goes further for technologies that can identify, locate or profile a person: they must be off by default. The visitor turns them on, not the other way around.
The Law 25 guide covers everything a website has to do. This article focuses on the banner.
Cookies that don't need consent
Some cookies are needed for the site to work: remembering the chosen language, keeping a shopping cart, protecting a form, or remembering the choice made in the banner itself. They don't require a choice from the visitor.
You still have to explain them, in plain terms, in your privacy policy.
What a compliant banner does
- Blocks before the choice. No analytics or advertising tool loads until the visitor accepts.
- Puts accept and refuse side by side. Two buttons of the same size and visual weight. The Commission recommends that refusing be as easy as accepting.
- Pre-ticks nothing. Optional categories start switched off.
- Explains in plain words. A few sentences on what the cookies do, with a link to the privacy policy.
- Lets people choose by category. For example, accepting audience measurement without accepting advertising.
- Lets people change their mind. A "Manage cookies" link in the footer reopens the banner at any time.
- Remembers the choice. Visitors shouldn't have to answer again on every page.
Common traps
The Commission d'accès à l'information calls designs that push people toward a choice "deceptive interfaces" (interfaces truquées). For banners, the most common are:
- False hierarchy. A big coloured "Accept all" button, with refusal buried in a submenu.
- "By continuing, you agree." According to the Commission, browsing the site shouldn't be read as acceptance.
- Pre-ticked boxes. The most intrusive options are already selected; all that's left is to confirm.
- Loading too early. The banner shows, but Google Analytics has already fired in the background.
Check your banner in five minutes
You don't need to be a developer. You need a computer and Chrome or Firefox.
- Open your site in a private window.
- Press F12 to open the developer tools, then go to the Network tab.
- Reload the page without touching the banner.
- In the filter box, type "google-analytics", "googletagmanager", "facebook" or your tool's name. If anything shows up, the tool loads before consent.
- Click "Refuse", reload and search again. There should still be nothing.
- Look for the link to change your choice in the footer.
What I did on this site
On chevriersolutions.com, the banner offers "Accept all" and "Necessary only", side by side and the same size, plus a link to customize by category. A single essential cookie remembers your language. Nothing else loads before you agree, and the "Manage cookies" link in the footer reopens the banner at any time.
A banner isn't enough
The banner is only part of compliance. Your site also has to publish a clear privacy policy, the title and contact details of the person in charge of protecting personal information, and ask only for what's necessary in its forms. The checklist in the Law 25 guide covers it all.
Official sources
- Commission d'accès à l'information: deceptive interfaces (French)
- Commission d'accès à l'information: guidelines on valid consent (French)
- Commission d'accès à l'information: consent, private businesses (French)
Want to know whether your site passes?