PHPackages                             droptica/ga\_disable - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. droptica/ga\_disable

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

droptica/ga\_disable
====================

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

v1.0-rc7(6y ago)14.7k↓88.8%1[1 PRs](https://github.com/droptica/ga_disable/pulls)GPL-2.0+PHP

Since Mar 12Pushed 1y ago16 watchersCompare

[ Source](https://github.com/droptica/ga_disable)[ Packagist](https://packagist.org/packages/droptica/ga_disable)[ RSS](/packages/droptica-ga-disable/feed)WikiDiscussions master Synced yesterday

READMEChangelog (7)DependenciesVersions (10)Used By (0)

Google Analytics Disable
========================

[](#google-analytics-disable)

Developed by

[![](https://camo.githubusercontent.com/c93f96ed9ecac547189df2103ca648b12347c46be4633780eedde6e93358411e/68747470733a2f2f7777772e64726f70746963612e636f6d2f7468656d65732f637573746f6d2f62732f696d616765732f6c6f676f2d64726f70746963612e737667)](https://www.droptica.com/)

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
------------

[](#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.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~52 days

Recently: every ~77 days

Total

7

Last Release

2355d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/675aee3c25d9199cdbff3dd4624b2696ddbef744f668923927caf647bbee55ac?d=identicon)[droptica](/maintainers/droptica)

---

Top Contributors

[![grzegorz-pietrzak-droptica](https://avatars.githubusercontent.com/u/29853946?v=4)](https://github.com/grzegorz-pietrzak-droptica "grzegorz-pietrzak-droptica (11 commits)")[![przemyslaw-tyszer-droptica](https://avatars.githubusercontent.com/u/49149170?v=4)](https://github.com/przemyslaw-tyszer-droptica "przemyslaw-tyszer-droptica (4 commits)")[![dinerrr](https://avatars.githubusercontent.com/u/8255035?v=4)](https://github.com/dinerrr "dinerrr (1 commits)")[![jaro2801](https://avatars.githubusercontent.com/u/6131149?v=4)](https://github.com/jaro2801 "jaro2801 (1 commits)")

---

Tags

drupalgoogle-analytics

### Embed Badge

![Health badge](/badges/droptica-ga-disable/health.svg)

```
[![Health](https://phpackages.com/badges/droptica-ga-disable/health.svg)](https://phpackages.com/packages/droptica-ga-disable)
```

###  Alternatives

[lullabot/amp

A set of useful classes and utilities to convert html to AMP html (See https://www.ampproject.org/)

3793.0M11](/packages/lullabot-amp)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M564](/packages/drupal-core-composer-scaffold)[mnsami/composer-custom-directory-installer

A composer plugin, to help install packages of different types in custom paths.

1465.4M62](/packages/mnsami-composer-custom-directory-installer)[magepal/magento2-googletagmanager

Google Tag Manager (GTM) for Magento 2 with Advance Data Layer

2691.6M5](/packages/magepal-magento2-googletagmanager)[drupal/core-project-message

Adds a message after Composer installation.

2124.7M203](/packages/drupal-core-project-message)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

211189.7k8](/packages/bezhansalleh-filament-google-analytics)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
