droptica / ga_disable
A Drupal 8 module that provides an opt-out from Google Analytics.
Installs: 3 381
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 16
Forks: 1
Open Issues: 1
Type:drupal-module
This package is auto-updated.
Last update: 2025-03-10 11:41:06 UTC
README
Developed by
This Drupal 8 module allows you to opt-out of Google Analytics under the following conditions:
- The
analytics_disable
cookie is set. Go to/ga_disable/set_cookie
to set the cookie for the session. Go to/ga_disable/remove_cookie
to remove it.
Installation
- In your console run
composer require droptica/ga_disable
. - Enable the
GA Disable
module onadmin/modules
page. - Go to
Configuration > Development > GA Disable
in Drupal top menu and enter Google Analytics ID that has to be blocked. - Save the changes and clear all caches.