droptica/ga_disable

A Drupal 8 module that provides an opt-out from Google Analytics.

Installs: 2 739

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 18

Forks: 1

Open Issues: 0

Type:drupal-module

v1.0-rc7 2020-01-21 08:13 UTC

This package is auto-updated.

Last update: 2024-04-20 15:28:04 UTC


README

Developed by

68747470733a2f2f7777772e64726f70746963612e636f6d2f7468656d65732f637573746f6d2f62732f696d616765732f6c6f676f2d64726f70746963612e737667

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 on admin/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.