🍪Consentio

Cookie banner for Drupal

Comply with GDPR and Google Consent Mode v2 on your Drupal site with a banner that really blocks scripts before consent and won't slow your site down.

What almost nobody tells you: Drupal cookie modules usually warn but don't block; you need blocking before consent to truly comply.

How to install it on Drupal

  1. 1. Create your free banner in the configurator and copy the snippet.
  2. 2. Insert the snippet in your theme's head region (html.html.twig) or with a code-injection module, with high priority so it loads before Analytics.
  3. 3. Done! The banner appears and Consent Mode v2 is active automatically.

Using Google Tag Manager?

Import our official template and fire it with the "Consent Initialization" trigger.

Download GTM template

Why Consentio and not just any free plugin

Frequently asked questions

Is a cookie banner mandatory on Drupal?

Yes. If your Drupal site uses non-essential cookies (analytics, marketing) and gets EU visitors, GDPR requires prior consent. Also, since 2024 Google Consent Mode v2 is required to use Analytics or Ads in the EEA.

Does the Drupal banner slow the site down?

Heavy banners do hurt your Core Web Vitals. Consentio weighs under 8 KB and uses no external dependencies, so it doesn't affect your speed or your SEO.

Does Consentio block scripts before consent on Drupal?

Yes. By marking your third-party scripts with type="text/plain" data-consentio="category", Consentio prevents them from running until the user accepts, which is what GDPR actually requires.

Get your Drupal site compliant in 5 minutes

Create your free banner, no card needed.