Skip to content
Québec Studio

Craft CMS extension

Cookie Consent Kit

Cookie consent, done right: no third-party cookie before the visitor agrees, and pages that stay cached. Built for Quebec’s Law 25.

Craft CMS 5
v5.0.8
Craft CMS 6
v6.0.10
Editions
Lite (free), Pro
Also for
Statamic, Laravel

Multisite — Craft CMS 6

On a single-site install, the site links and Copy from are not shown.

Scope

SettingScope
policySource, policyEntry, policyUrlper site
category label, description; cookie purpose, durationper site
banner wordingper language — see Wording
category and cookie handlesinstall-wide
every other settinginstall-wide

Two sites in the same language with different banner wording override the banner template in their own folder — see Overriding templates.

Control panel

  • The Privacy policy and Cookie inventory panes edit one site, chosen from the site links at the top. The chosen site stays selected across panes.
  • Saving writes that site's values; other sites keep theirs.
  • Copy from, on the Cookie inventory pane, fills the form with the wording another site displays — resolved, so a field that site leaves blank arrives filled from its own fallback. It asks for confirmation, and nothing is saved until the form is saved.
  • The categories and cookies themselves are shared: adding or removing one applies to every site.

Language

A site uses the wording file of its locale (fr-CA), then of its base language (fr), then defaultLanguage.

Host-only, path=/:

  • sites on one hostname share one decision;
  • sites on separate hostnames each ask once.

Limitation

The inventory lists the same cookies for every site. Where sites load different third parties, declare all of them.

A Craft CMS extension that doesn’t exist yet?

If Craft CMS doesn’t do what you need yet, we can build it for you.

Let’s talk

We use cookies

This site uses cookies that are required for it to work. With your consent, we also use cookies to measure traffic. You can change your mind at any time. Privacy policy

Your cookie preferences

Always on

Required for the site to work and for form security. These cannot be turned off.

Necessary
Cookie Set by Purpose Retention
CraftSessionId This site Keeps your browsing session. Session
CRAFT_CSRF_TOKEN This site Protects forms against cross-site request forgery. Session
cookie_consent This site Remembers your cookie choices. 6 months

Help us understand how the site is used so we can improve it. Measured with Matomo.

Statistics
Cookie Set by Purpose Retention
_pk_id.* This site Recognizes the browser from one visit to the next, without identifying you. 13 months
_pk_ses.* This site Groups the pages viewed during a single visit. 30 minutes