# Cookie consent: when do you need to ask first?

> Cookie consent in Quebec: cookie types, section 8.1 of the private-sector privacy law, profiling off by default, and a cookie inventory for a service business.

Updated on October 15, 2026 · https://app.pilotiko.com/en/glossary/cookie-consent

A cookie is a small piece of data a website stores in the browser to remember a session, a preference or a behaviour. In Quebec, cookies that let a business identify, locate or profile someone must be disclosed beforehand and stay switched off until the person turns them on. Strictly functional cookies are simply explained in the privacy policy.

## In short
- Session cookies end with the browser session; persistent cookies last until a set date.
- Section 8.1: inform people before using technology that can identify, locate or profile them.
- Section 9.1's privacy-by-default rule expressly excludes browser cookie settings.
- Federal guidance says tracking people who cannot decline is not acceptable.

## What is a cookie, technically?

MDN describes a cookie as a small piece of data a server sends to the user's browser. The server sets it with a Set-Cookie header, the browser stores it and sends it back on later requests to the same server, which lets an otherwise stateless protocol remember a login or a cart [1]. The Secure attribute keeps a cookie on HTTPS only, HttpOnly hides it from JavaScript, and SameSite controls whether it travels on requests coming from other sites [1].

The Office of the Privacy Commissioner of Canada adds the history: cookies were invented in 1994 so information could be saved between visits, and third parties such as ad companies soon started setting their own, which lets them link visits across sites and build profiles [3].

| Family | Typical lifespan | Example use | Identifies or profiles? |
|---|---|---|---|
| Session (strictly necessary) | Session | Keep a customer logged in to a portal | Usually not |
| Preference | Persistent | Remember the chosen language | Usually not |
| Audience measurement | Persistent | Count visits and page views | Depends on the tool |
| Advertising or tracking | Persistent | Follow someone across sites to target ads | Usually yes |

Rough guide only: what a cookie actually does, not what it's called, decides the obligations.

## What does Quebec law say about cookies?

Quebec's Act respecting the protection of personal information in the private sector never mentions banners. Section 8.1 targets any technology with functions that can identify, locate or profile the person: the business must first tell them it uses that technology and how they can activate those functions. Profiling means collecting and using personal information to assess someone's characteristics, such as preferences, interests or behaviour [2].

One detail surprises people. Section 9.1 requires technology products to ship with the highest privacy settings by default, but it expressly excludes privacy settings for browser cookies [2]. For profiling cookies, the obligation flows through section 8.1 instead: tell people first, and let them switch the function on.

Federal guidance points the same way. The OPC's online behavioural advertising guidelines say people must be told about tracking at or before collection, must be able to opt out easily, and that technology people cannot decline, such as zombie cookies or device fingerprinting, should not be used for that purpose [4].

## What does a small business's cookie inventory look like?

**Example: the website of a fictional plumbing company in Gatineau**

Before redoing its banner, the company opens the browser's developer tools, lists every cookie set on its home page, and records who sets it and why. Hypothetical figures.

- Cookies found : 9
- Strictly necessary (form session, security) : 3, active on arrival
- Language preference : 1, active on arrival
- Audience measurement : 2, off until the visitor chooses
- Advertising (social network pixel) : 3, off until the visitor chooses
- **= 5 of 9 cookies stay blocked until the visitor turns them on; the other 4 keep the site working and are explained in the privacy policy.**

## How do you design an honest cookie banner?

- Give “Accept” and “Decline” equal weight and equal size.
- Explain each category in one plain sentence.
- Load no profiling cookie before the visitor clicks to enable it.
- Keep a permanent footer link so people can change their mind.
- Log each choice with its date so you can show it later.

## Which cookie mistakes should you avoid?

- Showing a banner but firing the ad pixel before the visitor answers.
- Pre-ticking the boxes for tracking cookies.
- Copying another site's cookie list instead of auditing your own.
- Forgetting cookies set by embedded tools such as maps, videos or a [booking widget](https://app.pilotiko.com/en/product/booking-and-scheduling).
- Assuming cookies never hold [personal information](https://app.pilotiko.com/en/glossary/personal-information); a unique ID tied to an account does.

## How does this relate to Pilotiko?

Pilotiko builds and hosts your [business website](https://app.pilotiko.com/en/product/website). A cookie-banner manager isn't among the capabilities we describe today, and we don't claim to provide one. If you add measurement or advertising tools, run the inventory above and read our [Law 25](https://app.pilotiko.com/en/glossary/quebec-law-25) page as well. Pilotiko's Google Analytics connection is coming soon, not available yet.

## Frequently asked questions

### Does every Quebec website need a cookie banner?

The law doesn't require a banner as such. It requires you to inform people beforehand when a technology can identify, locate or profile them, and to let them activate those functions. A banner is simply the most common way to do it.

### Do strictly necessary cookies need consent?

A cookie that only keeps the site working, like a form session, generally doesn't profile anyone. It should still be covered in your privacy policy so visitors know cookies are used.

### What's the difference between session and persistent cookies?

A session cookie disappears when the browser session ends. A persistent cookie stays until the date set by its Expires or Max-Age attribute.

### What is a third-party cookie?

One set by a domain other than the site you're visiting, often an ad or analytics company. Because the same third party appears on many sites, it can link your visits together.

### Is an analytics cookie a profiling cookie?

It depends on the tool and its settings. If it's used to assess the interests or behaviour of an identifiable person, it falls within the section 8.1 definition of profiling; when in doubt, treat it that way.

## Sources

1. MDN Web Docs (Mozilla), « Using HTTP cookies », https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Cookies (accessed on 2026-10-15)
2. LégisQuébec, « Act respecting the protection of personal information in the private sector (CQLR, c. P-39.1) », https://www.legisquebec.gouv.qc.ca/en/document/cs/P-39.1 (accessed on 2026-10-15)
3. Office of the Privacy Commissioner of Canada, « Web tracking with cookies », https://www.priv.gc.ca/en/privacy-topics/technology/online-privacy-tracking-cookies/cookies/02_05_d_49/ (accessed on 2026-10-15)
4. Office of the Privacy Commissioner of Canada, « Guidelines on privacy and online behavioural advertising », https://www.priv.gc.ca/en/privacy-topics/technology/online-privacy-tracking-cookies/tracking-and-ads/gl_ba_1112/ (accessed on 2026-10-15)
