Code BLACKGO: cookie banner free for a year. Create an account →

Integrations /

consetgo for Drupal

The Drupal module loads the consent module before the page cache, so blocking also works on pages served from the cache.

Requirements

Drupal 10 or 11.

Installation step by step

  1. Download consetgo-drupal.zip from your consetgo account and unpack it into modules/custom.
  2. In Drupal go to Extend, tick “consetgo – Cookie Consent” and click Install.
  3. Go to Configuration → System → Cookie consent (consetgo) → Open the consent panel.

You download the package from your consetgo account after adding a domain. Create an account →

After installation

  1. Open your-site/consent/panel.php. In the “License key” field, enter the domain’s licence key from your consetgo account and set a password – the licence activates itself.
  2. In the Scanner tab click “Enable scan mode”, then “Open the site in scan mode” and visit a few pages (home page, offer, contact, cart). The file scan is for advanced users.
  3. Check services and categories, then the banner appearance and texts.

Tracking scripts: two ways

  • Scanner – the code of GTM, GA4, a pixel or another service is already on the site (in the theme, in a plugin, pasted by hand). The scanner finds it and the module blocks it until consent – you enter nothing.
  • By hand – the code is not on the site yet. In the “Services and scripts” tab expand the service and enter its ID in the “Code” field (e.g. G-XXXXXXXXXX for GA4), or add your own JavaScript in the “Custom scripts” section of the same tab. The module adds the code to the site itself after consent.

Good to know

Pages under /admin are not rewritten.

Try consetgo on your website

14 days free. Installation takes a few minutes.

Try it free for 14 days