PHPackages                             localgovdrupal/localgov\_eu\_cookie\_compliance - 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. localgovdrupal/localgov\_eu\_cookie\_compliance

ActiveDrupal-module

localgovdrupal/localgov\_eu\_cookie\_compliance
===============================================

Extends the functionality of the eu\_cookie\_compliance contrib module.

1.0.1(2y ago)124.1k↓50%1[12 issues](https://github.com/localgovdrupal/localgov_eu_cookie_compliance/issues)[1 PRs](https://github.com/localgovdrupal/localgov_eu_cookie_compliance/pulls)GPL-2.0-or-laterJavaScript

Since Mar 1Pushed 2y ago7 watchersCompare

[ Source](https://github.com/localgovdrupal/localgov_eu_cookie_compliance)[ Packagist](https://packagist.org/packages/localgovdrupal/localgov_eu_cookie_compliance)[ Docs](https://github.com/localgovdrupal/localgov_eu_cookie_compliance)[ RSS](/packages/localgovdrupal-localgov-eu-cookie-compliance/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (8)Used By (0)

Cookie settings block
=====================

[](#cookie-settings-block)

What is it?
-----------

[](#what-is-it)

- Extends the functionality of the [EU Cookie compliance contrib module](https://www.drupal.org/project/eu_cookie_compliance).
- Provides a block containing the same content as the EU Cookie popup. When this block is added to a page, we get a dedicated Cookie settings page. At the time of writing in early 2023, many sites including the [BBC](https://www.bbc.co.uk/usingthebbc/cookies/how-can-i-change-my-bbc-cookie-settings/) use such a dedicated Cookie settings page. This is the primary feature of this module.
- Only relevant when you want users to have greater control over site cookies by enabling them to accept or reject certain types of cookies e.g. accept Functional cookies, reject Analytics cookies and so on.
- The EU Cookie compliance module actually doesn't stop any cookie being set prior to consent. What it does is, it removes unwanted cookies immediately after they are set. The custom module improves up on this for Google analytics and Hotjar in a way that these modules would not even set any cookie in the browser prior to consent. This is a secondary feature of this module.

How to configure
----------------

[](#how-to-configure)

- Create a content page (e.g. /foo) explaining your site Cookies.
- Turn on this module.
- Add the "EU Cookie settings block" provided by this module to the **Content** region. This happens automatically when the *localgov\_scarfolk* theme is in use, as is the case in the default LocalGov Drupal distribution.
- Restrict the above block to the cookie explanation page (i.e. /foo) mentioned earlier.
- Configure the EU Cookie compliance module:
    - Select **Opt-in with categories** as the consent method.
    - Add all your cookie categories to the **Cookie categories with separate consent** textbox.
    - Enter the cookie settings page path (e.g. /foo) to the **Cookie settings page path** textfield. The default path is */cookies*. Without this path, this module would not provide the category-wise Cookie settings form.
    - Consider updating the following textfields:
        - "Save preferences" button label
        - "Accept all categories" button label
        - Cookie policy button label

What to expect
--------------

[](#what-to-expect)

- When you hit a random page of the site, you should see a EU cookie popup asking you to either accept all the cookies or check the cookie policy.
- If you click the cookie policy link, you should land in the Cookie settings page.
- The Cookie settings page should provide a Cookie settings form for accepting or rejecting cookie categories.

Todo
----

[](#todo)

The secondary feature mentioned [above](#secondary-feature) works for the [Google analytics](https://www.drupal.org/project/google_analytics) and [Hotjar](https://www.drupal.org/project/hotjar) modules only. This needs to be more generic.

See also
--------

[](#see-also)

- [Privacy score measurement](https://rethinkingprivacy.com/).

Maintainers
-----------

[](#maintainers)

This project is maintained by:

- Adnan Muhammad
- Finn Leiws

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~15 days

Total

3

Last Release

767d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c215b54edbf914998f6f63747814fd96f117c2c6e1bb5ea0c0a0db24fd9b3901?d=identicon)[finnlewis](/maintainers/finnlewis)

![](https://www.gravatar.com/avatar/be000424009f296e0d88bf9cda3b6701aae827ea4a2773c0a5dbbd78b8429afb?d=identicon)[andybroomfieldBHCC](/maintainers/andybroomfieldBHCC)

![](https://www.gravatar.com/avatar/b34de4d6c68a26fa8eb3fd78cf8040597decc2fdcd4776f8fd704686adcb5a99?d=identicon)[Adnan-cds](/maintainers/Adnan-cds)

---

Top Contributors

[![MatthewWilkes](https://avatars.githubusercontent.com/u/98908?v=4)](https://github.com/MatthewWilkes "MatthewWilkes (5 commits)")[![finnlewis](https://avatars.githubusercontent.com/u/326588?v=4)](https://github.com/finnlewis "finnlewis (4 commits)")[![Adnan-cds](https://avatars.githubusercontent.com/u/50206849?v=4)](https://github.com/Adnan-cds "Adnan-cds (2 commits)")[![Polynya](https://avatars.githubusercontent.com/u/56226?v=4)](https://github.com/Polynya "Polynya (1 commits)")[![ekes](https://avatars.githubusercontent.com/u/237186?v=4)](https://github.com/ekes "ekes (1 commits)")[![andybroomfield](https://avatars.githubusercontent.com/u/1467480?v=4)](https://github.com/andybroomfield "andybroomfield (1 commits)")[![AnthonySGeorge](https://avatars.githubusercontent.com/u/22151094?v=4)](https://github.com/AnthonySGeorge "AnthonySGeorge (1 commits)")

---

Tags

cookiedrupaleu-cookie-compliance

### Embed Badge

![Health badge](/badges/localgovdrupal-localgov-eu-cookie-compliance/health.svg)

```
[![Health](https://phpackages.com/badges/localgovdrupal-localgov-eu-cookie-compliance/health.svg)](https://phpackages.com/packages/localgovdrupal-localgov-eu-cookie-compliance)
```

###  Alternatives

[linnovate/openideal

OpenideaL - open source ideas and innovation management system

1262.8k2](/packages/linnovate-openideal)[voidagency/vactory_starter_kit

Vactory is a custom Drupal profile which is developed and released by VOID Agency.

1019.7k](/packages/voidagency-vactory-starter-kit)[drutopia/drutopia

Drutopia's base distribution provides an enhanced starting place for building sites for grassroots organizations and other purposes.

441.6k4](/packages/drutopia-drutopia)

PHPackages © 2026

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