droptica / ga_disable
A Drupal 8 module that provides an opt-out from Google Analytics.
v1.0-rc7
2020-01-21 08:13 UTC
This package is auto-updated.
Last update: 2026-03-10 13:50:42 UTC
README
Developed by
This Drupal 8 module allows you to opt-out of Google Analytics under the following conditions:
- The
analytics_disablecookie is set. Go to/ga_disable/set_cookieto set the cookie for the session. Go to/ga_disable/remove_cookieto remove it.
Installation
- In your console run
composer require droptica/ga_disable. - Enable the
GA Disablemodule onadmin/modulespage. - Go to
Configuration > Development > GA Disablein Drupal top menu and enter Google Analytics ID that has to be blocked. - Save the changes and clear all caches.